www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
INSStressComponentAux Class Reference

Computes h_min / |u|. More...

#include <INSStressComponentAux.h>

Inheritance diagram for INSStressComponentAux:
[legend]

Public Member Functions

 INSStressComponentAux (const InputParameters &parameters)
 
virtual ~INSStressComponentAux ()
 

Protected Member Functions

virtual Real computeValue ()
 

Protected Attributes

const VariableGradient & _grad_velocity
 
const VariableValue & _pressure
 
const unsigned _comp
 
const MaterialProperty< Real > & _mu
 

Detailed Description

Computes h_min / |u|.

Definition at line 23 of file INSStressComponentAux.h.

Constructor & Destructor Documentation

◆ INSStressComponentAux()

INSStressComponentAux::INSStressComponentAux ( const InputParameters &  parameters)

Definition at line 31 of file INSStressComponentAux.C.

32  : AuxKernel(parameters),
33  _grad_velocity(isCoupled("velocity") ? coupledGradient("velocity") : _grad_zero),
34  _pressure(coupledValue("pressure")),
35  _comp(getParam<unsigned>("comp")),
36  _mu(getMaterialProperty<Real>("mu_name"))
37 {
38 }
const VariableGradient & _grad_velocity
const MaterialProperty< Real > & _mu
const VariableValue & _pressure

◆ ~INSStressComponentAux()

virtual INSStressComponentAux::~INSStressComponentAux ( )
inlinevirtual

Definition at line 28 of file INSStressComponentAux.h.

28 {}

Member Function Documentation

◆ computeValue()

Real INSStressComponentAux::computeValue ( )
protectedvirtual

Definition at line 41 of file INSStressComponentAux.C.

42 {
43  return _pressure[_qp] - _mu[_qp] * _grad_velocity[_qp](_comp);
44 }
const VariableGradient & _grad_velocity
const MaterialProperty< Real > & _mu
const VariableValue & _pressure

Member Data Documentation

◆ _comp

const unsigned INSStressComponentAux::_comp
protected

Definition at line 36 of file INSStressComponentAux.h.

Referenced by computeValue().

◆ _grad_velocity

const VariableGradient& INSStressComponentAux::_grad_velocity
protected

Definition at line 34 of file INSStressComponentAux.h.

Referenced by computeValue().

◆ _mu

const MaterialProperty<Real>& INSStressComponentAux::_mu
protected

Definition at line 37 of file INSStressComponentAux.h.

Referenced by computeValue().

◆ _pressure

const VariableValue& INSStressComponentAux::_pressure
protected

Definition at line 35 of file INSStressComponentAux.h.

Referenced by computeValue().


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