Files
OpenFOAM-12/tutorials/incompressibleVoF/floatingObject/system/functions
2024-07-06 16:02:47 +01:00

37 lines
1.1 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 12
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
location "system";
object functions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
rigidBodyState
{
type rigidBodyState;
libs ("librigidBodyState.so");
angleUnits [deg];
angularVelocityUnits [deg/s];
}
rigidBodyForces
{
type rigidBodyForces;
libs ("librigidBodyForces.so");
body floatingObject;
patches (floatingObject);
log on;
writeControl timeStep;
writeInterval 1;
}
// ************************************************************************* //