Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multall Fortran 77 help 1

Status
Not open for further replies.

turbo_arte

Technical User
Feb 5, 2022
6
DE
thread214-1785016
The above thread helped me run the MEANGEN, STAGEN, MULTALL programs (with Fortran 77). However, the output files (flow_out and grid_out) that come from running the last program, Multall, are somehow not in the right format. Therefore, I cannot use the last PLOTTING program that requires the two files as input.

The author provides example files for each MEANGEN, STAGEN and MULTALL, but not for the PLOTTING part.

I am wondering if any of the past/current users, would be willing to run a simple case on Multall (like a sample case such simple compressor contained in the "multall-test-cases" folder) and post the output files to test the last PLOTTING program and help me understand how to debug this problem.

Thanks,
This is the program I am referencing:
It can be freely downloaded from a dropbox.
Any help would be really tremendous! only takes a few minutes

EDIT: just to make it easier these are the steps (Linux)
1. download multall from dropbox link (see above)
2. sudo apt-get install gfortran
3. in the "multall program" folder (located in the MULTALL folder), create a text file called "intype", it must have the single letter N (can also contain O)
4. gfortran -mcmodel=medium multall-open-17.5.f -o multall (a different version can also be picked, this must be run from the multall program folder)
5. ./multall < 3stg-compr+samods-17.5.dat (this file is located in the multall-test-cases folder and should be moved to the the multall program folder before running, there are other test cases, I was hoping to run a compressor one)
That's it! There should be a few output files, but the ones I'm looking for are the two unformatted output files "flow_out" and "grid_out
 
How long does it take the program to run with 3stg-compr+samods-17.5.dat ?
 
It depends on the virtual machine, but there are smaller cases for instance:
gfortran -mcmodel=medium multall-open-17.1.f -o multall
./multall < simple-axial-compr-17.1.dat
OR
gfortran -mcmodel=medium multall-open-19.2.f -o multall
./multall < Single-stage-turbine-19.2.dat
 
I don't have virtual machine, I'm natively on Linux. But it's my home machine - only i3 processor and 12 GB memory - definitely not a number cruncher.
The data file you first suggested i.e. 3stg-compr+samods-17.5.dat has 230 kB size. The computation took me about 3 hours without reaching the end. Now I'm running the smaller Single-stage-turbine-19.2.dat with size of 31 kB.
But the smallest is axial-cascade-q3d.17.1.dat with only 7kB size, which I tried on the old forum Wouldn't this be enough for you? However I'm not sure if this applies for it: the smaller the input file, the faster the result is calculated.
 
Now I got the results from:
Code:
$ gfortran -mcmodel=medium multall-open-19.2.f -o multall
$ ./multall < Single-stage-turbine-19.2.dat > Single-stage-turbine-19.2.dat.output
It took me about 30 minutes.

The results are attached
 
 https://files.engineering.com/getfile.aspx?folder=727cba75-68cc-4686-ba09-61d0658bc54b&file=Single-stage-turbine-19.2.dat.output
This is exactly what I am looking for ! Thank you very much! This will help me for my post-processing script until I am able to access a proper Linux machine.
I am currently getting a segmentation error when running Multall on my Linux machine similar to the first post in the old thread, but I have not been able to solve it. According to the thread this can be solved by implementing fixes that have "nothing to do with the program"...
Thank you again for your help.
 
You are right: how to plot the data isn't described well. Here is the folders with
Linux Plotting Programs:
Windows Plotting Programs:
Both folders contain short description in PDF:
I downloaded the executable programs (extension *.x) for Linux but none of them worked. Maybe they would work with other Linux distribution, and I should download the sources and try to compile them.
 
I got the plotting program to work on Windows using the flow_out and grid_out files you sent for the simple turbine case (19.2) by putting both files in the Windows Plotting Programms folder. However, I ran this on Windows, and not Linux! It says on the documentation that the Windows plotting program should run on Linux. The other option could be to compile convert-to-tecplot.f (located in the main folder) with grid_out and flow_out as inputs. But then the problem is that Tecplot is needed.

If ever by any chance you get it to run with the small compressor case let me know!
gfortran -mcmodel=medium multall-open-17.1.f -o multall
./multall < simple-axial-compr-17.1.dat
 
combustion_girl said:
If ever by any chance you get it to run with the small compressor case let me know!
I have done it
Code:
$ gfortran -mcmodel=medium multall-open-17.1.f -o multall
$ ./multall < simple-axial-compr-17.1.dat > simple-axial-compr-17.1.dat.output
all result files are attached
 
 https://files.engineering.com/getfile.aspx?folder=7bf26843-5ca0-490c-a922-26703d3dd065&file=simple-axial-compr.zip
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top