$FOAM_TUTORIALS/multiphase/interDyMFoam/ras/DTCHull
We calculate the flow around the ship hull (DTC = Duisburg Test Case) for 50 seconds. The mesh deformation function is used to account for change of hull attitude due to forces applied to the hull.
Model geometry
Model geometry (around ship hull)
Water flows in at (-1.668, 0, 0) m/s from the minimum X plane and out from the maximum X plane. We assume that the ship hull shape is symmetrical, so the analysis is performed with a half model.
The mesh deformation settings are specified in the file "constant/dynamicMeshDict".
To output the force on the hull (region "hull") at each time step, we make settings in the file "system/controlDict" as follows. The output results will be saved in the folder "postProcessing".
functions
{
forces
{
type forces;
libs ( "libforces.so" );
patches (hull);
rhoInf 998.8;
log on;
writeControl timeStep;
writeInterval 1;
CofR (2.929541 0 0.2);
}
}
The meshes are as follows, and the number of mesh is 1331871.
Mesh (entire)
Meshes around the ship hull
Meshes on the ship hull surface
The calculation result is as follows.
Ship hull surface pressure (p_rgh) and liquid level at the final time
Ship hull surface pressure at the final time (p_rgh)
At the final time, the bow of the ship is sinking slightly downward.
*Inter(R) Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz