60 lines
1.6 KiB
C++
60 lines
1.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object motionProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dynamicFvMesh solidBodyMotionFvMesh;
|
|
|
|
solidBodyMotionFvMeshCoeffs
|
|
{
|
|
solidBodyMotionFunction SDA;
|
|
|
|
SDACoeffs
|
|
{
|
|
// Centre of gravity
|
|
CofG (0 0 0);
|
|
|
|
// Model scale ratio
|
|
lamda 50;
|
|
|
|
// Max roll amplitude [rad]
|
|
rollAmax 0.22654;
|
|
|
|
// Min roll amplitude [rad]
|
|
rollAmin 0.10472;
|
|
|
|
// Heave amplitude [m]
|
|
heaveA 3.79;
|
|
|
|
// Sway amplitude [m]
|
|
swayA 2.34;
|
|
|
|
// Damping Coefficient [-]
|
|
Q 2.00;
|
|
|
|
// Time Period for liquid [sec]
|
|
Tp 13.93;
|
|
|
|
// Natural Period of Ship [sec]
|
|
Tpn 11.93;
|
|
|
|
// Reference time step [sec]
|
|
dTi 0.059;
|
|
|
|
// Incr. in Tp/unit 'dTi'[-]
|
|
dTp -0.001;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|