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

Implements most_t.

Data Types

type  most_t
 Wall model based on the Monin-Obukhov Similarity Theory for atmospheric boundary layer flows. Automatically switches between stable, unstable and neutral layer formulations based on the Richardson number. More...
 

Functions/Subroutines

subroutine most_init (this, scheme_name, coef, msk, facet, h_index, json)
 Constructor from JSON.
 
subroutine most_partial_init (this, coef, json)
 Constructor from JSON.
 
subroutine most_finalize (this, msk, facet)
 Finalize the construction using the mask and facet arrays of the bc.
 
subroutine most_extract_properties (this)
 Extract the values of rho and mu at the boundary.
 
subroutine most_init_from_components (this, scheme_name, scalar_name, coef, msk, facet, h_index, kappa, g, pr, z0, z0h_in, bc_type, bc_value)
 Constructor from components.
 
subroutine most_free (this)
 Destructor for the most_t (base) class.
 
subroutine most_compute (this, t, tstep)
 Compute the wall shear stress.
 
subroutine most_log_diagnostics (ri_b, l_ob, utau, magu, ti, ts, q, n_nodes, bc_value)
 

Function/Subroutine Documentation

◆ most_compute()

subroutine most::most_compute ( class(most_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 445 of file most.f90.

Here is the call graph for this function:

◆ most_extract_properties()

subroutine most::most_extract_properties ( class(most_t), intent(inout this)
private

Definition at line 300 of file most.f90.

Here is the call graph for this function:

◆ most_finalize()

subroutine most::most_finalize ( class(most_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 228 of file most.f90.

◆ most_free()

subroutine most::most_free ( class(most_t), intent(inout this)
private

Definition at line 396 of file most.f90.

Here is the call graph for this function:

◆ most_init()

subroutine most::most_init ( class(most_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 117 of file most.f90.

◆ most_init_from_components()

subroutine most::most_init_from_components ( class(most_t), intent(inout this,
character(len=*), intent(in scheme_name,
character(len=*), intent(in scalar_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), dimension(3), intent(in g,
real(kind=rp), intent(in pr,
real(kind=rp), intent(in z0,
real(kind=rp), intent(in z0h_in,
character(len=*), intent(in bc_type,
real(kind=rp), intent(in bc_value 
)
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.
gThe gravity vector.
z0The roughness height.
z0h_inThe thermal roughness height. If negative, set automatically from Zilitinkevich, 1995.
bc_typeThe type of bc set for temperature in the case file.
scalar_nameThe name of the scalar field (temperature) for MOST.
bc_valueThe heat flux at the surface boundary condition.

Check magnitude of g

Check alignment across all nodes (handling hills/slopes)

Check sampling height

Definition at line 329 of file most.f90.

Here is the call graph for this function:

◆ most_log_diagnostics()

subroutine most::most_log_diagnostics ( type(vector_t), intent(in ri_b,
type(vector_t), intent(in l_ob,
type(vector_t), intent(in utau,
type(vector_t), intent(in magu,
type(vector_t), intent(in ti,
type(vector_t), intent(in ts,
type(vector_t), intent(in q,
integer, intent(in n_nodes,
real(kind=rp), intent(in bc_value 
)
private

Definition at line 495 of file most.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ most_partial_init()

subroutine most::most_partial_init ( class(most_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 170 of file most.f90.