CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Unable to get flow output files in parallel run

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2017, 00:33
Default Unable to get flow output files in parallel run
  #1
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19
quarkz is on a distinguished road
Hi,

When I run SU2 in parallel, I am not able to get the flow_xxx.vtk files. I was able to obtain restart_flow_ and surface_flow_ files. However, in single cpu run, I was able to get flow_xxx.vtk files.

I tried:

mpirun -n 4 SU2_CFD cylinder2d.cfg

and

parallel_computation.py -n 4 -f cylinder2d.cfg

but both didn't work.

Other than that, the run was successful. Anyone has some ideas?
quarkz is offline   Reply With Quote

Old   April 26, 2017, 07:56
Default
  #2
Member
 
Ole Burghardt
Join Date: Mar 2016
Location: Kiel, Germany
Posts: 60
Rep Power: 10
Sprotte is on a distinguished road
You have to run SU2_SOL to get the Paraview files, in a parallel run they cannot be created during runtime.

Kind regards, Ole
Sprotte is offline   Reply With Quote

Old   April 27, 2017, 23:28
Default
  #3
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19
quarkz is on a distinguished road
I realised that if I complete my parallel computation, at the end, it will write the flow files:
Writing Paraview ASCII file (surface grid).
Reading and storing the solution from restart_flow_00019.dat.
Writing the volume solution for time step 19.
Merging connectivities in the Master node.
Merging volumetric quadrilateral grid connectivity.
Merging surface line grid connectivity.
Merging solution in the Master node.
Writing Paraview ASCII file (volume grid).
Writing Paraview ASCII file (surface grid).

But if I stopped half way, then it doesn't. I tried to use SU2_SOL but I got the error:

------------------------- Solution Postprocessing -----------------------
SU2 flow file solution_flow_00000.dat not found
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=1
:
system msg for write_line failure : Bad file descriptor

So how can I get the flow output if I have to abort the run half-way?

Thanks!
quarkz is offline   Reply With Quote

Old   April 28, 2017, 17:37
Default
  #4
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11
talbring is on a distinguished road
Either change the SOLUTION_FLOW_FILENAME to be the same as RESTART_FLOW_FILENAME or rename the restart_flow_*.dat files to solution_flow_*.dat before running SU2_SOL.
talbring is offline   Reply With Quote

Old   May 11, 2017, 23:51
Default
  #5
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19
quarkz is on a distinguished road
Ok got it working. Thanks talbring.

I also realised that if I'm using:

parallel_computation.py -n 4 -f cylinder2d.cfg

It will work too but the run must reached its end time, since the writing of the flow files is only after that.

If the job ended abruptly, I'll have to use SU2_SOL as described.
quarkz is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 07:40
Unable to run lid-driven cavity flow with 1M elements dougalb OpenFOAM Running, Solving & CFD 2 April 7, 2019 00:34
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
Unable to run parallel cases with OF 2.3.x in openSUSE 12.3 zfaraday OpenFOAM Running, Solving & CFD 3 February 2, 2015 21:42
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 22:31


All times are GMT -4. The time now is 11:50.