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.
58 lines
1.5 KiB
Plaintext
58 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 alphat.liquid;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [ 1 -1 -1 0 0 0 0 ];
|
|
|
|
internalField uniform 1e-08;
|
|
|
|
boundaryField
|
|
{
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
inlet
|
|
{
|
|
type fixedValue;
|
|
value uniform 0;
|
|
}
|
|
outlet
|
|
{
|
|
type calculated;
|
|
value uniform 1e-08;
|
|
}
|
|
hydrofoil
|
|
{
|
|
type compressible::alphatPhaseJayatillekeWallFunction;
|
|
Prt 0.85;
|
|
Cmu 0.09;
|
|
kappa 0.41;
|
|
E 9.8;
|
|
value uniform 0;
|
|
}
|
|
walls
|
|
{
|
|
type compressible::alphatPhaseJayatillekeWallFunction;
|
|
Prt 0.85;
|
|
Cmu 0.09;
|
|
kappa 0.41;
|
|
E 9.8;
|
|
value uniform 0;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|