![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <postprocessors.h>
Public Member Functions | |
| DensityPostprocessor (std::shared_ptr< DensityModel > p_density_model, const unsigned int material_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< DensityModel > | density_model |
Compute the density scalar field of a material within a domain.
The expression for the density depends on the density model of the material. See documentation on density models.
Definition at line 733 of file postprocessors.h.
|
inline |
Constructor for the density postprocessor.
| [in] | p_density_model | Density model of the material. |
| [in] | material_id | Identifier corresponding to the material (fluid or solid). |
Definition at line 744 of file postprocessors.h.
References density_model.
|
inlineoverridevirtual |
Compute the density of a material at given evaluation points.
| [in] | inputs | Fluid dynamics velocity and pressure information. |
| [out] | computed_quantities | Computed density value at evaluation points. |
Definition at line 761 of file postprocessors.h.
References density_model, and pressure.
|
private |
Model describing the material's density.
Definition at line 779 of file postprocessors.h.