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."
|
|
|
|
echo " Check the OpenFOAM entries in your dot-files and source them."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2010-05-12 13:27:55 +00:00
|
|
|
set -x
|
|
|
|
|
2010-08-30 17:57:22 +00:00
|
|
|
# update OpenFOAM version strings if required
|
|
|
|
wmakePrintBuild -check || /bin/rm -f OpenFOAM/Make/$WM_OPTIONS/global.? 2>/dev/null
|
|
|
|
|
|
|
|
wmakeLnInclude OpenFOAM
|
2011-06-26 21:46:38 +00:00
|
|
|
wmakeLnInclude meshTools
|
2010-08-30 17:57:22 +00:00
|
|
|
wmakeLnInclude OSspecific/$WM_OSTYPE
|
|
|
|
Pstream/Allwmake
|
|
|
|
|
|
|
|
wmake libo OSspecific/$WM_OSTYPE
|
2010-05-12 13:27:55 +00:00
|
|
|
wmake libso OpenFOAM
|
|
|
|
|
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 triSurface
|
|
|
|
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-11-08 11:07:02 +00:00
|
|
|
wmake libso VectorN
|
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
|
|
|
|
|
2010-09-22 18:13:13 +00:00
|
|
|
thermophysicalModels/Allwmake
|
|
|
|
transportModels/Allwmake
|
|
|
|
turbulenceModels/Allwmake
|
|
|
|
lagrangian/Allwmake
|
|
|
|
postProcessing/Allwmake
|
|
|
|
conversion/Allwmake
|
2010-05-12 13:27:55 +00:00
|
|
|
|
|
|
|
wmake libso autoMesh
|
|
|
|
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
|
2013-10-29 10:20:25 +00:00
|
|
|
|
2013-10-11 13:12:56 +00:00
|
|
|
( cd cudaSolvers ; ./Allwmake )
|
|
|
|
|
2010-05-12 13:27:55 +00:00
|
|
|
# ----------------------------------------------------------------- end-of-file
|