Neko 1.99.11
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, time, strong)
 Apply shear stress for a scalar field x.
subroutine shear_stress_apply_vector (this, x, y, z, n, time, 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, time, strong, strm)
 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, time, strong, strm)
 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)
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,
type(time_state_t), intent(in), optional time,
logical, intent(in), optional strong )

Definition at line 84 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), 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 142 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,
type(time_state_t), intent(in), optional time,
logical, intent(in), optional strong )
private

Definition at line 100 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), 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 155 of file shear_stress.f90.

Here is the call graph for this function:

◆ shear_stress_finalize()

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

Definition at line 228 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 272 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), 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 191 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 210 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,
type(vector_t), intent(in) tau_x,
type(vector_t), intent(in) tau_y,
type(vector_t), intent(in) tau_z )
private
Parameters
tau_xThe x component of the stress.
tau_yThe y component of the stress.
tau_zThe z component of the stress.

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