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

This class computes the mass equation residual and Jacobian contributions (the latter using automatic differentiation) for the incompressible Navier-Stokes equations. More...

#include <INSADMass.h>

Inheritance diagram for INSADMass< compute_stage >:
[legend]

Public Member Functions

 INSADMass (const InputParameters &parameters)
 

Protected Member Functions

ADResidual precomputeQpResidual () override
 
const ADMaterialProperty (Real) &_mass_strong_residual
 The strong residual of the mass equation, computed using INSADMaterial. More...
 

Protected Attributes

 usingKernelValueMembers
 

Detailed Description

template<ComputeStage compute_stage>
class INSADMass< compute_stage >

This class computes the mass equation residual and Jacobian contributions (the latter using automatic differentiation) for the incompressible Navier-Stokes equations.

Definition at line 16 of file INSADMass.h.

Constructor & Destructor Documentation

◆ INSADMass()

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

Definition at line 23 of file INSADMass.C.

24  : ADKernelValue<compute_stage>(parameters),
25  _mass_strong_residual(adGetADMaterialProperty<Real>("mass_strong_residual"))
26 {
27 }

Member Function Documentation

◆ ADMaterialProperty()

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

The strong residual of the mass equation, computed using INSADMaterial.

◆ precomputeQpResidual()

template<ComputeStage compute_stage>
ADResidual INSADMass< compute_stage >::precomputeQpResidual ( )
overrideprotected

Definition at line 31 of file INSADMass.C.

32 {
33  return _mass_strong_residual[_qp];
34 }

Member Data Documentation

◆ usingKernelValueMembers

template<ComputeStage compute_stage>
INSADMass< compute_stage >::usingKernelValueMembers
protected

Definition at line 37 of file INSADMass.h.


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