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.
37 lines
890 B
C++
37 lines
890 B
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;
|
|
location "system";
|
|
object refineMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
set c0;
|
|
|
|
coordinateSystem global;
|
|
|
|
globalCoeffs
|
|
{
|
|
e1 (1 0 0);
|
|
e2 (0 1 0);
|
|
}
|
|
|
|
directions (e1 e2);
|
|
|
|
useHexTopology yes;
|
|
|
|
geometricCut no;
|
|
|
|
writeMesh no;
|
|
|
|
|
|
// ************************************************************************* //
|