Neko 1.99.9
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, json)
 Constructor from JSON.
 
subroutine spalding_partial_init (this, coef, scheme_name, json)
 Constructor from JSON.
 
subroutine spalding_finalize (this, msk, facet, bc_name, user)
 Finalize the construction using the mask and facet arrays of the bc.
 
subroutine spalding_init_from_components (this, scheme_name, coef, msk, facet, sampler, 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 234 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 194 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,
character(len=*), intent(in), optional  bc_name,
type(user_t), intent(in), optional, target  user 
)
private
Parameters
mskThe boundary mask.
facetThe boundary facets.

Definition at line 144 of file spalding.f90.

◆ spalding_free()

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

Definition at line 219 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,
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.
jsonA dictionary with parameters.

Definition at line 98 of file spalding.f90.

Here is the call graph for this function:

◆ 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,
class(wall_sampler_t), intent(inout), allocatable  sampler,
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.
samplerThe sampling strategy. Ownership is transferred.
kappaThe von Karman coefficient.
BThe log-law intercept.

Definition at line 168 of file spalding.f90.

◆ spalding_partial_init()

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

Definition at line 119 of file spalding.f90.