Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
SRFPostprocessor< dim > Class Template Reference

#include <postprocessors.h>

Inheritance diagram for SRFPostprocessor< dim >:
[legend]

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

Detailed Description

template<int dim>
class SRFPostprocessor< dim >

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.

Constructor & Destructor Documentation

◆ SRFPostprocessor()

template<int dim>
SRFPostprocessor< dim >::SRFPostprocessor ( double p_omega_x,
double p_omega_y,
double p_omega_z )
inline

Constructor of the single rotating frame SRF postprocessor.

Parameters
[in]p_omega_xValue of the \(x\) component of the SRF's velocity.
[in]p_omega_yValue of the \(y\) component of the SRF's velocity.
[in]p_omega_zValue of the \(z\) component of the SRF's velocity.

Definition at line 274 of file postprocessors.h.

References omega_x, omega_y, and omega_z.

Member Function Documentation

◆ evaluate_vector_field()

template<int dim>
virtual void SRFPostprocessor< dim >::evaluate_vector_field ( const DataPostprocessorInputs::Vector< dim > & inputs,
std::vector< Vector< double > > & computed_quantities ) const
inlineoverridevirtual

Compute the Eulerian velocity in a SRF at given evaluation points.

Parameters
[in]inputsFluid dynamics velocity and pressure information.
[out]computed_quantitiesComputed Eulerian velocity vector at evaluation points.
Note
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.

References omega_x, omega_y, omega_z, and velocity.

Member Data Documentation

◆ omega_x

template<int dim>
double SRFPostprocessor< dim >::omega_x
private

Value of the \(x\) component of the SRF's velocity.

Definition at line 330 of file postprocessors.h.

◆ omega_y

template<int dim>
double SRFPostprocessor< dim >::omega_y
private

Value of the \(y\) component of the SRF's velocity.

Definition at line 332 of file postprocessors.h.

◆ omega_z

template<int dim>
double SRFPostprocessor< dim >::omega_z
private

Value of the \(z\) component of the SRF's velocity.

Definition at line 334 of file postprocessors.h.


The documentation for this class was generated from the following file: