Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
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)
 Apply shear stress for a scalar field x.
 
subroutine shear_stress_apply_vector (this, x, y, z, n, t, tstep)
 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)
 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)
 Boundary condition apply for a generic shear_stress condition to vectors x, y and z (device version)
 
subroutine shear_stress_init_shear_stress (this, coef)
 Additional constructor that should be run after the finalization of the bc. Similar to the symmetry condition.
 
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 
)

Definition at line 78 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 
)
private

Definition at line 111 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 
)
private

Definition at line 94 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 
)
private

Definition at line 123 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 194 of file shear_stress.f90.

◆ shear_stress_init_shear_stress()

subroutine shear_stress::shear_stress_init_shear_stress ( class(shear_stress_t), intent(inout this,
type(coef_t), intent(in), target  coef 
)
private
Parameters
coefThe SEM coefficients.

Definition at line 138 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 181 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 166 of file shear_stress.f90.