2010-05-12 13:27:55 +00:00
|
|
|
#!/bin/sh
|
2010-09-22 18:13:13 +00:00
|
|
|
cd ${0%/*} || exit 1 # run from this directory
|
|
|
|
|
|
|
|
if [ "$PWD" != "$WM_PROJECT_DIR/src" ]
|
|
|
|
then
|
|
|
|
echo "Error: Current directory in not \$WM_PROJECT_DIR/src"
|
|
|
|
echo " The environment variable are not consistent with the installation."
|
2013-12-11 16:09:41 +00:00
|
|
|
echo " Check the FOAM entries in your dot-files and source them."
|
2010-09-22 18:13:13 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2010-05-12 13:27:55 +00:00
|
|
|
set -x
|
|
|
|
|
2013-12-11 16:09:41 +00:00
|
|
|
# update foam version strings if required
|
|
|
|
wmakePrintBuild -check || /bin/rm -f foam/Make/$WM_OPTIONS/global.? 2>/dev/null
|
2013-12-11 17:40:13 +00:00
|
|
|
|
2013-12-11 16:09:41 +00:00
|
|
|
wmakeLnInclude foam
|
2011-06-26 21:46:38 +00:00
|
|
|
wmakeLnInclude meshTools
|
2010-08-30 17:57:22 +00:00
|
|
|
wmakeLnInclude OSspecific/$WM_OSTYPE
|
|
|
|
|
|
|
|
wmake libo OSspecific/$WM_OSTYPE
|
2015-06-19 14:31:00 +00:00
|
|
|
|
|
|
|
set +x
|
|
|
|
echo
|
|
|
|
echo "Note: ignore spurious warnings about missing mpicxx.h headers"
|
|
|
|
set -x
|
2013-12-11 16:09:41 +00:00
|
|
|
wmake libso foam
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-09-21 14:32:04 +00:00
|
|
|
# Decomposition methods needed by meshTools
|
|
|
|
decompositionMethods/AllwmakeLnInclude
|
|
|
|
decompositionMethods/Allwmake
|
2010-05-12 13:27:55 +00:00
|
|
|
|
|
|
|
wmake libso lagrangian/basic
|
|
|
|
|
|
|
|
wmake libso edgeMesh
|
2010-09-21 14:32:04 +00:00
|
|
|
wmake libso surfMesh
|
|
|
|
|
2010-05-12 13:27:55 +00:00
|
|
|
wmake libso meshTools
|
|
|
|
wmake libso finiteVolume
|
|
|
|
wmake libso finiteArea
|
|
|
|
|
|
|
|
wmake libso lduSolvers
|
2010-09-29 18:57:03 +00:00
|
|
|
|
2013-08-13 15:01:45 +00:00
|
|
|
wmake libso tetFiniteElement
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-10-12 20:47:10 +00:00
|
|
|
# Make dynamicMesh tools
|
|
|
|
dynamicMesh/AllwmakeLnInclude
|
|
|
|
dynamicMesh/Allwmake
|
2010-05-12 13:27:55 +00:00
|
|
|
|
|
|
|
wmake libso coupledMatrix
|
|
|
|
wmake libso sampling
|
|
|
|
|
|
|
|
wmake libso ODE
|
2010-09-30 22:02:51 +00:00
|
|
|
wmake libso POD
|
2010-05-12 13:27:55 +00:00
|
|
|
wmake libso randomProcesses
|
2014-05-30 11:52:07 +00:00
|
|
|
mesh/Allwmake
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-09-22 18:13:13 +00:00
|
|
|
thermophysicalModels/Allwmake
|
|
|
|
transportModels/Allwmake
|
|
|
|
turbulenceModels/Allwmake
|
|
|
|
lagrangian/Allwmake
|
2017-02-06 11:31:10 +00:00
|
|
|
wmake libso conjugateHeatTransfer
|
|
|
|
|
2010-09-22 18:13:13 +00:00
|
|
|
postProcessing/Allwmake
|
|
|
|
conversion/Allwmake
|
2010-05-12 13:27:55 +00:00
|
|
|
|
|
|
|
wmake libso errorEstimation
|
|
|
|
|
2010-09-22 18:13:13 +00:00
|
|
|
fvAgglomerationMethods/Allwmake
|
|
|
|
|
|
|
|
wmake libso engine
|
|
|
|
|
2013-08-29 22:08:27 +00:00
|
|
|
wmake libso equationReader
|
2013-08-14 14:29:04 +00:00
|
|
|
wmake libso multiSolver
|
2013-10-11 13:12:56 +00:00
|
|
|
|
2013-10-11 13:31:14 +00:00
|
|
|
wmake libso solidModels
|
2014-05-28 19:51:42 +00:00
|
|
|
wmake libso dbns
|
2013-10-29 10:20:25 +00:00
|
|
|
|
2015-05-13 10:00:24 +00:00
|
|
|
wmake libso immersedBoundary/immersedBoundary
|
2018-01-26 17:35:48 +00:00
|
|
|
#wmake libso immersedBoundary/immersedBoundaryTurbulence
|
2015-09-30 08:48:55 +00:00
|
|
|
wmake libso immersedBoundary/immersedBoundaryDynamicMesh
|
2015-05-11 10:41:43 +00:00
|
|
|
|
2013-10-11 13:12:56 +00:00
|
|
|
( cd cudaSolvers ; ./Allwmake )
|
|
|
|
|
2010-05-12 13:27:55 +00:00
|
|
|
# ----------------------------------------------------------------- end-of-file
|