Loading [MathJax]/extensions/tex2jax.js
Neko 0.9.99
A portable framework for high-order spectral element flow simulations
All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Pages
shear_stress Module Reference

Defines a shear stress boundary condition for a vector field. Maintainer: Timofey Mukha.

Data Types

type  shear_stress_t
 A shear stress boundary condition. More...
 

Functions/Subroutines

subroutine shear_stress_apply_scalar (this, x, n, t, tstep, strong)
 Apply shear stress for a scalar field x.
 
subroutine shear_stress_apply_vector (this, x, y, z, n, t, tstep, strong)
 Boundary condition apply for a generic shear_stress condition to vectors x, y and z.
 
subroutine shear_stress_apply_scalar_dev (this, x_d, t, tstep, strong)
 Boundary condition apply for a generic shear_stress condition to a vector x (device version)
 
subroutine shear_stress_apply_vector_dev (this, x_d, y_d, z_d, t, tstep, strong)
 Boundary condition apply for a generic shear_stress condition to vectors x, y and z (device version)
 
subroutine shear_stress_init (this, coef, json)
 Constructor.
 
subroutine shear_stress_init_from_components (this, coef, value)
 Constructor from components.
 
subroutine shear_stress_finalize (this, only_facets)
 
subroutine shear_stress_set_stress_scalar (this, tau_x, tau_y, tau_z)
 Set the value of the shear stress vector using 3 scalars.
 
subroutine shear_stress_set_stress_array (this, tau_x, tau_y, tau_z)
 Set the shear stress components.
 
subroutine shear_stress_free (this)
 Destructor.
 

Function/Subroutine Documentation

◆ shear_stress_apply_scalar()

subroutine shear_stress::shear_stress_apply_scalar ( class(shear_stress_t), intent(inout this,
real(kind=rp), dimension(n), intent(inout x,
integer, intent(in n,
real(kind=rp), intent(in), optional  t,
integer, intent(in), optional  tstep,
logical, intent(in), optional  strong 
)

Definition at line 87 of file shear_stress.f90.

◆ shear_stress_apply_scalar_dev()

subroutine shear_stress::shear_stress_apply_scalar_dev ( class(shear_stress_t), intent(inout), target  this,
type(c_ptr)  x_d,
real(kind=rp), intent(in), optional  t,
integer, intent(in), optional  tstep,
logical, intent(in), optional  strong 
)
private

Definition at line 129 of file shear_stress.f90.

◆ shear_stress_apply_vector()

subroutine shear_stress::shear_stress_apply_vector ( class(shear_stress_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,
real(kind=rp), intent(in), optional  t,
integer, intent(in), optional  tstep,
logical, intent(in), optional  strong 
)
private

Definition at line 104 of file shear_stress.f90.

◆ shear_stress_apply_vector_dev()

subroutine shear_stress::shear_stress_apply_vector_dev ( class(shear_stress_t), intent(inout), target  this,
type(c_ptr)  x_d,
type(c_ptr)  y_d,
type(c_ptr)  z_d,
real(kind=rp), intent(in), optional  t,
integer, intent(in), optional  tstep,
logical, intent(in), optional  strong 
)
private

Definition at line 142 of file shear_stress.f90.

◆ shear_stress_finalize()

subroutine shear_stress::shear_stress_finalize ( class(shear_stress_t), intent(inout), target  this,
logical, intent(in), optional  only_facets 
)
private

Definition at line 199 of file shear_stress.f90.

◆ shear_stress_free()

subroutine shear_stress::shear_stress_free ( class(shear_stress_t), intent(inout), target  this)
private

Definition at line 255 of file shear_stress.f90.

◆ shear_stress_init()

subroutine shear_stress::shear_stress_init ( class(shear_stress_t), intent(inout), target  this,
type(coef_t), intent(in 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 159 of file shear_stress.f90.

◆ shear_stress_init_from_components()

subroutine shear_stress::shear_stress_init_from_components ( class(shear_stress_t), intent(inout), target  this,
type(coef_t), intent(in coef,
real(kind=rp), dimension(3), intent(in value 
)
private
Parameters
[in]coefThe SEM coefficients.
[in]valueThe value of the shear stress to apply.

Definition at line 178 of file shear_stress.f90.

◆ shear_stress_set_stress_array()

subroutine shear_stress::shear_stress_set_stress_array ( class(shear_stress_t), intent(inout this,
real(kind=rp), dimension(this%msk(0)), intent(in tau_x,
real(kind=rp), dimension(this%msk(0)), intent(in tau_y,
real(kind=rp), dimension(this%msk(0)), intent(in tau_z 
)
private

Definition at line 242 of file shear_stress.f90.

◆ shear_stress_set_stress_scalar()

subroutine shear_stress::shear_stress_set_stress_scalar ( class(shear_stress_t), intent(inout this,
real(kind=rp), intent(in tau_x,
real(kind=rp), intent(in tau_y,
real(kind=rp), intent(in tau_z 
)
private

Definition at line 227 of file shear_stress.f90.