mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: simplify setups.orig cases
DOC: Curle: fix typo in header file (fixes #2498) TUT: airfoil2D: apply standard freestream conditions for nuTilda and nut
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
cleanCase0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
./Allrun.pre
|
||||
|
||||
runApplication setFields
|
||||
|
||||
runApplication $(getApplication)
|
||||
|
||||
runApplication postProcess -funcs \
|
||||
"(minMaxComponents(U) minMaxMagnitude(U))" -latestTime
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
./Allrun.pre
|
||||
|
||||
runApplication decomposePar
|
||||
|
||||
runParallel setFields
|
||||
|
||||
runParallel $(getApplication)
|
||||
|
||||
runParallel redistributePar -reconstruct -latestTime
|
||||
|
||||
runApplication postProcess -funcs \
|
||||
"(minMaxComponents(U) minMaxMagnitude(U))" -latestTime
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
restore0Dir
|
||||
|
||||
if [ ! -d constant/polyMesh ]
|
||||
then
|
||||
runApplication blockMesh
|
||||
|
||||
runApplication renumberMesh -overwrite -constant
|
||||
|
||||
runApplication checkMesh -allTopology -allGeometry -constant
|
||||
fi
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -99,7 +99,9 @@ functions
|
||||
}
|
||||
|
||||
#includeFunc "turbulenceFields"
|
||||
#includeFunc "samples"
|
||||
#includeFunc "sampleU"
|
||||
#includeFunc "sampleScalars"
|
||||
#includeFunc "sampleR"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,28 @@
|
||||
// -*- C++ -*-
|
||||
|
||||
type sets;
|
||||
libs (sampling);
|
||||
interpolationScheme cellPoint;
|
||||
setFormat raw;
|
||||
|
||||
writeControl writeTime;
|
||||
|
||||
fields
|
||||
(
|
||||
turbulenceProperties:R
|
||||
);
|
||||
|
||||
sets
|
||||
{
|
||||
lineZ1
|
||||
{
|
||||
type midPoint;
|
||||
axis z;
|
||||
start (0 0 0);
|
||||
end (0 0 6001);
|
||||
nPoints 200;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// *********************************************************************** //
|
||||
@ -11,11 +11,9 @@ fields
|
||||
(
|
||||
T
|
||||
p_rgh
|
||||
U
|
||||
k
|
||||
ObukhovLength
|
||||
Ustar
|
||||
turbulenceProperties:R
|
||||
);
|
||||
|
||||
sets
|
||||
@ -0,0 +1,28 @@
|
||||
// -*- C++ -*-
|
||||
|
||||
type sets;
|
||||
libs (sampling);
|
||||
interpolationScheme cellPoint;
|
||||
setFormat raw;
|
||||
|
||||
writeControl writeTime;
|
||||
|
||||
fields
|
||||
(
|
||||
U
|
||||
);
|
||||
|
||||
sets
|
||||
{
|
||||
lineZ1
|
||||
{
|
||||
type midPoint;
|
||||
axis z;
|
||||
start (0 0 0);
|
||||
end (0 0 6001);
|
||||
nPoints 200;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// *********************************************************************** //
|
||||
Reference in New Issue
Block a user