57 lines
1.6 KiB
Text
57 lines
1.6 KiB
Text
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||
|
| ========= | |
|
||
|
| \\ / F ield | foam-extend: Open Source CFD |
|
||
|
| \\ / O peration | Version: 4.0 |
|
||
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
||
|
| \\/ M anipulation | |
|
||
|
\*---------------------------------------------------------------------------*/
|
||
|
FoamFile
|
||
|
{
|
||
|
version 2.0;
|
||
|
format ascii;
|
||
|
class dictionary;
|
||
|
object dynamicMeshDict;
|
||
|
}
|
||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||
|
|
||
|
// dynamicFvMesh staticFvMesh;
|
||
|
dynamicFvMesh immersedBoundarySolidBodyMotionFvMesh;
|
||
|
|
||
|
immersedBoundarySolidBodyMotionFvMeshCoeffs
|
||
|
{
|
||
|
motionFunctions
|
||
|
(
|
||
|
|
||
|
ibCylinder
|
||
|
{
|
||
|
// solidBodyMotionFunction translation;
|
||
|
// translationCoeffs
|
||
|
// {
|
||
|
// velocity (0.1 0 0);
|
||
|
// }
|
||
|
|
||
|
solidBodyMotionFunction linearOscillation;
|
||
|
linearOscillationCoeffs
|
||
|
{
|
||
|
amplitude (0.5 0 0);
|
||
|
period 2.5;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
ibCylinder2
|
||
|
{
|
||
|
solidBodyMotionFunction linearOscillation;
|
||
|
linearOscillationCoeffs
|
||
|
{
|
||
|
amplitude (0 0.05 0);
|
||
|
period 2.5;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
);
|
||
|
}
|
||
|
|
||
|
|
||
|
// ************************************************************************* //
|