$FOAM_TUTORIALS/multiphase/interFoam/ras/DTCHull
We calculate the flow around the ship hull (DTC = Duisburg Test Case) for 4000 seconds.
Model geometry
Model geometry (around a ship)
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.
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)
*Inter(R) Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz