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.
60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
location "0";
|
|
object omega.liquid;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 0 -1 0 0 0 0];
|
|
|
|
internalField uniform 355.3333333;
|
|
|
|
boundaryField
|
|
{
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
inlet
|
|
{
|
|
type fixedValue;
|
|
value $internalField;
|
|
}
|
|
outlet
|
|
{
|
|
type inletOutlet;
|
|
phi phi.liquid;
|
|
inletValue $internalField;
|
|
value $internalField;
|
|
}
|
|
hydrofoil
|
|
{
|
|
type omegaWallFunction;
|
|
Cmu 0.09;
|
|
kappa 0.41;
|
|
E 9.8;
|
|
blended on;
|
|
value $internalField;
|
|
}
|
|
walls
|
|
{
|
|
type omegaWallFunction;
|
|
Cmu 0.09;
|
|
kappa 0.41;
|
|
E 9.8;
|
|
blended on;
|
|
value $internalField;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|