-
Notifications
You must be signed in to change notification settings - Fork 28
/
Allwclean
executable file
·28 lines (22 loc) · 972 Bytes
/
Allwclean
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
cd ${0%/*} || exit 1 # Run from this directory
rm -rf $FOAM_USER_LIBBIN/libchemistryModel_DLB.so
rm -rf $FOAM_USER_LIBBIN/libODE_DLB.so
unlink $FOAM_USER_LIBBIN/libc_pyjac_test.so
rm -rf $FOAM_USER_LIBBIN/unittests/pyjacTestMech/build
pushd src > /dev/null
wclean all
popd > /dev/null
wclean tests/unittests
wclean tests/validation/pyjacTests/PSRTest
rm -rf tests/validation/pyjacTests/PSRTest/testCase/dynamicCode
rm -rf tests/validation/pyjacTests/PSRTest/testCase/log.*
rm -rf tests/validation/pyjacTests/PSRTest/PSRTest.bin
rm -rf tutorials/multicomponentFluid/shearlayer_DLB_pyJac/pyJac
rm -rf tutorials/chemFoam/gri_pyJac/pyJac
# Remove files related to dynamic compilation
DLB_ETC_DC=etc/codeTemplates/dynamicCode
USER_ETC_DC=${HOME}/.OpenFOAM/${WM_PROJECT_VERSION}/codeTemplates/dynamicCode
rm -f $USER_ETC_DC/basicChemistryModel
rm -f $DLB_ETC_DC/basicChemistryModel # .orig file is there
rm -f $USER_ETC_DC/basicChemistryModelTemplate.C