1

Previous: Run the NACA4412 Case Up: Run the NACA4412 Case 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

  • NACA4412 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
#!/bin/bash
# --------------------------------------------------------------------------- #
#   ==   ===  ==                                                              #
#  ||   ||=  || ))  support s. r. o. 2015, www.cfdsupport.com                 #
#   ==        ==                                                              #
# --------------------------------------------------------------------------- #
# script for running Turbulence CFD Training
# http://turbmodels.larc.nasa.gov/naca4412sep_val.html

 turbulence=RANS     #RANS/LES
 solver=simpleFoam #simpleFoam #rhoSimpleFoam #pisoFoam
 mode=incompressible            #compressible/incompressible
 wall=wallFunction #lowRe   		#wallFunction/lowRe
 endTime=0.01      #when to end 
 deltaT=0.00001     #time step (in steady state just counter) 
 NProc=6		  #number of cores in parallel
 mesh=3.5k  #3.5k 14k 57k 229k


#  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