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:
Kutalmis Bercin
2022-05-20 17:41:22 +01:00
parent 9cf6ac4145
commit 408e6b55e9
600 changed files with 2359 additions and 1558 deletions

View File

@ -0,0 +1,8 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
#------------------------------------------------------------------------------
cleanCase0
#------------------------------------------------------------------------------

View File

@ -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
#------------------------------------------------------------------------------

View File

@ -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
#------------------------------------------------------------------------------

View File

@ -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
#------------------------------------------------------------------------------

View File

@ -99,7 +99,9 @@ functions
}
#includeFunc "turbulenceFields"
#includeFunc "samples"
#includeFunc "sampleU"
#includeFunc "sampleScalars"
#includeFunc "sampleR"
}

View File

@ -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;
}
}
// *********************************************************************** //

View File

@ -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;
}
}
// *********************************************************************** //