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

SU2 v 7.0.2 not writing solution files

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2020, 07:21
Default SU2 v 7.0.2 not writing solution files
  #1
New Member
 
Join Date: Feb 2018
Posts: 19
Rep Power: 4
CarlosLozano is on a distinguished road
Hi,
I've just switched to v7 (.0.2) and I am having trouble with the solution files. I am running the naca0012 laminar test case (with the .cfg file in
TestCases\cont_adj_navierstokes\naca0012_sub) in 1 processor with the mpi binary executable for windows and the code only writes the restart (.csv) and history (.dat) files, but not the solution files (flow and surface_flow). I execute SU2_SOL and it does nothing.
Any advice?
CarlosLozano is offline   Reply With Quote

Old   March 5, 2020, 08:39
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 104
Rep Power: 4
pcg is on a distinguished road
The behaviour of the "OUTPUT_FILES" option is documented here: https://su2code.github.io/docs_v7/Custom-Output/
pcg is offline   Reply With Quote

Old   March 5, 2020, 09:16
Default
  #3
New Member
 
Join Date: Feb 2018
Posts: 19
Rep Power: 4
CarlosLozano is on a distinguished road
Quote:
Originally Posted by pcg View Post
The behaviour of the "OUTPUT_FILES" option is documented here: https://su2code.github.io/docs_v7/Custom-Output/
Thanks! It seems this has changed considerably from previous versions.
CarlosLozano is offline   Reply With Quote

Old   March 5, 2020, 09:26
Default
  #4
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 104
Rep Power: 4
pcg is on a distinguished road
Yup, whenever the major version number increases, you can expect significant changes and loss of backwards compatibility.
pcg is offline   Reply With Quote

Old   March 6, 2020, 10:41
Default
  #5
New Member
 
cfdjetman
Join Date: Mar 2019
Posts: 24
Rep Power: 3
cfdjetman is on a distinguished road
Has anyone had problems writing the surface and flow files when they use more than 16 processors using SU2 v7.0.0?


When I use more than 16 processors, the surface and flow files write incomplete data. I had the same issue when I use the shape_optimization.py script. In this case the deformed mesh file is incomplete and therefore my optimization stops.
cfdjetman is offline   Reply With Quote

Old   March 11, 2020, 04:06
Default
  #6
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 104
Rep Power: 4
pcg is on a distinguished road
That issue kind of rings a bell. Try 7.0.2 we have monthly releases now so that we can distribute small fixes as early as possible.
pcg is offline   Reply With Quote

Old   March 14, 2020, 03:24
Default
  #7
New Member
 
cfdjetman
Join Date: Mar 2019
Posts: 24
Rep Power: 3
cfdjetman is on a distinguished road
Unfortunately, I have the same problem after installing 7.0.2.
cfdjetman is offline   Reply With Quote

Old   March 14, 2020, 05:56
Default
  #8
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 104
Rep Power: 4
pcg is on a distinguished road
Can you give a concrete example? I never had that problem before and I just tried to run the quick start case on 64 cores and the files seem ok.
pcg is offline   Reply With Quote

Old   March 15, 2020, 15:18
Default
  #9
New Member
 
cfdjetman
Join Date: Mar 2019
Posts: 24
Rep Power: 3
cfdjetman is on a distinguished road
I use a cluster to run my simulations. Each node on the cluster has 16 processors. When I use more than 1 node, thatís when the problem begins.

So when I run an airfoil cfd case using more than 1 node, the surface file only writes out values from 0 to 0.3 of the chord length, not all the way till chord length of 1. This does not happen when I use 1 node. When I try to open the flow.dat file in tecplot, I cannot open it as it has some data missing.

When I run the airfoil optimization case, it runs the first design iteration, then it deforms the mesh and prints out the mesh_deform.su2 file. This file does not contain the NPOIN part of the mesh file, hence su2 cannot run the cfd simulation for the next design iteration.
cfdjetman is offline   Reply With Quote

Old   March 16, 2020, 03:19
Default
  #10
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 104
Rep Power: 4
pcg is on a distinguished road
Is this only a problem when you use the python scripts or also if you directly launch SU2_CFD/DEF?
Conceptually there is no difference between what the code does when running on one or multiple nodes, mpi makes all that opaque.
That being said I never tried the python scripts on a multi-node environment (I always assumed they would not work as they are not "mpi-ready").
pcg is offline   Reply With Quote

Old   March 16, 2020, 11:29
Default
  #11
New Member
 
cfdjetman
Join Date: Mar 2019
Posts: 24
Rep Power: 3
cfdjetman is on a distinguished road
I have the same problem when I run SU2_CFD/DEF using more than one node.
cfdjetman is offline   Reply With Quote

Old   April 1, 2020, 20:48
Default
  #12
New Member
 
cfdjetman
Join Date: Mar 2019
Posts: 24
Rep Power: 3
cfdjetman is on a distinguished road
Pedro Gomes,

Do you see any reason why this could be happening?
cfdjetman is offline   Reply With Quote

Old   April 3, 2020, 04:10
Default
  #13
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 104
Rep Power: 4
pcg is on a distinguished road
If no output format is working, I would guess you have some issue with the file system, or the way you prepare the working directory is not adequate (maybe some nodes do not have write permissions).
But I've never setup distributed systems... If I have issues I go to the people that maintain the system.

If that is not an option, and you are comfortable programming, edit SU2_CFD.cpp and add instructions to print the mpi rank to screen and create a file with the mpi rank as its name. On screen you should see numbers 0 to n-1, if numbers repeat you are launching two simulations. On disk you should see files 0 to n-1, if some are missing it is either because they failed to open (which you can detect when you open the file in c++) or got lost.

If some output formats work and others don't, please open an issue on GitHub.
pcg is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Writing report files and creating report definitions. cfd_worker99 FLUENT 2 March 14, 2019 10:00
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 1 May 19, 2017 10:13
Forcing the creation of solution files OVS SU2 3 April 15, 2016 04:13
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 57 February 1, 2015 08:25
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46


All times are GMT -4. The time now is 00:44.