ENH: Updating interFoam/RAS/motorBike tutorial

This commit is contained in:
sergio
2018-06-06 12:53:21 -07:00
parent c229bc8a05
commit 47d7405d62
5 changed files with 13 additions and 3 deletions

View File

@ -27,6 +27,7 @@ boundaryField
inlet inlet
{ {
type waveAlpha; type waveAlpha;
value $internalField;
} }
outlet outlet

View File

@ -43,6 +43,7 @@ dynamicRefineFvMeshCoeffs
(ghf none) (ghf none)
(alphaPhi none) (alphaPhi none)
(alphaPhiUn none) (alphaPhiUn none)
(alphaPhi0.water none)
); );
// Write the refinement level as a volScalarField // Write the refinement level as a volScalarField
dumpLevel true; dumpLevel true;

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application interDyMFoam; application interFoam;
startFrom startTime; startFrom startTime;

View File

@ -22,6 +22,14 @@ solvers
nAlphaCorr 1; nAlphaCorr 1;
nAlphaSubCycles 3; nAlphaSubCycles 3;
cAlpha 1; cAlpha 1;
MULESCorr yes;
nLimiterIter 3;
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-8;
relTol 0;
} }
p_rgh p_rgh

View File

@ -17,7 +17,7 @@ FoamFile
// Which of the steps to run // Which of the steps to run
castellatedMesh true; castellatedMesh true;
snap true; snap true;
addLayers true; addLayers false;
// Geometry. Definition of all surfaces. All surfaces are of class // Geometry. Definition of all surfaces. All surfaces are of class
@ -38,7 +38,7 @@ geometry
//// Optional: avoid patch-face merging. Allows mesh to be used for //// Optional: avoid patch-face merging. Allows mesh to be used for
//// refinement/unrefinement //// refinement/unrefinement
mergePatchFaces on; // default on mergePatchFaces off; // default on