mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
interDyMFoam/ras/floatingObject: apply sixDoFRigidBodyMotion solver
Keep original case as floatingObjectOld
This commit is contained in:
@ -32,13 +32,7 @@ boundaryField
|
||||
}
|
||||
floatingObject
|
||||
{
|
||||
type sixDoFRigidBodyDisplacement;
|
||||
centreOfMass (0.5 0.5 0.5);
|
||||
momentOfInertia (0.08622222 0.08622222 0.144);
|
||||
mass 9.6;
|
||||
rhoInf 1;
|
||||
report on;
|
||||
accelerationRelaxation 0.3;
|
||||
type calculated;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,15 +14,22 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dynamicFvMesh dynamicMotionSolverFvMesh;
|
||||
dynamicFvMesh dynamicMotionSolverFvMesh;
|
||||
|
||||
motionSolverLibs ("libfvMotionSolvers.so" "libsixDoFRigidBodyMotion.so");
|
||||
motionSolverLibs ("libsixDoFRigidBodyMotion.so");
|
||||
|
||||
solver displacementLaplacian;
|
||||
solver sixDoFRigidBodyMotion;
|
||||
|
||||
displacementLaplacianCoeffs
|
||||
sixDoFRigidBodyMotionCoeffs
|
||||
{
|
||||
diffusivity inverseDistance (floatingObject);
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user