mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updating interFoam/RAS/motorBike tutorial
This commit is contained in:
@ -27,6 +27,7 @@ boundaryField
|
|||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type waveAlpha;
|
type waveAlpha;
|
||||||
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet
|
outlet
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application interDyMFoam;
|
application interFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user