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

#include <postprocessors.h>

Inheritance diagram for ShearRatePostprocessor< dim >:
[legend]

Public Member Functions

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

Detailed Description

template<int dim>
class ShearRatePostprocessor< dim >

Compute the shear rate scalar field within a domain.

The shear rate is defined as \(\dot \gamma = \frac{\partial u_i} {\partial x_j} + \frac{\partial u_j}{\partial x_i}\) where \(i\) and \(j\) are dimension component indexes.

Definition at line 511 of file postprocessors.h.

Constructor & Destructor Documentation

◆ ShearRatePostprocessor()

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

Constructor of the shear rate postprocessor.

Definition at line 517 of file postprocessors.h.

Member Function Documentation

◆ evaluate_vector_field()

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

Compute the shear rate at given evaluation points.

Parameters
[in]inputsFluid dynamics velocity and pressure information.
[out]computed_quantitiesComputed shear rate value 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 shear rate.

Definition at line 534 of file postprocessors.h.

References calculate_shear_rate_magnitude(), and shear_rate.


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