![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <postprocessors.h>
Public Member Functions | |
| SRFPostprocessor (double p_omega_x, double p_omega_y, double p_omega_z) | |
| virtual void | evaluate_vector_field (const DataPostprocessorInputs::Vector< dim > &inputs, std::vector< Vector< double > > &computed_quantities) const override |
Private Attributes | |
| double | omega_x |
| double | omega_y |
| double | omega_z |
Compute the velocity field in the Eulerian frame of reference for simulations carried out in a single rotating frame (SRF).
The velocity in the Eulerian frame is \(\mathbf{u}_\mathrm{E} =\mathbf{u}_\mathrm{L}+ \mathbf{\Omega} \times \mathbf{R}\) where \(\mathbf{\Omega}\) is the velocity of the frame of reference and \(\mathbf{R}\) the position vector.
Definition at line 262 of file postprocessors.h.
|
inline |
Constructor of the single rotating frame SRF postprocessor.
| [in] | p_omega_x | Value of the \(x\) component of the SRF's velocity. |
| [in] | p_omega_y | Value of the \(y\) component of the SRF's velocity. |
| [in] | p_omega_z | Value of the \(z\) component of the SRF's velocity. |
Definition at line 274 of file postprocessors.h.
|
inlineoverridevirtual |
Compute the Eulerian velocity in a SRF at given evaluation points.
| [in] | inputs | Fluid dynamics velocity and pressure information. |
| [out] | computed_quantities | Computed Eulerian velocity 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 vector is used to compute the Eulerian velocity. Definition at line 295 of file postprocessors.h.
|
private |
Value of the \(x\) component of the SRF's velocity.
Definition at line 330 of file postprocessors.h.
|
private |
Value of the \(y\) component of the SRF's velocity.
Definition at line 332 of file postprocessors.h.
|
private |
Value of the \(z\) component of the SRF's velocity.
Definition at line 334 of file postprocessors.h.