|
[Sponsors] |
why adjustableRunTime doesn't work in sonicFoam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 11, 2013, 15:05 |
why adjustableRunTime doesn't work in sonicFoam?
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
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" ) ; |
|
February 11, 2013, 16:22 |
|
#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 16:24. Reason: more info |
|
|
|
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 03:15 |
sonicFOAM for an airfoil error | inginer | OpenFOAM | 6 | September 14, 2010 05:31 |
Crash when using sonicFoam | Horus | OpenFOAM | 1 | June 16, 2010 12:57 |
Why do the Plant library cases don't work? | Alumna | Phoenics | 6 | June 22, 2004 12:08 |
why my In-Form doesn't work? | green | Phoenics | 2 | May 27, 2004 21:03 |