|
[Sponsors] |
October 2, 2014, 10:58 |
Questions from the workshop
|
#1 |
Member
Suman Chakraborty
Join Date: Sep 2014
Location: Mumbai, India
Posts: 42
Rep Power: 11 |
Hi Santiago,
Am posting the Questions over here as you asked me to. Q1. What is the name of the variable in the code that keeps a track of the total time. Where is it defined and used and where is it incremented- that is : time = time + delta_time ? Q2. If it is required to stop the simulation at a particular exact time, it was suggested before to use the variable "UNST_TIME" in the config file under unsteady simulation to do it. But the exit conditions of the program are based on Ext_Iter or the residual convergence. Then where does it have this condition of exiting based on UNST_TIME mentioned in the code. Q3. What if i want to do this for a steady problem. How to get solution for an exact time? Thanks again for the reply. |
|
October 3, 2014, 00:58 |
Unsteady simulations, Unsteady time
|
#2 |
New Member
Santiago Padron
Join Date: May 2013
Posts: 17
Rep Power: 13 |
Q1. In the code we keep track of the total iteration variable ExtIter and increment it for each iteration. This is done in SU2_CFD.cpp file. And we keep track of the provided delta_time in in the config class and can obtain its value with the method GetDelta_UnstTime(). So we keep track of the total time by multiplying the ExtIter*delta_time. You can see this done in the function MeanFlowIteration in iteration_structure.cpp.
Q2. If you look at the end of the MeanFlowIteration function in iteration_structure.cpp you will see the UNST_TIME option being used. You can also always stop the simulation at an exact time by using the Ext_Iter stopping criteria (t = Ext_Iter*dt). Q3. I’m not sure I fully understand this question, but I steady problem does not depend on time, so it doesn’t make sense to stop it before it has converged to a desired level of accuracy. To stop the steady problem you can also use Ext_Iter in addition to the residual convergence criteria. |
|
October 10, 2014, 18:53 |
|
#3 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
Please find in this link the reply to this post. In the “description” box you will find the direct link to the question.
"This week in SU2": Wednesdays at 10:00am (PDT) on YouTube. Best, The SU2 team |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pointwise and SU2 joint workshop | fpalacios | SU2 News & Announcements | 0 | July 28, 2014 20:26 |
8th International OpenFOAM® Workshop | OFW8 | OpenFOAM Announcements from Other Sources | 14 | September 5, 2013 00:07 |
7th OpenFOAM Workshop | holger_marschall | OpenFOAM Announcements from Other Sources | 56 | October 27, 2012 13:28 |
Fifth OpenFOAM Workshop in Gothenburg, June 21-24, 2010 | hani | OpenFOAM | 12 | November 11, 2010 15:24 |
WORKSHOP ANNOUCEMENT | workshop2001 | Main CFD Forum | 0 | February 23, 2001 13:09 |