|
[Sponsors] | |||||
why adjustableRunTime doesn't work in sonicFoam? |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 28 ![]() |
my controlDict is as below:
Code:
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application rhoPimpleFoam;
startFrom latestTime;
startTime 0;
stopAt endTime;
endTime .02;//0.020708089
deltaT 5.6e-9;
writeControl adjustableRunTime;
writeInterval .000001;
purgeWrite 0;
writeFormat binary;
writePrecision 10;
writeCompression on;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
adjustTimeStep yes;
maxCo 0.1;
maxDeltaT .0001;
libs ( "libOpenFOAM.so" "libgroovyBC.so" ) ;
|
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 ![]() ![]() |
sonicFoam does not have this currently implemented. To add this, try looking at
http://www.cfd-online.com/Forums/ope...nt-number.html or, you could look at the transient solvers that have the ability to adjust time-step size based on courant number. For inspiration, look at interFoam, rhoPimpleFoam, or bubbleFoam. You are looking at the lines Code:
.
.
.
#include "setInitialDeltaT.H"
.
.
.
#include "setDeltaT.H"
.
.
.
Code:
$FOAM_SRC/finiteVolume/cfdTools/general/include Last edited by chegdan; February 11, 2013 at 17:24. Reason: more info |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error trying to run steady-state sonicFoam | dancfd | OpenFOAM Running, Solving & CFD | 2 | February 12, 2013 04:15 |
| sonicFOAM for an airfoil error | inginer | OpenFOAM | 6 | September 14, 2010 06:31 |
| Crash when using sonicFoam | Horus | OpenFOAM | 1 | June 16, 2010 13:57 |
| Why do the Plant library cases don't work? | Alumna | Phoenics | 6 | June 22, 2004 13:08 |
| why my In-Form doesn't work? | green | Phoenics | 2 | May 27, 2004 22:03 |