|
[Sponsors] |
Unable to get flow output files in parallel run |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 26, 2017, 00:33 |
Unable to get flow output files in parallel run
|
#1 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19 |
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? |
|
April 26, 2017, 07:56 |
|
#2 |
Member
Ole Burghardt
Join Date: Mar 2016
Location: Kiel, Germany
Posts: 60
Rep Power: 10 |
You have to run SU2_SOL to get the Paraview files, in a parallel run they cannot be created during runtime.
Kind regards, Ole |
|
April 27, 2017, 23:28 |
|
#3 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19 |
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! |
|
April 28, 2017, 17:37 |
|
#4 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
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.
|
|
May 11, 2017, 23:51 |
|
#5 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19 |
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. |
|
|
|
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 |