The phase-change functionality in interPhaseChangeFoam has been generalised and
moved into the run-time selectable twoPhaseChange library included into
interFoam providing optional phase-change. The three cavitation models provided
in interPhaseChangeFoam are now included in the twoPhaseChange library and the
two interPhaseChangeFoam cavitation tutorials updated for interFoam.
interPhaseChangeFoam has been replaced by a user redirection script which prints
the following message:
The interPhaseChangeFoam solver has solver has been replaced by the more general
interFoam solver, which now supports phase-change using the new twoPhaseChange
models library.
To run with with phase-change create a constant/phaseChangeProperties dictionary
containing the phase-change model specification, e.g.
phaseChangeModel SchnerrSauer;
pSat 2300; // Saturation pressure
See the following cases for an example converted from interPhaseChangeFoam:
$FOAM_TUTORIALS/multiphase/interFoam/laminar/cavitatingBullet
$FOAM_TUTORIALS/multiphase/interFoam/RAS/propeller
10 lines
297 B
Plaintext
10 lines
297 B
Plaintext
twoPhaseChangeModel/twoPhaseChangeModel.C
|
|
twoPhaseChangeModel/twoPhaseChangeModelNew.C
|
|
noPhaseChange/noPhaseChange.C
|
|
cavitation/cavitationModel/cavitationModel.C
|
|
cavitation/Kunz/Kunz.C
|
|
cavitation/Merkle/Merkle.C
|
|
cavitation/SchnerrSauer/SchnerrSauer.C
|
|
|
|
LIB = $(FOAM_LIBBIN)/libtwoPhaseChangeModels
|