|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Join Date: Apr 2016
Posts: 39
Rep Power: 11 ![]() |
All tolerances are set to 1e-13, and it's converging fine, but I would like for it to run until the stop time, not stop at convergence. I have searched around quite a bit and was unable to find anything that helped.
controlDict: Code:
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application simpleFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 10;
deltaT 0.0005;
writeControl timeStep;
writeInterval 5;
purgeWrite 0;
writeFormat ascii;
writePrecision 6;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
functions {
#include "forceCoeffs"
}
|
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 220
Rep Power: 20 ![]() |
In fvSolution file, within the SIMPLE solver parameters, set the residualControl values to very small numbers (eg. 1e-9). This should keep the solver running until the specified end time.
|
|
|
|
|
|
|
|
|
#3 | |
|
Member
Join Date: Apr 2016
Posts: 39
Rep Power: 11 ![]() |
Quote:
Code:
SIMPLE
{
nNonOrthogonalCorrectors 0;
residualControl
{
p 1e-12;
U 1e-12;
"(k|epsilon|omega)" 1e-12;
}
}
|
||
|
|
|
||
|
|
|
#4 |
|
Senior Member
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 220
Rep Power: 20 ![]() |
Correct.
But may I ask why it is necessary to run until a particular end time? The time really has not meaning in a simpleFoam calculation. It simply functions as a means to iterate on the solution. So running until some particular physical time really does not make sense. If this is desired, you should use pimpleFoam. |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 16:26 |
| MPI error with simpleFoam | blaise | OpenFOAM Running, Solving & CFD | 0 | November 7, 2015 15:01 |
| simpleFoam parallel solver & Fluent polyhedral mesh | Zlatko | OpenFOAM Running, Solving & CFD | 3 | September 26, 2014 07:53 |
| Laminar simpleFoam and inviscid simpleFoam | herenger | OpenFOAM Running, Solving & CFD | 7 | July 11, 2013 07:27 |
| Trying to run a benchmark case with simpleFoam | spsb | OpenFOAM | 3 | February 24, 2012 10:07 |