www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
INSADMomentumViscous< compute_stage > Class Template Reference

This class computes the momentum equation residual and Jacobian contributions for the viscous term of the incompressible Navier-Stokes momentum equation. More...

#include <INSADMomentumViscous.h>

Inheritance diagram for INSADMomentumViscous< compute_stage >:
[legend]

Public Member Functions

 INSADMomentumViscous (const InputParameters &parameters)
 

Protected Member Functions

virtual ADTensorResidual precomputeQpResidual () override
 
const ADMaterialProperty (Real) &_mu
 

Protected Attributes

 usingVectorKernelGradMembers
 

Detailed Description

template<ComputeStage compute_stage>
class INSADMomentumViscous< compute_stage >

This class computes the momentum equation residual and Jacobian contributions for the viscous term of the incompressible Navier-Stokes momentum equation.

Definition at line 16 of file INSADMomentumViscous.h.

Constructor & Destructor Documentation

◆ INSADMomentumViscous()

template<ComputeStage compute_stage>
INSADMomentumViscous< compute_stage >::INSADMomentumViscous ( const InputParameters &  parameters)

Definition at line 23 of file INSADMomentumViscous.C.

24  : ADVectorKernelGrad<compute_stage>(parameters), _mu(adGetADMaterialProperty<Real>("mu_name"))
25 {
26 }

Member Function Documentation

◆ ADMaterialProperty()

template<ComputeStage compute_stage>
const INSADMomentumViscous< compute_stage >::ADMaterialProperty ( Real  ) &
protected

◆ precomputeQpResidual()

template<ComputeStage compute_stage>
ADTensorResidual INSADMomentumViscous< compute_stage >::precomputeQpResidual ( )
overrideprotectedvirtual

Definition at line 30 of file INSADMomentumViscous.C.

31 {
32  return _mu[_qp] * _grad_u[_qp];
33 }

Member Data Documentation

◆ usingVectorKernelGradMembers

template<ComputeStage compute_stage>
INSADMomentumViscous< compute_stage >::usingVectorKernelGradMembers
protected

Definition at line 36 of file INSADMomentumViscous.h.


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