These two new fvModels operate between a film and a VoF region to transfer film to the corresponding VoF phase when the film is thick enough to be resolved by the VoF solver or from the VoF phase to the film when the near-wall resolution is too low and it is better to treat it as a wall film. This functionality is equivalent to the VoFPatchTransfer fvModel developed for the old film implementation but coded in a much more general manner with implicit treatment of the mass loss from the film or VoF region for better numerical stability and robustness. The simple tutorials/modules/CHT/VoFToFilm case is provided to demonstrate a film being deposited on a surface as the plate is withdrawn from a liquid. It is an updated version of the tutorials/modules/compressibleVoF/plateFilm case.
13 lines
290 B
Bash
Executable File
13 lines
290 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial clean functions
|
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
|
|
|
cleanCase
|
|
|
|
rm -rf constant/VoF/polyMesh
|
|
rm -rf constant/film/polyMesh
|
|
|
|
#------------------------------------------------------------------------------
|