mus_updateSrcVar_turbChanForce Subroutine

public subroutine mus_updateSrcVar_turbChanForce(fun, auxField, iLevel, varSys, phyConvFac, derVarPos)

Compute dynamic force term using auxField for turbulent channel force.

If wall model BC is applied than compute the friction velocity If wall model BC is not used than compute the friction velocity from the single sided finite difference's and perform the spatial averaging. Friction velocity is computed only on elements intersected by shape_utau defined in musubi.lua. Bulk mean velocity part of forcing is independent whether a wall

Arguments

Type IntentOptional Attributes Name
class(mus_source_op_type), intent(inout) :: fun

Description of method to update source

real(kind=rk), intent(in) :: auxField(:)

input auxField array on current level

integer, intent(in) :: iLevel

current level

type(tem_varSys_type), intent(in) :: varSys

variable system definition

type(mus_convertFac_type), intent(in) :: phyConvFac

Physics conversion factor on current level

type(mus_derVarPos_type), intent(in) :: derVarPos(:)

position of derived quantities in varsys


Calls

proc~~mus_updatesrcvar_turbchanforce~~CallsGraph proc~mus_updatesrcvar_turbchanforce mus_updateSrcVar_turbChanForce auxfield_varpos auxfield_varpos proc~mus_updatesrcvar_turbchanforce->auxfield_varpos map2global map2global proc~mus_updatesrcvar_turbchanforce->map2global mpi_allreduce mpi_allreduce proc~mus_updatesrcvar_turbchanforce->mpi_allreduce tem_LevelOf tem_LevelOf proc~mus_updatesrcvar_turbchanforce->tem_LevelOf treeid treeid proc~mus_updatesrcvar_turbchanforce->treeid val val proc~mus_updatesrcvar_turbchanforce->val