mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
DOC-STYLE: various release changes
This commit is contained in:
@ -7,6 +7,9 @@ runApplication blockMesh
|
||||
|
||||
restore0Dir
|
||||
|
||||
runApplication topoSet
|
||||
|
||||
runApplication $(getApplication)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -65,6 +65,7 @@ functions
|
||||
#include "FOLambda2"
|
||||
#include "FOLambVector"
|
||||
#include "FOlimitFields"
|
||||
#include "FOlog"
|
||||
#include "FOmag"
|
||||
#include "FOmagSqr"
|
||||
#include "FOmomentum"
|
||||
@ -73,6 +74,7 @@ functions
|
||||
#include "FOpressure"
|
||||
#include "FOprocessorField"
|
||||
#include "FOproudmanAcousticPower"
|
||||
#include "FOpow"
|
||||
#include "FOQ"
|
||||
#include "FOrandomise"
|
||||
#include "FOreadFields"
|
||||
|
||||
@ -689,3 +689,4 @@ actions
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
|
||||
@ -27,9 +27,7 @@ disk1
|
||||
sink true;
|
||||
Cp 0.386;
|
||||
Ct 0.58;
|
||||
|
||||
monitorMethod points;
|
||||
|
||||
monitorMethod points;
|
||||
monitorCoeffs
|
||||
{
|
||||
points
|
||||
@ -43,25 +41,13 @@ disk1
|
||||
disk2
|
||||
{
|
||||
type actuationDiskSource;
|
||||
variant Froude; // variableScaling;
|
||||
selectionMode cellSet;
|
||||
cellSet actuationDisk2;
|
||||
writeToFile true;
|
||||
sink true;
|
||||
Cp 0.53;
|
||||
Ct 0.58;
|
||||
diskArea 40;
|
||||
diskDir (1 0 0);
|
||||
|
||||
monitorMethod points;
|
||||
|
||||
monitorCoeffs
|
||||
{
|
||||
points
|
||||
(
|
||||
(581753 4785663 1070)
|
||||
);
|
||||
}
|
||||
upstreamPoint (581753 4785663 1070);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ boundaryField
|
||||
|
||||
ground
|
||||
{
|
||||
type nutkAtmRoughWallFunction;
|
||||
type atmNutkWallFunction;
|
||||
kappa $kappa;
|
||||
Cmu $Cmu;
|
||||
z0 $z0;
|
||||
|
||||
@ -38,11 +38,11 @@ plotUxUpstream() {
|
||||
inp1="$timeDir/x_0mPatch_U.xy"
|
||||
|
||||
plot \
|
||||
"system/benchmark-data-HargreavesWright2007/Ux-HW-RH-Fig6a" \
|
||||
"system/atm-HargreavesWright-2007/Ux-HW-RH-Fig6a" \
|
||||
u 1:2 t "RH" w p ps 2 pt 6 lc rgb "#000000", \
|
||||
"system/benchmark-data-HargreavesWright2007/Ux-HW-RH-Fig6a" \
|
||||
"system/atm-HargreavesWright-2007/Ux-HW-RH-Fig6a" \
|
||||
u 1:2 t "HW, x=2500m" w p ps 1 pt 5 lc rgb "#E69F00", \
|
||||
"system/benchmark-data-HargreavesWright2007/Ux-HW-RH-Fig6a" \
|
||||
"system/atm-HargreavesWright-2007/Ux-HW-RH-Fig6a" \
|
||||
u 1:2 t "HW, x=4000m" w p ps 0.5 pt 4 lc rgb "#56B4E9", \
|
||||
inp0 u 2:((\$1-$zMin)/zRef) t "OF, x=0m (Patch)" w l lw 2 lc rgb "#009E73", \
|
||||
inp1 u 2:((\$1-$zMin)/zRef) t "OF, x=0m (Cell)" w l lw 2 lc rgb "#F0E440"
|
||||
@ -72,11 +72,11 @@ plotUxMid() {
|
||||
inp3="$timeDir/x_4000m_U.xy"
|
||||
|
||||
plot \
|
||||
"system/benchmark-data-HargreavesWright2007/Ux-HW-RH-Fig6a" \
|
||||
"system/atm-HargreavesWright-2007/Ux-HW-RH-Fig6a" \
|
||||
u 1:2 t "RH" w p ps 2 pt 6 lc rgb "#000000", \
|
||||
"system/benchmark-data-HargreavesWright2007/Ux-HW-RH-Fig6a" \
|
||||
"system/atm-HargreavesWright-2007/Ux-HW-RH-Fig6a" \
|
||||
u 1:2 t "HW, x=2500m" w p ps 1 pt 5 lc rgb "#E69F00", \
|
||||
"system/benchmark-data-HargreavesWright2007/Ux-HW-RH-Fig6a" \
|
||||
"system/atm-HargreavesWright-2007/Ux-HW-RH-Fig6a" \
|
||||
u 1:2 t "HW, x=4000m" w p ps 0.5 pt 4 lc rgb "#56B4E9", \
|
||||
inp2 u 2:((\$1-$zMin)/zRef) t "OF, x=2500m" w l lw 2 lc rgb "#0072B2", \
|
||||
inp3 u 2:((\$1-$zMin)/zRef) t "OF, x=4000m" w l lw 2 lc rgb "#D55E00"
|
||||
@ -106,11 +106,11 @@ plotUxDownstream() {
|
||||
inp5="$timeDir/x_5000mPatch_U.xy"
|
||||
|
||||
plot \
|
||||
"system/benchmark-data-HargreavesWright2007/Ux-HW-RH-Fig6a" \
|
||||
"system/atm-HargreavesWright-2007/Ux-HW-RH-Fig6a" \
|
||||
u 1:2 t "RH" w p ps 2 pt 6 lc rgb "#000000", \
|
||||
"system/benchmark-data-HargreavesWright2007/Ux-HW-RH-Fig6a" \
|
||||
"system/atm-HargreavesWright-2007/Ux-HW-RH-Fig6a" \
|
||||
u 1:2 t "HW, x=2500m" w p ps 1 pt 5 lc rgb "#E69F00", \
|
||||
"system/benchmark-data-HargreavesWright2007/Ux-HW-RH-Fig6a" \
|
||||
"system/atm-HargreavesWright-2007/Ux-HW-RH-Fig6a" \
|
||||
u 1:2 t "HW, x=4000m" w p ps 0.5 pt 4 lc rgb "#56B4E9", \
|
||||
inp4 u 2:((\$1-$zMin)/zRef) t "OF, x=5000m (Cell)" w l lw 2 lc rgb "#CC79A7", \
|
||||
inp5 u 2:((\$1-$zMin)/zRef) t "OF, x=5000m (Patch)" w l lw 2 lc rgb "#440154"
|
||||
@ -146,11 +146,11 @@ plotK() {
|
||||
inp5="$timeDir/x_5000mPatch_$items.xy"
|
||||
|
||||
plot \
|
||||
"system/benchmark-data-HargreavesWright2007/k-RH-Fig6b" \
|
||||
"system/atm-HargreavesWright-2007/k-RH-Fig6b" \
|
||||
u 1:2 t "RH" w p ps 2 pt 6 lc rgb "#000000", \
|
||||
"system/benchmark-data-HargreavesWright2007/k-HW-Fig6b-2500" \
|
||||
"system/atm-HargreavesWright-2007/k-HW-Fig6b-2500" \
|
||||
u 1:2 t "HW, x=2500m" w p ps 1 pt 5 lc rgb "#E69F00", \
|
||||
"system/benchmark-data-HargreavesWright2007/k-HW-Fig6b-4000" \
|
||||
"system/atm-HargreavesWright-2007/k-HW-Fig6b-4000" \
|
||||
u 1:2 t "HW, x=4000m" w p ps 0.5 pt 4 lc rgb "#56B4E9", \
|
||||
inp0 u $seq:((\$1-$zMin)/zRef) t "OF, x=0m (Patch)" w l lw 2 lc rgb "#009E73", \
|
||||
inp1 u $seq:((\$1-$zMin)/zRef) t "OF, x=0m (Cell)" w l lw 2 lc rgb "#F0E440", \
|
||||
@ -191,11 +191,11 @@ plotEpsilon() {
|
||||
inp5="$timeDir/x_5000mPatch_$items.xy"
|
||||
|
||||
plot \
|
||||
"system/benchmark-data-HargreavesWright2007/epsilon-HW-RH-Fig6c" \
|
||||
"system/atm-HargreavesWright-2007/epsilon-HW-RH-Fig6c" \
|
||||
u 1:2 t "RH" w p ps 2 pt 6 lc rgb "#000000", \
|
||||
"system/benchmark-data-HargreavesWright2007/epsilon-HW-RH-Fig6c" \
|
||||
"system/atm-HargreavesWright-2007/epsilon-HW-RH-Fig6c" \
|
||||
u 1:2 t "HW, x=2500m" w p ps 1 pt 5 lc rgb "#E69F00", \
|
||||
"system/benchmark-data-HargreavesWright2007/epsilon-HW-RH-Fig6c" \
|
||||
"system/atm-HargreavesWright-2007/epsilon-HW-RH-Fig6c" \
|
||||
u 1:2 t "HW, x=4000m" w p ps 0.5 pt 4 lc rgb "#56B4E9", \
|
||||
inp0 u 2:((\$1-$zMin)/zRef) t "OF, x=0m (Patch)" w l lw 2 lc rgb "#009E73", \
|
||||
inp1 u 2:((\$1-$zMin)/zRef) t "OF, x=0m (Cell)" w l lw 2 lc rgb "#F0E440", \
|
||||
@ -273,11 +273,11 @@ plotMut() {
|
||||
inp5="$timeDir/x_5000mPatch_$items.xy"
|
||||
|
||||
plot \
|
||||
"system/benchmark-data-HargreavesWright2007/mut-RH-Fig6d" \
|
||||
"system/atm-HargreavesWright-2007/mut-RH-Fig6d" \
|
||||
u 1:2 t "RH" w p ps 2 pt 6 lc rgb "#000000", \
|
||||
"system/benchmark-data-HargreavesWright2007/mut-HW-Fig6d-2500" \
|
||||
"system/atm-HargreavesWright-2007/mut-HW-Fig6d-2500" \
|
||||
u 1:2 t "HW, x=2500m" w p ps 1 pt 5 lc rgb "#E69F00", \
|
||||
"system/benchmark-data-HargreavesWright2007/mut-HW-Fig6d-4000" \
|
||||
"system/atm-HargreavesWright-2007/mut-HW-Fig6d-4000" \
|
||||
u 1:2 t "HW, x=4000m" w p ps 0.5 pt 4 lc rgb "#56B4E9", \
|
||||
inp0 u $seq:((\$1-$zMin)/zRef) t "OF, x=0m (Patch)" w l lw 2 lc rgb "#009E73", \
|
||||
inp1 u $seq:((\$1-$zMin)/zRef) t "OF, x=0m (Cell)" w l lw 2 lc rgb "#F0E440", \
|
||||
|
||||
@ -22,7 +22,8 @@ sed -e "s|RAS_MODEL|$RASmodel|g" \
|
||||
constant/turbulenceProperties.template \
|
||||
> constant/turbulenceProperties
|
||||
sed -e "s|L_MAX|$Lmax|g" constant/fvOptions.template > constant/fvOptions
|
||||
sed -e "s|Q_PLANT|$qPlant|g" 0.orig/qPlant.template > 0/qPlant
|
||||
sed -e "s|Q_PLANT|$qPlant|g" 0/qPlant.template > 0/qPlant
|
||||
rm -f 0/qPlant.template
|
||||
|
||||
runApplication renumberMesh -overwrite
|
||||
|
||||
|
||||
@ -58,7 +58,6 @@ atmBuoyancyTurbSource1
|
||||
selectionMode all;
|
||||
rho rho;
|
||||
Lmax L_MAX;
|
||||
n 3.0;
|
||||
beta 3.3e-03;
|
||||
}
|
||||
}
|
||||
|
||||
@ -55,7 +55,6 @@ atmBuoyancyTurbSource1
|
||||
selectionMode all;
|
||||
rho rho;
|
||||
Lmax 41.0;
|
||||
n 3.0;
|
||||
beta 3.3e-03;
|
||||
}
|
||||
}
|
||||
|
||||
@ -55,7 +55,6 @@ atmBuoyancyTurbSource1
|
||||
selectionMode all;
|
||||
rho rho;
|
||||
Lmax L_MAX;
|
||||
n 3.0;
|
||||
beta 3.3e-03;
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,3 +12,4 @@ rm -f *.png
|
||||
rm -f constant/{R*,points*,UMean*}
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -3,10 +3,10 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
endTime=85
|
||||
endTime=10
|
||||
if notTest "$@"
|
||||
then
|
||||
endTime=10
|
||||
endTime=85
|
||||
fi
|
||||
|
||||
sed "s|END_TIME|$endTime|g" system/controlDict.template > system/controlDict
|
||||
@ -18,3 +18,4 @@ runApplication blockMesh
|
||||
rm -rf results
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -30,3 +30,4 @@ the 'results' directory.
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user