This serves as an example of cavitation modelling with the multiphaseEuler module. This case also contains validation of the pressure profile along the hydrofoil against experimental data. Based on a case contributed by Petteri Peltonen, VTT.
69 lines
1.5 KiB
C++
69 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSchemes;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
ddtSchemes
|
|
{
|
|
default Euler;
|
|
}
|
|
|
|
gradSchemes
|
|
{
|
|
default Gauss linear;
|
|
limited cellLimited Gauss linear 1;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
divSchemes
|
|
{
|
|
default none;
|
|
|
|
div(phi,alpha) Gauss vanLeer;
|
|
|
|
div(alphaRhoPhi,U) Gauss linearUpwind limited;
|
|
div(alphaRhoPhi,h) Gauss linearUpwind limited;
|
|
div(alphaRhoPhi,e) Gauss linearUpwind limited;
|
|
div(alphaRhoPhi,f) Gauss upwind;
|
|
div(alphaRhoPhi,K) Gauss linearUpwind limited;
|
|
div(alphaRhoPhi,k) Gauss upwind;
|
|
div(alphaRhoPhi,omega) Gauss upwind;
|
|
|
|
div(alphaRhoPhi,(p|rho)) Gauss linearUpwind limited;
|
|
|
|
div((((alpha*rho)*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default Gauss linear corrected;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default corrected;
|
|
}
|
|
|
|
wallDist
|
|
{
|
|
method meshWave;
|
|
correctWalls true;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|