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

Defines the wall_model_bc_t type. Maintainer: Timofey Mukha.

Data Types

type  wall_model_bc_t
 A shear stress boundary condition, computing the stress values using a wall model. More...
 

Functions/Subroutines

subroutine wall_model_bc_apply_scalar (this, x, n, time, strong)
 Apply shear stress for a scalar field x.
 
subroutine wall_model_bc_apply_vector (this, x, y, z, n, time, strong)
 Apply the boundary condition to the right-hand side.
 
subroutine wall_model_bc_apply_scalar_dev (this, x_d, time, strong, strm)
 Boundary condition apply for a generic wall_model_bc condition to a vector x (device version)
 
subroutine wall_model_bc_apply_vector_dev (this, x_d, y_d, z_d, time, strong, strm)
 Boundary condition apply for a generic wall_model_bc condition to vectors x, y and z (device version)
 
subroutine wall_model_bc_init (this, coef, json)
 Constructor.
 
subroutine wall_model_bc_free (this)
 Destructor.
 
subroutine wall_model_bc_finalize (this, only_facets)
 Finalize by building mask arrays and init'ing the wall model.
 

Function/Subroutine Documentation

◆ wall_model_bc_apply_scalar()

subroutine wall_model_bc::wall_model_bc_apply_scalar ( class(wall_model_bc_t), intent(inout this,
real(kind=rp), dimension(n), intent(inout x,
integer, intent(in n,
type(time_state_t), intent(in), optional  time,
logical, intent(in), optional  strong 
)

Definition at line 72 of file wall_model_bc.f90.

◆ wall_model_bc_apply_scalar_dev()

subroutine wall_model_bc::wall_model_bc_apply_scalar_dev ( class(wall_model_bc_t), intent(inout), target  this,
type(c_ptr), intent(inout x_d,
type(time_state_t), intent(in), optional  time,
logical, intent(in), optional  strong,
type(c_ptr), intent(inout strm 
)
private

Definition at line 132 of file wall_model_bc.f90.

◆ wall_model_bc_apply_vector()

subroutine wall_model_bc::wall_model_bc_apply_vector ( class(wall_model_bc_t), intent(inout this,
real(kind=rp), dimension(n), intent(inout x,
real(kind=rp), dimension(n), intent(inout y,
real(kind=rp), dimension(n), intent(inout z,
integer, intent(in n,
type(time_state_t), intent(in), optional  time,
logical, intent(in), optional  strong 
)
private
Parameters
xThe x component of the right-hand side
yThe y component of the right-hand side
zThe z component of the right-hand side
nThe size of the right-hand side arrays.
tThe time value.
tstepThe time step.

Definition at line 90 of file wall_model_bc.f90.

◆ wall_model_bc_apply_vector_dev()

subroutine wall_model_bc::wall_model_bc_apply_vector_dev ( class(wall_model_bc_t), intent(inout), target  this,
type(c_ptr), intent(inout x_d,
type(c_ptr), intent(inout y_d,
type(c_ptr), intent(inout z_d,
type(time_state_t), intent(in), optional  time,
logical, intent(in), optional  strong,
type(c_ptr), intent(inout strm 
)
private

Definition at line 145 of file wall_model_bc.f90.

◆ wall_model_bc_finalize()

subroutine wall_model_bc::wall_model_bc_finalize ( class(wall_model_bc_t), intent(inout), target  this,
logical, intent(in), optional  only_facets 
)
private

Definition at line 214 of file wall_model_bc.f90.

◆ wall_model_bc_free()

subroutine wall_model_bc::wall_model_bc_free ( class(wall_model_bc_t), intent(inout), target  this)
private

Definition at line 205 of file wall_model_bc.f90.

◆ wall_model_bc_init()

subroutine wall_model_bc::wall_model_bc_init ( class(wall_model_bc_t), intent(inout), target  this,
type(coef_t), intent(in), target  coef,
type(json_file), intent(inout json 
)
private
Parameters
[in]coefThe SEM coefficients.
[in,out]jsonThe JSON object configuring the boundary condition.

Definition at line 188 of file wall_model_bc.f90.