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.
50 lines
1.9 KiB
Bash
Executable File
50 lines
1.9 KiB
Bash
Executable File
#!/bin/sh
|
|
#------------------------------------------------------------------------------
|
|
# ========= |
|
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
# \\ / O peration | Website: https://openfoam.org
|
|
# \\ / A nd | Copyright (C) 2023 OpenFOAM Foundation
|
|
# \\/ M anipulation |
|
|
#------------------------------------------------------------------------------
|
|
# License
|
|
# This file is part of OpenFOAM.
|
|
#
|
|
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
# for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
# Script
|
|
# cavitatingFoam
|
|
#
|
|
# Description
|
|
# Script to inform the user that cavitatingFoam has been superseded
|
|
# and replaced by the more general compressibleVoF solver module executed by
|
|
# the foamRun application.
|
|
#
|
|
#------------------------------------------------------------------------------
|
|
|
|
cat <<EOF
|
|
|
|
cavitatingFoam has been superseded and replaced by the more general
|
|
compressibleVoF solver module executed by the foamRun application:
|
|
|
|
foamRun -solver compressibleVoF
|
|
|
|
The cavitatingFoam cases must be upgraded before running the compressibleVoF
|
|
solver module, for example the tutorials/modules/compressibleVoF/throttle case
|
|
has been converted from the tutorials/multiphase/cavitatingFoam/RAS/throttle
|
|
case.
|
|
|
|
EOF
|
|
|
|
#------------------------------------------------------------------------------
|