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