The new general multi-region framework using the isothermalFilm and film solver modules and executed with foamMultiRun is a much more flexible approach to the inclusion of liquid films in simulations with the support for coupling to other regions of various types e.g. gas flows, Lagrangian clouds, VoF, CHT etc. This has all been achieved with a significant reduction in the number of lines of code and significant improvements in code structure, readability and maintainability.
91 lines
2.6 KiB
Bash
Executable File
91 lines
2.6 KiB
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Parse arguments for library compilation
|
|
. ../wmake/scripts/AllwmakeParseArguments
|
|
|
|
# Perform various checks
|
|
wmakeCheckPwd "$WM_PROJECT_DIR/src" || {
|
|
echo "Allwmake error: Current directory is not \$WM_PROJECT_DIR/src"
|
|
echo " The environment variables are inconsistent with the installation."
|
|
echo " Check the OpenFOAM entries in your dot-files and source them."
|
|
exit 1
|
|
}
|
|
|
|
[ -n "$FOAM_EXT_LIBBIN" ] || {
|
|
echo "Allwmake error: FOAM_EXT_LIBBIN not set"
|
|
echo " Check the OpenFOAM entries in your dot-files and source them."
|
|
exit 1
|
|
}
|
|
|
|
# Update OpenFOAM version strings if required
|
|
wmakePrintBuild -check || wrmo OpenFOAM/global/global.o 2>/dev/null
|
|
|
|
Pstream/Allwmake $targetType $*
|
|
|
|
OSspecific/${WM_OSTYPE:-POSIX}/Allwmake $targetType $*
|
|
wmake $targetType OpenFOAM
|
|
|
|
wmake $targetType fileFormats
|
|
wmake $targetType surfMesh
|
|
wmake $targetType triSurface
|
|
wmake $targetType genericPatches
|
|
wmake $targetType meshTools
|
|
|
|
# Decomposition methods needed by dummyThirdParty
|
|
# (dummy metisDecomp, scotchDecomp etc) needed by e.g. meshTools
|
|
dummyThirdParty/Allwmake $targetType $*
|
|
|
|
wmake $targetType finiteVolume
|
|
wmake $targetType lagrangian/basic
|
|
wmake $targetType genericPatchFields
|
|
|
|
wmake $targetType mesh/extrudeModel
|
|
wmake $targetType dynamicMesh
|
|
|
|
# Compile scotchDecomp, metisDecomp etc.
|
|
parallel/Allwmake $targetType $*
|
|
|
|
wmake $targetType conversion
|
|
wmake $targetType sampling
|
|
|
|
wmake $targetType fvMeshStitchers
|
|
wmake $targetType fvMeshMovers
|
|
fvMeshTopoChangers/Allwmake $targetType $*
|
|
wmake $targetType fvMeshDistributors
|
|
|
|
wmake $targetType ODE
|
|
wmake $targetType randomProcesses
|
|
|
|
wmake $targetType physicalProperties
|
|
|
|
thermophysicalModels/Allwmake $targetType $*
|
|
twoPhaseModels/Allwmake $targetType $*
|
|
multiphaseModels/Allwmake $targetType $*
|
|
MomentumTransportModels/Allwmake $targetType $*
|
|
ThermophysicalTransportModels/Allwmake $targetType $*
|
|
wmake $targetType radiationModels
|
|
wmake $targetType combustionModels
|
|
mesh/Allwmake $targetType $*
|
|
renumber/Allwmake $targetType $*
|
|
fvAgglomerationMethods/Allwmake $targetType $*
|
|
wmake $targetType fvMotionSolver
|
|
|
|
wmake $targetType fvModels
|
|
wmake $targetType fvConstraints
|
|
functionObjects/Allwmake $targetType $*
|
|
|
|
lagrangian/Allwmake $targetType $*
|
|
|
|
wmake $targetType sixDoFRigidBodyMotion
|
|
wmake $targetType sixDoFRigidBodyState
|
|
wmake $targetType rigidBodyDynamics
|
|
wmake $targetType rigidBodyMeshMotion
|
|
wmake $targetType rigidBodyState
|
|
wmake $targetType specieTransfer
|
|
wmake $targetType atmosphericModels
|
|
wmake $targetType waves
|
|
|
|
|
|
#------------------------------------------------------------------------------
|