![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <postprocessors.h>
Public Member Functions | |
| ShearRatePostprocessor () | |
| virtual void | evaluate_vector_field (const DataPostprocessorInputs::Vector< dim > &inputs, std::vector< Vector< double > > &computed_quantities) const override |
Compute the shear rate scalar field within a domain.
The shear rate is defined as \(\dot \gamma = \frac{\partial u_i} {\partial x_j} + \frac{\partial u_j}{\partial x_i}\) where \(i\) and \(j\) are dimension component indexes.
Definition at line 511 of file postprocessors.h.
|
inline |
Constructor of the shear rate postprocessor.
Definition at line 517 of file postprocessors.h.
|
inlineoverridevirtual |
Compute the shear rate at given evaluation points.
| [in] | inputs | Fluid dynamics velocity and pressure information. |
| [out] | computed_quantities | Computed shear rate value at evaluation points. |
input_data contains both velocity and pressure data since fluid dynamics in Lethe is solved in a monolithic way, but only the velocity gradient is used to compute the shear rate. Definition at line 534 of file postprocessors.h.
References calculate_shear_rate_magnitude(), and shear_rate.