global_sa.f90 Source File

Declare all the constants used by SA turbulence model


Files dependent on this one

sourcefile~~global_sa.f90~~AfferentGraph sourcefile~global_sa.f90 global_sa.f90 sourcefile~viscosity.f90 viscosity.f90 sourcefile~viscosity.f90->sourcefile~global_sa.f90 sourcefile~update.f90 update.f90 sourcefile~update.f90->sourcefile~global_sa.f90 sourcefile~update.f90->sourcefile~viscosity.f90 sourcefile~plusgs.f90 plusgs.f90 sourcefile~update.f90->sourcefile~plusgs.f90 sourcefile~viscous.f90 viscous.f90 sourcefile~update.f90->sourcefile~viscous.f90 sourcefile~source.f90 source.f90 sourcefile~update.f90->sourcefile~source.f90 sourcefile~lusgs.f90 lusgs.f90 sourcefile~update.f90->sourcefile~lusgs.f90 sourcefile~time.f90 time.f90 sourcefile~update.f90->sourcefile~time.f90 sourcefile~plusgs.f90->sourcefile~global_sa.f90 sourcefile~plusgs.f90->sourcefile~viscosity.f90 sourcefile~viscous.f90->sourcefile~global_sa.f90 sourcefile~viscous.f90->sourcefile~viscosity.f90 sourcefile~source.f90->sourcefile~global_sa.f90 sourcefile~source.f90->sourcefile~viscosity.f90 sourcefile~lusgs.f90->sourcefile~global_sa.f90 sourcefile~lusgs.f90->sourcefile~viscosity.f90 sourcefile~write_output_tec_node.f90 write_output_tec_node.f90 sourcefile~write_output_tec_node.f90->sourcefile~viscosity.f90 sourcefile~time.f90->sourcefile~viscosity.f90 sourcefile~write_output_tec.f90 write_output_tec.f90 sourcefile~write_output_tec.f90->sourcefile~viscosity.f90 sourcefile~solver.f90 solver.f90 sourcefile~solver.f90->sourcefile~viscosity.f90 sourcefile~solver.f90->sourcefile~update.f90 sourcefile~solver.f90->sourcefile~viscous.f90 sourcefile~solver.f90->sourcefile~time.f90 sourcefile~dump_solution.f90 dump_solution.f90 sourcefile~solver.f90->sourcefile~dump_solution.f90 sourcefile~write_output_vtk.f90 write_output_vtk.f90 sourcefile~write_output_vtk.f90->sourcefile~viscosity.f90 sourcefile~main.f90 main.f90 sourcefile~main.f90->sourcefile~solver.f90 sourcefile~write_output.f90 write_output.f90 sourcefile~write_output.f90->sourcefile~write_output_tec_node.f90 sourcefile~write_output.f90->sourcefile~write_output_tec.f90 sourcefile~write_output.f90->sourcefile~write_output_vtk.f90 sourcefile~dump_solution.f90->sourcefile~write_output.f90

Contents

Source Code


Source Code

  !< Declare all the constants used by SA turbulence model
module global_sa
  !< Declare all the constants used by SA turbulence model
  use iso_fortran_env, only : wp => real64

  real(wp), parameter  :: cb1    = 0.1355
  real(wp), parameter  :: cb2    = 0.6220
  real(wp), parameter  :: cw2    = 0.3
  real(wp), parameter  :: cw3    = 2.0
  real(wp), parameter  :: cv1    = 7.1
  real(wp), parameter  :: ct3    = 1.2
  real(wp), parameter  :: ct4    = 0.5
  real(wp), parameter  :: sigma_sa  = 2./3.
  real(wp), parameter  :: kappa_sa  = 0.41

  real(wp), parameter  :: cw1    = (cb1/(kappa_sa**2)) + ((1+cb2)/sigma_sa)

  real(wp), parameter  :: cv1_3 = cv1**3
  real(wp), parameter  :: cw3_6 = cw3**6

end module global_sa