Please refer to the header file documentation for complete set of details. ENH: add new fvOptions for ABL modelling - atmAmbientTurbSource - atmBuoyancyTurbSource - atmCoriolisUSource - atmLengthScaleTurbSource - atmPlantCanopyTurbSource - atmPlantCanopyUSource - atmPlantCanopyTSource - atmNutSource ENH: add new boundary conditions for ABL modelling with PatchFunction1 and TimeFunction1 support - atmAlphatkWallFunction - atmEpsilonWallFunction - atmNutkWallFunction - atmNutUWallFunction - atmNutWallFunction - atmOmegaWallFunction - atmTurbulentHeatFluxTemperature STYLE: change names of nutkAtmRoughWallFunction -> atmNutkWallFunction by ensuring the bitwise backward compatibility ENH: add new variable-scaling force computation method to actuationDiskSource ENH: review actuationDiskSource and radialActuationDiskSource ENH: add new function object, ObukhovLength ENH: add new ABL tutorials/verifications - verificationAndValidation/atmosphericModels/atmFlatTerrain - verification with the Leipzig field experiment - illustration of precursor/successor field mapping - verificationAndValidation/atmosphericModels/atmForestStability - verification with the Sweden field experiment - update incompressible/simpleFoam/turbineSiting
34 lines
1.2 KiB
Bash
Executable File
34 lines
1.2 KiB
Bash
Executable File
#!/bin/sh
|
|
cd "${0%/*}" || exit # Run from this directory
|
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
|
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
|
#------------------------------------------------------------------------------
|
|
|
|
./Allrun.pre
|
|
|
|
# Settings
|
|
RASmodel="kEpsilon" # "kOmegaSST"
|
|
stability="neutral"
|
|
Lmax="41.8"
|
|
qPlant="0.0"
|
|
|
|
echo " # Computations for the atmopsheric stability = $stability:"
|
|
echo " ## Lmax = $Lmax [m], qPlant = $qPlant [-]"
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
sed -e "s|RAS_MODEL|$RASmodel|g" constant/turbulenceProperties.temp > \
|
|
constant/turbulenceProperties
|
|
sed -e "s|L_MAX|$Lmax|g" constant/fvOptions.temp > constant/fvOptions
|
|
sed -e "s|Q_PLANT|$qPlant|g" 0.orig/qPlant.temp > 0/qPlant
|
|
|
|
runApplication renumberMesh -overwrite
|
|
|
|
runApplication $(getApplication)
|
|
|
|
# Scale up all the dimensions of the precursor computational domain
|
|
# to encapsulate the successor domain, so that mapFields can be used
|
|
runApplication transformPoints -scale '(10 10 1)' -translate '(0 0 20)'
|
|
|
|
#------------------------------------------------------------------------------ |