Computes viscous stress at surface. More...
#include <Boundary_func.hpp>
Public Member Functions | |
int | n_var (int n_dim) const override |
number of output variables when called on n_dim -dimensional input | |
std::string | variable_name (int n_dim, int i_var) const override |
name of i_var th variable (for plotting) when called on n_dim -dimensional input | |
std::vector< double > | operator() (Boundary_connection &, int i_fqpoint, double time) const override |
Computes viscous stress at surface.
Stress is returned as a vector (i.e. the viscous force on the surface per unit area). For a steady flow with a no-slip BC, this is the shear stress. For an unsteady flow or a slip BC, there may be normal stresses.
Boundary_connection
object, which is written by the Spatial::Local
kernel. Thus this only works if at least 1 iteration has been run in order to compute viscous fluxes.
|
inlineoverridevirtual |
number of output variables when called on n_dim
-dimensional input
Implements hexed::Output_data.
|
overridevirtual |
face | A Boundary_connection object representing a face of an element that is on a boundary. |
i_fqpoint | Index of the face quadrature point ( \( \in [0, r^{n_{dim} - 1})\) where \(r\) is row size). |
time | Flow time. |
Implements hexed::Boundary_func.
|
inlineoverridevirtual |
name of i_var
th variable (for plotting) when called on n_dim
-dimensional input
Reimplemented from hexed::Output_data.