Neko  0.8.99
A portable framework for high-order spectral element flow simulations
spalding::spalding_t Type Reference

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

Inheritance diagram for spalding::spalding_t:
Collaboration diagram for spalding::spalding_t:

Public Member Functions

procedure, pass(this) init => spalding_init
 Constructor from JSON. More...
 
procedure, pass(this) init_from_components => spalding_init_from_components
 Constructor from components. More...
 
procedure, pass(this) free => spalding_free
 Destructor. More...
 
procedure, pass(this) compute => spalding_compute
 Compute the wall shear stress. More...
 
procedure, pass(this) init_base => wall_model_init_base
 Constructor for the wall_model_t (base) class. More...
 
procedure, pass(this) free_base => wall_model_free_base
 Destructor for the wall_model_t (base) class. More...
 
procedure, pass(this) find_points => wall_model_find_points
 Find the sampling points based on the value of h_index. More...
 

Public Attributes

real(kind=rp) kappa = 0.41_rp
 The von Karman coefficient. More...
 
real(kind=rp) b = 5.2_rp
 The log-law intercept. More...
 
type(coef_t), pointer coef => null()
 SEM coefficients. More...
 
type(dofmap_t), pointer dof => null()
 Map of degrees of freedom. More...
 
integer, dimension(:), pointer msk => null()
 The boundary condition mask. Stores the array size at index zero! More...
 
integer, dimension(:), pointer facet => null()
 The boundary condition facet ids. Stores the array size at index zero! More...
 
real(kind=rp), dimension(:), allocatable tau_x
 The x component of the shear stress. More...
 
real(kind=rp), dimension(:), allocatable tau_y
 The y component of the shear stress. More...
 
real(kind=rp), dimension(:), allocatable tau_z
 The z component of the shear stress. More...
 
type(vector_t) n_x
 The x component of the normal. More...
 
type(vector_t) n_y
 The y component of the normal. More...
 
type(vector_t) n_z
 The z component of the normal. More...
 
integer, dimension(:), allocatable ind_r
 The r indices of the sampling points. More...
 
integer, dimension(:), allocatable ind_s
 The s indices of the sampling points. More...
 
integer, dimension(:), allocatable ind_t
 The t indices of the sampling points. More...
 
integer, dimension(:), allocatable ind_e
 The element indices of the sampling points. More...
 
type(vector_t) h
 The sampling height. More...
 
integer h_index = 0
 Sampling index. More...
 
integer n_nodes = 0
 Number of nodes in the boundary. More...
 
real(kind=rp) nu = 0_rp
 Kinematic viscosity value. More...
 
type(field_t), pointer tau_field => null()
 The 3D field with the computed stress magnitude at the boundary. More...
 

Private Member Functions

procedure, pass(this), private solve
 Solve for the friction velocity. More...
 

Detailed Description

Definition at line 53 of file spalding.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure, pass(this) spalding::spalding_t::compute

Definition at line 67 of file spalding.f90.

◆ find_points()

procedure, pass(this) wall_model::wall_model_t::find_points
inherited

Definition at line 105 of file wall_model.f90.

◆ free()

procedure, pass(this) spalding::spalding_t::free

Definition at line 65 of file spalding.f90.

◆ free_base()

procedure, pass(this) wall_model::wall_model_t::free_base
inherited

Definition at line 97 of file wall_model.f90.

◆ init()

procedure, pass(this) spalding::spalding_t::init

Definition at line 60 of file spalding.f90.

◆ init_base()

procedure, pass(this) wall_model::wall_model_t::init_base
inherited

Definition at line 95 of file wall_model.f90.

◆ init_from_components()

procedure, pass(this) spalding::spalding_t::init_from_components

Definition at line 62 of file spalding.f90.

◆ solve()

procedure, pass(this), private spalding::spalding_t::solve
private

Definition at line 69 of file spalding.f90.

Member Data Documentation

◆ b

real(kind=rp) spalding::spalding_t::b = 5.2_rp

Definition at line 57 of file spalding.f90.

◆ coef

type(coef_t), pointer wall_model::wall_model_t::coef => null()
inherited

Definition at line 56 of file wall_model.f90.

◆ dof

type(dofmap_t), pointer wall_model::wall_model_t::dof => null()
inherited

Definition at line 58 of file wall_model.f90.

◆ facet

integer, dimension(:), pointer wall_model::wall_model_t::facet => null()
inherited

Definition at line 62 of file wall_model.f90.

◆ h

type(vector_t) wall_model::wall_model_t::h
inherited

Definition at line 84 of file wall_model.f90.

◆ h_index

integer wall_model::wall_model_t::h_index = 0
inherited

Definition at line 86 of file wall_model.f90.

◆ ind_e

integer, dimension(:), allocatable wall_model::wall_model_t::ind_e
inherited

Definition at line 82 of file wall_model.f90.

◆ ind_r

integer, dimension(:), allocatable wall_model::wall_model_t::ind_r
inherited

Definition at line 76 of file wall_model.f90.

◆ ind_s

integer, dimension(:), allocatable wall_model::wall_model_t::ind_s
inherited

Definition at line 78 of file wall_model.f90.

◆ ind_t

integer, dimension(:), allocatable wall_model::wall_model_t::ind_t
inherited

Definition at line 80 of file wall_model.f90.

◆ kappa

real(kind=rp) spalding::spalding_t::kappa = 0.41_rp

Definition at line 55 of file spalding.f90.

◆ msk

integer, dimension(:), pointer wall_model::wall_model_t::msk => null()
inherited

Definition at line 60 of file wall_model.f90.

◆ n_nodes

integer wall_model::wall_model_t::n_nodes = 0
inherited

Definition at line 88 of file wall_model.f90.

◆ n_x

type(vector_t) wall_model::wall_model_t::n_x
inherited

Definition at line 70 of file wall_model.f90.

◆ n_y

type(vector_t) wall_model::wall_model_t::n_y
inherited

Definition at line 72 of file wall_model.f90.

◆ n_z

type(vector_t) wall_model::wall_model_t::n_z
inherited

Definition at line 74 of file wall_model.f90.

◆ nu

real(kind=rp) wall_model::wall_model_t::nu = 0_rp
inherited

Definition at line 90 of file wall_model.f90.

◆ tau_field

type(field_t), pointer wall_model::wall_model_t::tau_field => null()
inherited

Definition at line 92 of file wall_model.f90.

◆ tau_x

real(kind=rp), dimension(:), allocatable wall_model::wall_model_t::tau_x
inherited

Definition at line 64 of file wall_model.f90.

◆ tau_y

real(kind=rp), dimension(:), allocatable wall_model::wall_model_t::tau_y
inherited

Definition at line 66 of file wall_model.f90.

◆ tau_z

real(kind=rp), dimension(:), allocatable wall_model::wall_model_t::tau_z
inherited

Definition at line 68 of file wall_model.f90.


The documentation for this type was generated from the following file: