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

Writing outputs to only include data right before convergence

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2021, 00:38
Default Writing outputs to only include data right before convergence
  #1
New Member
 
LM
Join Date: Mar 2021
Posts: 1
Rep Power: 0
CHANL is on a distinguished road
Hello!

I have a NACA airfoil with unique characteristics added in, which results in an unsteady flow (neither coefficient of drag nor coefficient of lift converge) when I run a case with a RANS solver and SA turbulence model. I intend to rerun SU2 using the "unsteady" solver as laid out by the example on the SU2 website here: https://su2code.github.io/tutorials/Unsteady_NACA0012/

The problem is, since it is running the "inner iterations," I anticipate the data files to be very large. Since I only care about the iterations as the data approaches convergence, is there a way to only capture these data points? For example, can I overwrite my "flow" file so it only records the newest 500 iterations? Or is there a way to specify that I only wants iteration 1500-2000? I am not sure what the correct way of handling this is, but as mentioned, my goal is to minimize my file size and only capture the data right before my simulation converges.

For some more clarification, I am aware already that you can limit the frequency of the data written (IE only write every couple of messages), but this would mean I would miss data points near convergence. This is not an ideal solution.

Thanks in advance!
CHANL is offline   Reply With Quote

Old   March 17, 2021, 09:23
Default
  #2
Member
 
Jose Daniel
Join Date: Jun 2020
Posts: 36
Rep Power: 6
jdp810 is on a distinguished road
Hi!

SU2 outputs the time iteration with OUTPUT_WRT_FREQ, which you can set to 1 if you want to output every time iteration (for my case I write every 10th iteration although it writes the previous one too, I guess because dual time).

I don't think you can output the inner iterations, or at least I don't know how, but you can plot the residuals to see if it converged if that's what you want.

Hope it helps,
JD
jdp810 is offline   Reply With Quote

Reply

Tags
file size, file writing, output data, output file, overwrite


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
Convergence Centurion2011 FLUENT 48 June 15, 2022 00:29
SimpleFoam cannot open include file Marija OpenFOAM Running, Solving & CFD 1 October 28, 2020 11:35
Issue Writing Out Surface Data rufuscws89 Tecplot 1 May 6, 2019 14:52
Writing Expressions in Reports - using data from a previous time step yesaswi92 STAR-CCM+ 1 August 29, 2014 05:33
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 11:52


All times are GMT -4. The time now is 16:22.