38 lines
1.3 KiB
C++
38 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.1 |
|
|
| \\ / 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
|
|
{
|
|
// Immersed boundary controls
|
|
motionFunctions
|
|
(
|
|
ibCylinder
|
|
{
|
|
solidBodyMotionFunction linearOscillation;
|
|
linearOscillationCoeffs
|
|
{
|
|
amplitude (0.5 0 0);
|
|
period 2.5;
|
|
}
|
|
}
|
|
);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|