Skip to content
GitLab
Explore
Sign in
Register
This is an archived project. Repository and other project resources are read-only.
Commits on Source (1)
TUT: use newer faMeshDefinition location
· b74339ad
Mark OLESEN
authored
Jun 22, 2022
STYLE: catch erroneous -prefix=false compilations
b74339ad
Hide whitespace changes
Inline
Side-by-side
Allwmake
View file @
b74339ad
...
...
@@ -6,11 +6,17 @@ targetType=libso
# Build into FOAM_USER_{APPBIN,LIBBIN} unless otherwise specified with
# -prefix or FOAM_MODULE_{APPBIN,LIBBIN} env varables
#------------------------------------------------------------------------------
module
=
visualization
moduleName
=
"visualization"
if
[
"
$FOAM_MODULE_PREFIX
"
=
false
]
then
echo
"Compilation of
$moduleName
is disabled (prefix=false)"
exit
0
fi
echo
"========================================"
date
"+%Y-%m-%d %H:%M:%S %z"
2>/dev/null
||
echo
"date is unknown"
echo
"Starting compile of
$module
with
${
WM_PROJECT_DIR
##*/
}
"
echo
"Starting compile of
$module
Name
with
${
WM_PROJECT_DIR
##*/
}
"
echo
"
$WM_COMPILER
$WM_COMPILER_TYPE
compiler"
echo
"
${
WM_OPTIONS
}
, with
${
WM_MPLIB
}
${
FOAM_MPI
}
"
echo
" prefix =
${
FOAM_MODULE_PREFIX
:-
default
(user)
}
"
...
...
@@ -22,7 +28,7 @@ src/Allwmake $targetType $*
echo
date
"+%Y-%m-%d %H:%M:%S %z"
2>/dev/null
||
echo
"date is unknown"
echo
"========================================"
echo
"Finished compile of
$module
with
${
WM_PROJECT_DIR
##*/
}
"
echo
"Finished compile of
$module
Name
with
${
WM_PROJECT_DIR
##*/
}
"
echo
"
$WM_COMPILER
$WM_COMPILER_TYPE
compiler"
echo
"
${
WM_OPTIONS
}
, with
${
WM_MPLIB
}
${
FOAM_MPI
}
"
echo
...
...
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/0/Cs
→
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/0
.orig
/Cs
View file @
b74339ad
File moved
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/0/Cvf
→
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/0
.orig
/Cvf
View file @
b74339ad
File moved
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/0/U
→
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/0
.orig
/U
View file @
b74339ad
File moved
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allclean
View file @
b74339ad
...
...
@@ -4,11 +4,12 @@ cd "${0%/*}" || exit # Run from this directory
#------------------------------------------------------------------------------
cleanTimeDirectories
cleanAuxiliary
2>/dev/null
cleanAuxiliary
cleanPostProcessing
cleanFaMesh
rm
-rf
processor
*
rm
-rf
0
#------------------------------------------------------------------------------
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allrun
View file @
b74339ad
...
...
@@ -3,6 +3,10 @@ cd "${0%/*}" || exit # Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/bin/tools/RunFunctions
# Tutorial run functions
#------------------------------------------------------------------------------
restore0Dir
#NO blockMesh (pre-meshed geometry and pre-calculated U field)
runApplication makeFaMesh
runApplication
$(
getApplication
)
...
...
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/system/catalyst
View file @
b74339ad
...
...
@@ -6,7 +6,7 @@ catalyst
scripts
(
// "<etc>caseDicts/insitu/catalyst/writeAll.py"
// "<etc>
/
caseDicts/insitu/catalyst/writeAll.py"
"<case>/showCs.py"
);
...
...
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/
constant/faMesh
/faMeshDefinition
→
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/
system
/faMeshDefinition
View file @
b74339ad
File moved