compressibleVoF supports cavitation fvModels which provide a more physical and controllable approach to cavitation modelling than the simple homogeneous equilibrium approximation used in cavitatingFoam. The tutorials/multiphase/cavitatingFoam/RAS/throttle case has been converted to tutorials/modules/compressibleVoF/throttle which demonstrates how to update cases from cavitatingFoam to compressibleVoF. A cavitatingFoam script is provided to redirect users to update their cases to compressibleVoF.
46 lines
1.0 KiB
C++
46 lines
1.0 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 volVectorField;
|
|
object U;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 1 -1 0 0];
|
|
|
|
internalField uniform (0 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type pressureInletOutletVelocity;
|
|
value uniform (0 0 0);
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type pressureInletOutletVelocity;
|
|
value uniform (0 0 0);
|
|
}
|
|
|
|
walls
|
|
{
|
|
type noSlip;
|
|
}
|
|
|
|
frontBack
|
|
{
|
|
type empty;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|