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

#include <postprocessors.h>

Inheritance diagram for GradientPostprocessor< dim >:
[legend]

Public Member Functions

 GradientPostprocessor ()
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 GradientPostprocessor< dim >

Return the velocity gradient field within a domain.

The gradient is defined as \(\nabla \mathbf{u}\) where \(\mathbf{u}\) is the velocity vector. Note that the gradient components are numbered such that: 0 = xx, 1 = xy, 2 = xz, 3 = yx, 4 = yy, 5 = yz, 6 = zx, 7 = zy, 8 = zz

Definition at line 209 of file postprocessors.h.

Constructor & Destructor Documentation

◆ GradientPostprocessor()

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

Constructor of the velocity gradient postprocessor.

Definition at line 215 of file postprocessors.h.

Member Function Documentation

◆ evaluate_vector_field()

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

Return the gradient of the velocity at given evaluation points.

Parameters
[in]input_dataFluid dynamics velocity and pressure information.
[out]computed_quantitiesVelocity gradient 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.

Definition at line 232 of file postprocessors.h.


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