openfoam/tutorials/compressible/rhoPimpleFoam/RAS/externalCoupledSquareBendLiq/Allrun.pre
Mark Olesen 550e47629b ENH: configurable output temperature for externalCoupled mixed T BC (#1072)
- Uses the user-specified value for outputTemperature:

  {
      type  externalCoupledTemperature;
      outputTemperture  fluid;  // or wall;
  }

  Otherwises uses 'wall' as a default (for compatibility) and emits a
  warning.

  The T.out header now reflects the type of output. Eg,

     # Values: area Tfluid qDot htc
2018-12-02 17:35:48 +01:00

24 lines
615 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
runApplication blockMesh
# Restore initial fields
restore0Dir
# Controls
unset coupling testCreate
isTrue -dict controls -entry coupling && coupling=true
isTrue -dict controls -entry testCreate && testCreate=true
if [ "$coupling" = true ]
then
runApplication changeDictionary
# Create coupling geometry
runApplication createExternalCoupledPatchGeometry coupleGroup
fi
#------------------------------------------------------------------------------