![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <postprocessors.h>
Public Member Functions | |
| KinematicViscosityPostprocessor (std::shared_ptr< RheologicalModel > rheological_model, const unsigned int fluid_id=0) | |
| virtual void | evaluate_vector_field (const DataPostprocessorInputs::Vector< dim > &inputs, std::vector< Vector< double > > &computed_quantities) const override |
Private Attributes | |
| std::shared_ptr< RheologicalModel > | rheological_model |
Compute the kinematic viscosity scalar field of a fluid within a domain.
The expression for the kinematic viscosity depends on the rheological model of the fluid. See documentation on rheological models.
Definition at line 348 of file postprocessors.h.
|
inline |
Constructor of the kinematic viscosity postprocessor.
| [in] | rheological_model | Rheological model of the fluid. |
| [in] | fluid_id | Identifier corresponding to the fluid. |
Definition at line 358 of file postprocessors.h.
References rheological_model.
|
inlineoverridevirtual |
Compute the kinematic viscosity of a fluid at given evaluation points.
| [in] | inputs | Fluid dynamics velocity and pressure information. |
| [out] | computed_quantities | Computed kinematic viscosity 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 kinematic viscosity when the rheological model requires it. Definition at line 382 of file postprocessors.h.
References calculate_shear_rate_magnitude(), rheological_model, and shear_rate.
|
private |
Model describing the fluid's rheology.
Definition at line 411 of file postprocessors.h.