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

Forcing the creation of solution files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2016, 12:21
Default Forcing the creation of solution files
  #1
OVS
New Member
 
Oliver V
Join Date: Dec 2015
Posts: 17
Rep Power: 10
OVS is on a distinguished road
Hello,

I'm running SU2 4.1.0 in parallel and I wonder if there's a way to generate solution files for 2 cases:

1. The solver reaches the maximum number of iterations without convergence.

2. The calculation overall has reached a prescribed walltime.

The thing is, whenever the calculation doesn't converge in the allocated max iterations the solver only creates a restart file... which I can't directly open in paraview (or is there a restart_flow_to_vtk tool?).

Whenever the calculation goes beyond the walltime, SU2 is terminated by the cluster mods.

Thanks,
Oliver
OVS is offline   Reply With Quote

Old   April 14, 2016, 16:08
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10
talbring is on a distinguished road
Hi Oliver,

if you run SU2_CFD in parallel there will always be just a restart file. You have to use SU2_SOL to create the flow.dat or flow.vtk which you can then open with Tecplot/Paraview.

Tim
talbring is offline   Reply With Quote

Old   April 14, 2016, 16:40
Default
  #3
OVS
New Member
 
Oliver V
Join Date: Dec 2015
Posts: 17
Rep Power: 10
OVS is on a distinguished road
Thanks!

I always use 'python parallel_computation.py -f cfgfile -n nprocs' so I never really used the "vtk generator" since it's done automatically.

So this means I can actually erase the solutions and just keep the restart files? nice!

I'll have to learn how to use the SU2_SOL tool, but I think it's exactly what I was looking for.

Thanks again.

Oliver
OVS is offline   Reply With Quote

Old   April 15, 2016, 04:13
Default
  #4
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10
talbring is on a distinguished road
Hi Oliver,

if you haven't changed the default file names you have to copy restart_flow.dat to solution_flow.dat first. Then just run SU2_SOL.

Tim
talbring 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
grid dependancy gueynard a. Main CFD Forum 19 June 27, 2014 21:22
Exact solution of Burgers equation mcaro Main CFD Forum 3 January 25, 2011 06:46
Does FOAM converge to exact solution in Laplace equation? santiagomarquezd OpenFOAM Running, Solving & CFD 0 March 26, 2010 07:52
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46
Wall functions Abhijit Tilak Main CFD Forum 6 February 5, 1999 01:16


All times are GMT -4. The time now is 21:55.