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 immersedBoundaryDynamicRefineSolidBodyMotionFvMesh;
immersedBoundarySolidBodyMotionFvMeshCoeffs
{
motionFunctions
(
ibCylinder
{
solidBodyMotionFunction linearOscillation;
linearOscillationCoeffs
{
amplitude (0.5 0 0);
period 2.5;
}
}
);
}
immersedBoundaryDynamicRefineSolidBodyMotionFvMeshCoeffs
{}
dynamicPolyRefinementFvMeshCoeffs
{
motionFunctions
(
@ -50,17 +36,22 @@ immersedBoundaryDynamicRefineSolidBodyMotionFvMeshCoeffs
}
);
refineInterval 2;
maxRefLevel 2;
maxCells 20000;
refinementSelection
{
type immersedBoundaryRefinement;
coarseningDistance 0.15;
refinementDistance 0.1;
}
nBufferLayers 1;
active yes;
refineInterval 2;
unrefineInterval 2;
maxRefinementLevel 3;
nRefinementBufferLayers 1;
nUnrefinementBufferLayers 5;
maxCells 20000;
}