mus_update_relaxParamFromViscSTfun Subroutine

public subroutine mus_update_relaxParamFromViscSTfun(omega, visc, viscSTfun, nElems, baryOfTotal, tNow, viscRef)

This routine is used to initialize relaxation paramter and update bulk viscosity at every time step Bulk visocisty is defined as space-time function to apply ramping and spatial sponge in bulk viscosity

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(inout) :: omega(:)

relaxation parameter

real(kind=rk), intent(inout) :: visc(:)

Kinematic viscosity

type(tem_spacetime_fun_type), intent(in) :: viscSTfun

viscosity space-time function

integer, intent(in) :: nElems

Number of local elements including halos

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

baryID of total list

type(tem_time_type), intent(in) :: tNow

current simulation time

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

reference physical viscosity on current level i.e. (dxP_l)^2/dtP_l Dividing physical viscosity with the viscRef gives vL_l/dtL_l


Calls

proc~~mus_update_relaxparamfromviscstfun~~CallsGraph proc~mus_update_relaxparamfromviscstfun mus_update_relaxParamFromViscSTfun proc~mus_calcomegafromvisc mus_calcOmegaFromVisc proc~mus_update_relaxparamfromviscstfun->proc~mus_calcomegafromvisc interface~tem_spacetime_for tem_spacetime_for proc~mus_update_relaxparamfromviscstfun->interface~tem_spacetime_for

Called by

proc~~mus_update_relaxparamfromviscstfun~~CalledByGraph proc~mus_update_relaxparamfromviscstfun mus_update_relaxParamFromViscSTfun proc~mus_init_fluid mus_init_fluid proc~mus_init_fluid->proc~mus_update_relaxparamfromviscstfun proc~mus_init_aux mus_init_aux proc~mus_init_aux->proc~mus_init_fluid proc~mus_reset_aux mus_reset_aux proc~mus_reset_aux->proc~mus_init_fluid proc~mus_hvs_init_aux mus_hvs_init_aux proc~mus_hvs_init_aux->proc~mus_init_fluid proc~mus_initialize mus_initialize proc~mus_initialize->proc~mus_init_aux program~mus_harvesting mus_harvesting program~mus_harvesting->proc~mus_hvs_init_aux proc~mus_perform_dynloadbal mus_perform_dynLoadBal proc~mus_perform_dynloadbal->proc~mus_reset_aux none~do_balance do_balance none~do_balance->proc~mus_perform_dynloadbal program~musubi musubi program~musubi->proc~mus_initialize

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iChunk

lattice time step size in current level

integer, private :: nChunks

lattice time step size in current level

integer, private :: nChunkElems

lattice time step size in current level

integer, private :: elemoff

lattice time step size in current level

integer, private :: minBuf
integer, private :: maxBuf