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

#include <postprocessors.h>

Inheritance diagram for VorticityPostprocessor< dim >:
[legend]

Public Member Functions

 VorticityPostprocessor ()
virtual void evaluate_vector_field (const DataPostprocessorInputs::Vector< dim > &input_data, std::vector< Vector< double > > &computed_quantities) const override

Detailed Description

template<int dim>
class VorticityPostprocessor< dim >

Compute the vorticity vector field within a domain.

The vorticity is defined as \(\mathbf{\omega} = \nabla \times \mathbf{u} = \mathrm{rot}(\mathbf{u})\) where \(\mathbf{u}\) is the velocity vector.

Definition at line 25 of file postprocessors.h.

Constructor & Destructor Documentation

◆ VorticityPostprocessor()

template<int dim>
VorticityPostprocessor< dim >::VorticityPostprocessor ( )
inline

Constructor of the vorticity postprocessor.

Definition at line 31 of file postprocessors.h.

Member Function Documentation

◆ evaluate_vector_field()

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

Compute the vorticity vector from the velocity vector at given evaluation points.

Parameters
[in]input_dataFluid dynamics velocity and pressure information.
[out]computed_quantitiesComputed vorticity 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 gradient is used to compute the vorticity.

Definition at line 49 of file postprocessors.h.


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