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.
55 lines
1.1 KiB
C++
55 lines
1.1 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 dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application foamRun;
|
|
|
|
solver compressibleVoF;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 0.001;
|
|
|
|
deltaT 1e-08;
|
|
|
|
writeControl adjustableRunTime;
|
|
|
|
writeInterval 1e-5;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat binary;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression off;
|
|
|
|
timeFormat general;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
adjustTimeStep on;
|
|
|
|
maxCo 0.5;
|
|
|
|
maxAlphaCo 0.5;
|
|
|
|
|
|
// ************************************************************************* //
|