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

Implements rough_log_law_t.

Data Types

type  rough_log_law_t
 Wall model based on the log-law for a rough wall. The formula defining the law is \( u^+ = log(z/z_0)/\kappa + B \). Here, \( z \) is the wall-normal distance, as per tradition in atmospheric sciences, where this law is often used. More...
 

Functions/Subroutines

subroutine rough_log_law_init (this, scheme_name, coef, msk, facet, json)
 Constructor from JSON.
 
subroutine rough_log_law_partial_init (this, coef, scheme_name, json)
 Constructor from JSON.
 
subroutine rough_log_law_finalize (this, msk, facet, bc_name, user)
 Finalize the construction using the mask and facet arrays of the bc.
 
subroutine rough_log_law_extract_properties (this)
 Extract the values of rho at the boundary.
 
subroutine rough_log_law_init_from_components (this, scheme_name, coef, msk, facet, sampler, kappa, b, z0)
 Constructor from components.
 
subroutine rough_log_law_validate_sampling_height (this)
 
subroutine rough_log_law_free (this)
 Destructor for the rough_log_law_t (base) class.
 
subroutine rough_log_law_compute (this, t, tstep)
 Compute the wall shear stress.
 

Function/Subroutine Documentation

◆ rough_log_law_compute()

subroutine rough_log_law::rough_log_law_compute ( class(rough_log_law_t), intent(inout this,
real(kind=rp), intent(in t,
integer, intent(in tstep 
)
private
Parameters
tThe time value.
tstepThe time iteration.

Definition at line 247 of file rough_log_law.f90.

Here is the call graph for this function:

◆ rough_log_law_extract_properties()

subroutine rough_log_law::rough_log_law_extract_properties ( class(rough_log_law_t), intent(inout this)
private

Definition at line 172 of file rough_log_law.f90.

Here is the call graph for this function:

◆ rough_log_law_finalize()

subroutine rough_log_law::rough_log_law_finalize ( class(rough_log_law_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 153 of file rough_log_law.f90.

Here is the call graph for this function:

◆ rough_log_law_free()

subroutine rough_log_law::rough_log_law_free ( class(rough_log_law_t), intent(inout this)
private

Definition at line 233 of file rough_log_law.f90.

◆ rough_log_law_init()

subroutine rough_log_law::rough_log_law_init ( class(rough_log_law_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 102 of file rough_log_law.f90.

Here is the call graph for this function:

◆ rough_log_law_init_from_components()

subroutine rough_log_law::rough_log_law_init_from_components ( class(rough_log_law_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,
real(kind=rp), intent(in z0 
)
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.
z0The roughness height.

Definition at line 194 of file rough_log_law.f90.

Here is the call graph for this function:

◆ rough_log_law_partial_init()

subroutine rough_log_law::rough_log_law_partial_init ( class(rough_log_law_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 125 of file rough_log_law.f90.

◆ rough_log_law_validate_sampling_height()

subroutine rough_log_law::rough_log_law_validate_sampling_height ( class(rough_log_law_t), intent(in this)
private

Definition at line 221 of file rough_log_law.f90.

Here is the caller graph for this function: