Dynamic refinement settings update

This commit is contained in:
Hrvoje Jasak 2018-05-16 19:24:50 +01:00
parent 25b3940175
commit 68c8a33a15

View file

@ -18,24 +18,10 @@ FoamFile
// dynamicFvMesh immersedBoundarySolidBodyMotionFvMesh; // dynamicFvMesh immersedBoundarySolidBodyMotionFvMesh;
dynamicFvMesh immersedBoundaryDynamicRefineSolidBodyMotionFvMesh; dynamicFvMesh immersedBoundaryDynamicRefineSolidBodyMotionFvMesh;
immersedBoundarySolidBodyMotionFvMeshCoeffs
{
motionFunctions
(
ibCylinder
{
solidBodyMotionFunction linearOscillation;
linearOscillationCoeffs
{
amplitude (0.5 0 0);
period 2.5;
}
}
);
}
immersedBoundaryDynamicRefineSolidBodyMotionFvMeshCoeffs immersedBoundaryDynamicRefineSolidBodyMotionFvMeshCoeffs
{}
dynamicPolyRefinementFvMeshCoeffs
{ {
motionFunctions motionFunctions
( (
@ -50,17 +36,22 @@ immersedBoundaryDynamicRefineSolidBodyMotionFvMeshCoeffs
} }
); );
refineInterval 2; refinementSelection
{
maxRefLevel 2; type immersedBoundaryRefinement;
maxCells 20000;
coarseningDistance 0.15; coarseningDistance 0.15;
refinementDistance 0.1; refinementDistance 0.1;
}
nBufferLayers 1; active yes;
refineInterval 2;
unrefineInterval 2;
maxRefinementLevel 3;
nRefinementBufferLayers 1;
nUnrefinementBufferLayers 5;
maxCells 20000;
} }