Neko 1.99.1
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
spalding Module Reference

Implements spalding_t.

Data Types

type  spalding_t
 Wall model based on Spalding's law of the wall. Reference: http://dx.doi.org/10.1115/1.3641728. More...
 

Functions/Subroutines

subroutine spalding_init (this, scheme_name, coef, msk, facet, h_index, json)
 Constructor from JSON.
 
subroutine spalding_partial_init (this, coef, json)
 Constructor from JSON.
 
subroutine spalding_finalize (this, msk, facet)
 Finalize the construction using the mask and facet arrays of the bc.
 
subroutine spalding_init_from_components (this, scheme_name, coef, msk, facet, h_index, kappa, b)
 Constructor from components.
 
subroutine spalding_compute_nu (this)
 Compute the kinematic viscosity vector.
 
subroutine spalding_free (this)
 Destructor for the spalding_t (base) class.
 
subroutine spalding_compute (this, t, tstep)
 Compute the wall shear stress.
 

Function/Subroutine Documentation

◆ spalding_compute()

subroutine spalding::spalding_compute ( class(spalding_t), intent(inout this,
real(kind=rp), intent(in t,
integer, intent(in tstep 
)
private
Parameters
tThe time value.
tstepThe current time-step.

Definition at line 193 of file spalding.f90.

Here is the call graph for this function:

◆ spalding_compute_nu()

subroutine spalding::spalding_compute_nu ( class(spalding_t), intent(inout this)
private

Definition at line 163 of file spalding.f90.

Here is the call graph for this function:

◆ spalding_finalize()

subroutine spalding::spalding_finalize ( class(spalding_t), intent(inout this,
integer, dimension(:), intent(in msk,
integer, dimension(:), intent(in facet 
)
private
Parameters
mskThe boundary mask.
facetThe boundary facets.

Definition at line 125 of file spalding.f90.

◆ spalding_free()

subroutine spalding::spalding_free ( class(spalding_t), intent(inout this)
private

Definition at line 183 of file spalding.f90.

◆ spalding_init()

subroutine spalding::spalding_init ( class(spalding_t), intent(inout this,
character(len=*), intent(in scheme_name,
type(coef_t), intent(in coef,
integer, dimension(:), intent(in msk,
integer, dimension(:), intent(in facet,
integer, intent(in h_index,
type(json_file), intent(inout json 
)
Parameters
scheme_nameThe name of the scheme for which the wall model is used.
coefSEM coefficients.
mskThe boundary mask.
facetThe boundary facets.
h_indexThe off-wall index of the sampling cell.
jsonA dictionary with parameters.

Definition at line 91 of file spalding.f90.

◆ spalding_init_from_components()

subroutine spalding::spalding_init_from_components ( class(spalding_t), intent(inout this,
character(len=*), intent(in scheme_name,
type(coef_t), intent(in coef,
integer, dimension(:), intent(in msk,
integer, dimension(:), intent(in facet,
integer, intent(in h_index,
real(kind=rp), intent(in kappa,
real(kind=rp), intent(in b 
)
private
Parameters
scheme_nameThe name of the scheme for which the wall model is used.
coefSEM coefficients.
mskThe boundary mask.
facetThe boundary facets.
h_indexThe off-wall index of the sampling cell.
kappaThe von Karman coefficient.
BThe log-law intercept.

Definition at line 142 of file spalding.f90.

◆ spalding_partial_init()

subroutine spalding::spalding_partial_init ( class(spalding_t), intent(inout this,
type(coef_t), intent(in coef,
type(json_file), intent(inout json 
)
private
Parameters
coefSEM coefficients.
jsonA dictionary with parameters.

Definition at line 111 of file spalding.f90.