Professional Documents
Culture Documents
Computational Hydrodynamics
NaiXian LU (naixian.lu@chalmers.se)
Shipping and Marine Technololy, LES/Cavitation
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 1
Shipping and Marine Technology
Computational Hydrodynamics
interPhaseChangeFoam
• cavitation
• two phase flow
• flow modelled using LES
• interface captured by VOF method
• solved equations:
⎧⎪∇ ⋅ v = SP
⎨
( ) ( )
⎪⎩∂ t ρv + ∇ ⋅ ρv ⊗ v = −∇ p + ∇ ⋅ S − B( )
where S p = (ρl−1 − ρv−1 )m˙ , m˙ = m˙ + + m˙ −
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 2
Shipping and Marine Technology
Computational Hydrodynamics
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 3
Shipping and Marine Technology
Computational Hydrodynamics
EXE = $(FOAM_USER_APPBIN)/ooodlesInterPhaseChange
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 4
Shipping and Marine Technology
Computational Hydrodynamics
A test case
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 5
Shipping and Marine Technology
Computational Hydrodynamics
Computational configurations
• geometry: 2D NACA0015
• domain: 1400mm × 570mm
• angle of attack: 6°
• Reynolds number: 1.2e+06
• cavitation number:
p∞ − pv
σ= =1
1 2
ρv
2
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 6
Shipping and Marine Technology
Computational Hydrodynamics
Computational configurations
symmetryPlane
symmetryPlane
• constant/polyMesh/boundary
• 0/U, pd, gamma
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 7
Shipping and Marine Technology
Computational Hydrodynamics
LESProperties
Choose the subgrid model in constant/LESProperties
LESModel laminar;
delta smooth;
printCoeffs on;
laminarCoeffs
{
Implicit LES:
}
considering the action of the subgrid scale is equivalent to a strictly
oneEqEddyCoeffs
dissipative action, and letting the leading order truncation error in the
{
discretization of the fluxes emulate the energy dissipation
ck 0.07;
ce 1.05;
}
dynOneEqEddyCoeffs
{
ce 1.05;
filter simple;
}
.
.
.
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 8
Shipping and Marine Technology
Computational Hydrodynamics
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 9
Shipping and Marine Technology
Computational Hydrodynamics
environmentalProperties
• contant/environmentalProperties
specifies the gravity acceleration vector, (in this case it is neglected)
g g [0 1 -2 0 0 0 0] (0 0 0);
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 10
Shipping and Marine Technology
Computational Hydrodynamics
Courant number has a significant impact on the reliability and stability of the unstable flow simulation.
Recommended by OpenFOAM, the upper limit of the Co should be around 0.2
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 11
Shipping and Marine Technology
Computational Hydrodynamics
Note:
simulation of cavitating flow should be started from converged wetted flow result
since stabilized pressure distribution is critical for cavitating flow computation.
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 12
Shipping and Marine Technology
Computational Hydrodynamics
Result
PhD course in CFD with OpenSource software Feb 4th, 2009 NaiXian LU 13