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/mesh/moveDynamicMesh/movingCylinders/constant/dynamicMeshDict

72 lines
1.9 KiB
Text
Raw Normal View History

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
2014-06-01 11:15:18 +00:00
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.1 |
2015-05-17 13:55:59 +00:00
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// dynamicFvMesh staticFvMesh;
dynamicFvMesh multiTopoBodyFvMesh;
multiTopoBodyFvMeshCoeffs
{
bodies
(
frontCyl
{
movingCells cyl1;
layerFaces
(
topLayerCyl1
botLayerCyl1
);
solidBodyMotionFunction linearOscillation;
linearOscillationCoeffs
{
amplitude (0 0.028 0);
period 2;
}
minThickness 0.0015;
maxThickness 0.004;
invertMask true;
}
backCyl
{
movingCells cyl2;
layerFaces
(
topLayerCyl2
botLayerCyl2
);
solidBodyMotionFunction linearOscillation;
linearOscillationCoeffs
{
amplitude (0 -0.028 0);
period 3;
}
minThickness 0.0015;
maxThickness 0.004;
invertMask true;
}
);
}
2016-06-21 12:50:08 +00:00
// ************************************************************************* //