![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <postprocessors.h>
Public Member Functions | |
| VorticityPostprocessor () | |
| virtual void | evaluate_vector_field (const DataPostprocessorInputs::Vector< dim > &input_data, std::vector< Vector< double > > &computed_quantities) const override |
Compute the vorticity vector field within a domain.
The vorticity is defined as \(\mathbf{\omega} = \nabla \times \mathbf{u} = \mathrm{rot}(\mathbf{u})\) where \(\mathbf{u}\) is the velocity vector.
Definition at line 25 of file postprocessors.h.
|
inline |
Constructor of the vorticity postprocessor.
Definition at line 31 of file postprocessors.h.
|
inlineoverridevirtual |
Compute the vorticity vector from the velocity vector at given evaluation points.
| [in] | input_data | Fluid dynamics velocity and pressure information. |
| [out] | computed_quantities | Computed vorticity vector 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 vorticity. Definition at line 49 of file postprocessors.h.