This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/immersedBoundary/refiningMovingCylinderInChannelIco/constant/dynamicMeshDict

68 lines
1.8 KiB
Text
Raw Normal View History

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
2016-06-20 15:00:40 +00:00
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: http://www.foam-extend.org |
2016-06-21 12:50:08 +00:00
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// dynamicFvMesh staticFvMesh;
2018-05-16 11:27:19 +00:00
// dynamicFvMesh immersedBoundarySolidBodyMotionFvMesh;
dynamicFvMesh immersedBoundaryDynamicRefineSolidBodyMotionFvMesh;
immersedBoundarySolidBodyMotionFvMeshCoeffs
{
motionFunctions
(
ibCylinder
{
2018-05-16 11:27:19 +00:00
solidBodyMotionFunction linearOscillation;
linearOscillationCoeffs
{
amplitude (0.5 0 0);
period 2.5;
}
}
);
}
2018-05-16 11:27:19 +00:00
immersedBoundaryDynamicRefineSolidBodyMotionFvMeshCoeffs
{
motionFunctions
(
ibCylinder
{
solidBodyMotionFunction linearOscillation;
linearOscillationCoeffs
{
amplitude (0.5 0 0);
period 2.5;
}
}
);
2018-05-16 11:27:19 +00:00
refineInterval 2;
maxRefLevel 2;
maxCells 20000;
coarseningDistance 0.15;
refinementDistance 0.1;
nBufferLayers 1;
}
// ************************************************************************* //