mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
interPhaseChangeFoam: Do not correct phi at start of run
During restart correct phi would need the dilatation from the previous time-step. Alternative is to run potentialFoam on 0 fields to initialise phi. Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1299
This commit is contained in:
@ -65,7 +65,6 @@ int main(int argc, char *argv[])
|
|||||||
pimpleControl pimple(mesh);
|
pimpleControl pimple(mesh);
|
||||||
|
|
||||||
#include "createPrghCorrTypes.H"
|
#include "createPrghCorrTypes.H"
|
||||||
#include "../interFoam/correctPhi.H"
|
|
||||||
#include "CourantNo.H"
|
#include "CourantNo.H"
|
||||||
#include "setInitialDeltaT.H"
|
#include "setInitialDeltaT.H"
|
||||||
|
|
||||||
|
|||||||
@ -29,6 +29,7 @@ solvers
|
|||||||
smoother symGaussSeidel;
|
smoother symGaussSeidel;
|
||||||
tolerance 1e-8;
|
tolerance 1e-8;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
|
maxIter 10;
|
||||||
};
|
};
|
||||||
|
|
||||||
"U.*"
|
"U.*"
|
||||||
@ -100,7 +101,6 @@ PIMPLE
|
|||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
fields
|
fields
|
||||||
|
|||||||
Reference in New Issue
Block a user