localEuler in rhoCentralFoam
In order to do steady state calculations with rhoCentralFoam, I am trying to use localEuler ddt scheme. From what I understood, this requires specifying rDeltaT as a volScalarField. I have made following additions to rhoCentralFoam in version 2.0.0
createField.H: Code:
volScalarField rDeltaT Code:
{ Code:
surfaceScalarField aphiv_pos(phiv_pos - aSf); Code:
ddtSchemes |
@praveen
http://www.cfd-online.com/Forums/ope...time-step.html In the above thread, check my last post (which is working fine for me )...U may get some idea : ) Cheers! Hariram |
Praveen,
Have you had any more success implementing the localEuler ddt scheme? I am very interested in this aspect as my simulations using rhoCentralFoam are take ages to compute. Thanks, -Eric |
Im not sure if the poster is still following this but if you are, where did you get that definition for rDeltaT?
Code:
rDeltaT.dimensionedInternalField() = max Code:
surfaceScalarField amaxSfbyDelta In other words, is there a command that finds the maximum surface value of a cell? My current (not completely correct) implementation for rDeltaT is the following: Quote:
When you look at the interFoamLTS source code you can also find how to implement smoothing over the rDeltaT field which you might consider implementing if you have big differences in timestep between neighboring cells. |
All times are GMT -4. The time now is 05:02. |