Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
OpenFOAM-plus
Commits
b59b8a10
Commit
b59b8a10
authored
Jun 24, 2019
by
Andrew Heather
Browse files
TUT: tutorial script updates
parent
06f80912
Changes
4
Hide whitespace changes
Inline
Side-by-side
tutorials/incompressible/adjointOptimisationFoam/Allrun
View file @
b59b8a10
...
...
@@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
if
notTest
$@
then
foamRunTutorials
foamRunTutorials
-skipFirst
else
echo
"--- Skipping testing of tutorials in :
$PWD
"
1>&2
fi
...
...
tutorials/verificationAndValidation/turbulentInflow/Allclean
View file @
b59b8a10
...
...
@@ -5,4 +5,4 @@ cd ${0%/*} || exit 1 # run from this directory
.
$WM_PROJECT_DIR
/bin/tools/CleanFunctions
# Tutorial clean functions
cleanCase0
\r
m
-r
results
\r
m
-r
f
results
tutorials/verificationAndValidation/turbulentInflow/Allrun
View file @
b59b8a10
...
...
@@ -21,7 +21,7 @@ runApplication blockMesh
for
val
in
${
Models
[@]
}
;
do
echo
"Running the case with the model:
$val
"
\c
p 0/U.
$val
0/U
\r
m
-r
constant/boundaryData/inlet
\r
m
-r
f
constant/boundaryData/inlet
\c
p
-r
constant/boundaryData/inlet.
$val
constant/boundaryData/inlet
runApplication pimpleFoam
gnuplot plot.patch
...
...
tutorials/verificationAndValidation/turbulentInflow/Allrunparallel
→
tutorials/verificationAndValidation/turbulentInflow/Allrun
-
parallel
View file @
b59b8a10
...
...
@@ -20,9 +20,9 @@ runApplication blockMesh
# Compute parallel and collect data
for
val
in
${
Models
[@]
}
;
do
echo
"Running the case with the model:
$val
"
\r
m 0/U
*
\r
m
-f
0/U
*
\c
p 0.orig/U.
$val
0/U
\r
m
-r
constant/boundaryData/inlet
\r
m
-r
f
constant/boundaryData/inlet
\c
p
-r
constant/boundaryData/inlet.
$val
constant/boundaryData/inlet
runApplication decomposePar
runParallel pimpleFoam
...
...
@@ -34,4 +34,3 @@ for val in ${Models[@]}; do
cleanTimeDirectories
\r
m
-rf
processor
*
>
/dev/null 2>&1
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment