Updated dynamic refinement settings
This commit is contained in:
parent
9596103e05
commit
31bfbdada7
1 changed files with 73 additions and 15 deletions
|
@ -18,10 +18,7 @@ FoamFile
|
||||||
// dynamicFvMesh immersedBoundarySolidBodyMotionFvMesh;
|
// dynamicFvMesh immersedBoundarySolidBodyMotionFvMesh;
|
||||||
dynamicFvMesh immersedBoundaryDynamicRefineSolidBodyMotionFvMesh;
|
dynamicFvMesh immersedBoundaryDynamicRefineSolidBodyMotionFvMesh;
|
||||||
|
|
||||||
immersedBoundaryDynamicRefineSolidBodyMotionFvMeshCoeffs
|
immersedBoundarySolidBodyMotionFvMeshCoeffs
|
||||||
{}
|
|
||||||
|
|
||||||
dynamicPolyRefinementFvMeshCoeffs
|
|
||||||
{
|
{
|
||||||
motionFunctions
|
motionFunctions
|
||||||
(
|
(
|
||||||
|
@ -35,23 +32,84 @@ dynamicPolyRefinementFvMeshCoeffs
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
immersedBoundaryDynamicRefineSolidBodyMotionFvMeshCoeffs
|
||||||
|
{
|
||||||
|
motionFunctions
|
||||||
|
(
|
||||||
|
ibCylinder
|
||||||
|
{
|
||||||
|
solidBodyMotionFunction linearOscillation;
|
||||||
|
linearOscillationCoeffs
|
||||||
|
{
|
||||||
|
amplitude (0.5 0 0);
|
||||||
|
period 2.5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
dynamicPolyRefinementFvMeshCoeffs
|
||||||
|
{
|
||||||
|
// Dynamic mesh procedure controls
|
||||||
|
|
||||||
|
// Refine every refineInterval step
|
||||||
|
refineInterval 1;
|
||||||
|
|
||||||
|
// Unrefine every unrefineInterval step
|
||||||
|
unrefineInterval 1;
|
||||||
|
|
||||||
|
// Separate refinement/unrefinement steps. In case this is switched on,
|
||||||
|
// if both refinement and unrefinement should have been performed in a
|
||||||
|
// single step, unrefinement is skipped. Switched off by default, meaning
|
||||||
|
// that it should be safe to perform both at the same time
|
||||||
|
separateUpdates false;
|
||||||
|
|
||||||
|
// Refinement selection criteria
|
||||||
refinementSelection
|
refinementSelection
|
||||||
{
|
{
|
||||||
type immersedBoundaryRefinement;
|
type immersedBoundaryRefinement;
|
||||||
|
refinementDistance 0.1;
|
||||||
coarseningDistance 0.15;
|
coarseningDistance 0.1;
|
||||||
refinementDistance 0.1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
active yes;
|
// Polyhedral refinement engine controls
|
||||||
refineInterval 2;
|
active yes;
|
||||||
unrefineInterval 2;
|
|
||||||
|
|
||||||
maxRefinementLevel 3;
|
// Maximum number of cells to allow (not strictly controlled)
|
||||||
nRefinementBufferLayers 1;
|
maxCells 20000;
|
||||||
nUnrefinementBufferLayers 5;
|
|
||||||
maxCells 20000;
|
// Maximum refinement level
|
||||||
|
maxRefinementLevel 2;
|
||||||
|
|
||||||
|
// Number of buffer layers between refinement levels
|
||||||
|
nRefinementBufferLayers 0;
|
||||||
|
|
||||||
|
// Number of buffer layers for unrefinement in order to run away from the
|
||||||
|
// region that is getting refined at the same time in order to avoid point
|
||||||
|
// level inconsistencies
|
||||||
|
nUnrefinementBufferLayers 2;
|
||||||
|
|
||||||
|
// Whether to use edge based consistency check. Needed when one allows more
|
||||||
|
// than 2 refinement levels (automatically switched on)
|
||||||
|
edgeBasedConsistency true;
|
||||||
|
|
||||||
|
// Motion functions for IBM
|
||||||
|
motionFunctions
|
||||||
|
(
|
||||||
|
ibCylinder
|
||||||
|
{
|
||||||
|
solidBodyMotionFunction linearOscillation;
|
||||||
|
linearOscillationCoeffs
|
||||||
|
{
|
||||||
|
amplitude (0.5 0 0);
|
||||||
|
period 2.5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue