![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <postprocessors.h>
Public Member Functions | |
| QCriterionPostprocessor () | |
| virtual void | evaluate_vector_field (const DataPostprocessorInputs::Vector< dim > &input_data, std::vector< Vector< double > > &computed_quantities) const override |
Compute the Q-criterion scalar field within a domain.
The Q-criterion is defined as \(Q = 0.5 (||\mathbf{\omega}||^2 - ||\mathbf{S}||^2)\) where \(\mathbf{\omega}\) is the vorticity vector and \(\mathbf{S}\) is the symmetric deformation tensor.
Definition at line 88 of file postprocessors.h.
|
inline |
Constructor of the Q-criterion postprocessor.
Definition at line 94 of file postprocessors.h.
|
inlineoverridevirtual |
Computes the Q-criterion from the velocity vector at given evaluation points.
| [in] | input_data | Fluid dynamics velocity and pressure information. |
| [out] | computed_quantities | Computed Q-criterion 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 Q-criterion. Definition at line 112 of file postprocessors.h.