Files
openfoam/tutorials/multiphase/interDyMFoam/ras/floatingObject/constant/dynamicMeshDict
Henry a09d30dc90 interDyMFoam/ras/floatingObject: apply sixDoFRigidBodyMotion solver
Keep original case as floatingObjectOld
2013-12-08 22:03:56 +00:00

37 lines
1.2 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object motionProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("libsixDoFRigidBodyMotion.so");
solver sixDoFRigidBodyMotion;
sixDoFRigidBodyMotionCoeffs
{
patches (floatingObject);
distance 0.3;
centreOfMass (0.5 0.5 0.5);
momentOfInertia (0.08622222 0.08622222 0.144);
mass 9.6;
report on;
accelerationRelaxation 0.3;
}
// ************************************************************************* //