CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   How to get flow solution in parallel case (https://www.cfd-online.com/Forums/su2/197054-how-get-flow-solution-parallel-case.html)

deathaldaling December 26, 2017 00:50

How to get flow solution in parallel case
 
Hi,
I'm a new user in SU2.
I have run rae2822 case in parallel, "mpirun -np 8 SU2_CFD turb_SA_RAE2822.cfg", but cannot get the flow solution data when finished.
The log where output's:
"
-------------------------- File Output Summary --------------------------
Writing comma-separated values (CSV) surface files.
Merging coordinates in the Master node.
Merging solution in the Master node.
Writing SU2 native restart file.
Writing the forces breakdown file.
-------------------------------------------------------------------------
"

How can I get the flow solution data,for example "flow.dat", Thanks all

mhd_mrt December 26, 2017 13:08

Dear Lee Neil,


"Note that when the code is compiled and running in parallel, only restart files will be generated during runtime to avoid overheads. The restart files can then be used as input to generate the visualization files using SU2_SOL. This will be done automatically if the parallel_computation.py script is used, but it can also be done manually at any time by calling SU2_SOL. In fact, this offers additional flexibility, as solution files in multiple formats can always be generated/regenerated as long as the original mesh and a restart file are available. SU2_SOL can be called from the command line like any of the other modules, in serial or parallel."

In your case for example, after the SU2_CFD is finished generating the restart_flow_xxx.dat files, you may enter this in your command line to generate the solution files depending on which format (TECPLOT< TECPLOT_BINARY< or PARAVIEW) you want:

mpirun -np 2 SU2_SOL turb_SA_RAE2822.cfg



Please see this page for a more detail information:
https://github.com/su2code/SU2/wiki/Post-processing

Happy Holidays,
Mehdi


Quote:

Originally Posted by deathaldaling (Post 676122)
Hi,
I'm a new user in SU2.
I have run rae2822 case in parallel, "mpirun -np 8 SU2_CFD turb_SA_RAE2822.cfg", but cannot get the flow solution data when finished.
The log where output's:
"
-------------------------- File Output Summary --------------------------
Writing comma-separated values (CSV) surface files.
Merging coordinates in the Master node.
Merging solution in the Master node.
Writing SU2 native restart file.
Writing the forces breakdown file.
-------------------------------------------------------------------------
"

How can I get the flow solution data,for example "flow.dat", Thanks all


lpustin January 10, 2018 07:25

Dear Lee Neil,
You can also use the python 'parallel_computation.py' provided with su2.

" python parallel_computation.py -f config.cfg -n Nprocessor "


All times are GMT -4. The time now is 01:30.