Previous: Run the Flat Plate Up: Run the Flat Plate Next: Notes on Convergence
This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.
Configuration Script Allrun.sh
- flat plate test case has many options
- in this preset case the bash script Allrun.sh is modified
- in OpenFOAM the type of simulation is determined by the solver which is used
- for example simpleFoam (rhoSimpleFoam = compressible) solves steady-state RANS
- pisoFoam solves either RANS or LES
- wall treatment is set in parameter wall either wallFunction or lowRe
- just play around, change parameters and watch the results (gnu)plotted in .pdf files
#!/bin/bash
# --------------------------------------------------------------------------- #
# == === == #
# || ||= || )) support s. r. o. 2015, www.cfdsupport.com #
# == == #
# --------------------------------------------------------------------------- #
# script for running Turbulence CFD Training
# http://turbmodels.larc.nasa.gov/flatplate_val.html
turbulence=RANS #RANS/LES
solver=pisoFoam #simpleFoam #rhoSimpleFoam #pisoFoam
mode=incompressible #compressible/incompressible
wall=wallFunction #lowRe #wallFunction/lowRe
endTime=0.01 #when to end
deltaT=0.0001 #time step (in steady state just counter)
NProc=6 #number of cores in parallel
Nx=50 # number of x - cells
Ny=30 # number of y - cells
U=50; # free-stream velocity
# turbulenceModel=laminar
turbulenceModel=kOmegaSST
# turbulenceModel=realizableKE
# turbulenceModel=SpalartAllmaras
# turbulenceModel=kEpsilon
# turbulenceModel=RNGkEpsilon
# turbulenceModel=LaunderSharmaKE
# turbulenceModel=LRR #lowRe #RSM
# turbulenceModel=LaunderGibsonRSTM #lowRe #RSM
# only imcompressible:
# turbulenceModel=v2f #lowRe
# turbulenceModel=kkLOmega #lowRe
# turbulenceModel=LamBremhorstKE #lowRe
# turbulenceModel=LienCubicKE #lowRe
# turbulenceModel=LienCubicKELowRe #lowRe
# turbulenceModel=LienLeschzinerLowRe #lowRe
# turbulenceModel=NonlinearKEShih #lowRe
# turbulenceModel=qZeta #lowRe
# LESModel=laminar
LESModel=SpalartAllmarasDDES
# LESModel=DeardorffDiffStress
# LESModel=LRRDiffStress
# LESModel=Smagorinsky
# LESModel=SpalartAllmaras
# LESModel=SpalartAllmarasIDDES
# LESModel=dynLagrangian
# LESModel=dynOneEqEddy
# LESModel=homogeneousDynOneEqEddy
# LESModel=homogeneousDynSmagorinsky
# LESModel=kOmegaSSTSAS
# LESModel=mixedSmagorinsky
# LESModel=oneEqEddy
# LESModel=spectEddyVisc
# yGrading=50000
# yGrading=5000 #leads to y+ approx 0.1
# yGrading=2000 #leads to y+ approx 0.77
yGrading=1000 #leads to y+ approx 1
# yGrading=800 #leads to y+ approx 5
# yGrading=500 #leads to y+ approx 7
# yGrading=200 #leads to y+ approx 10
# yGrading=100 #leads to y+ approx 30
# yGrading=50 #leads to y+ approx 50
# yGrading=10 #leads to y+ approx
#################################################################################################