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.
53 lines
1.3 KiB
Plaintext
53 lines
1.3 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 k.liquid;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 2 -2 0 0 0 0];
|
|
|
|
internalField uniform 0.0042613;
|
|
|
|
boundaryField
|
|
{
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
inlet
|
|
{
|
|
type fixedValue;
|
|
value $internalField;
|
|
|
|
}
|
|
outlet
|
|
{
|
|
type inletOutlet;
|
|
phi phi.liquid;
|
|
inletValue $internalField;
|
|
value $internalField;
|
|
}
|
|
hydrofoil
|
|
{
|
|
type kqRWallFunction;
|
|
value $internalField;
|
|
}
|
|
walls
|
|
{
|
|
type kqRWallFunction;
|
|
value $internalField;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|