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

This class computes the momentum equation residual and Jacobian contributions for force terms in the incompressible Navier-Stokes momentum equation. More...

#include <INSADMomentumForces.h>

Inheritance diagram for INSADMomentumForces< compute_stage >:
[legend]

Public Member Functions

 INSADMomentumForces (const InputParameters &parameters)
 

Protected Member Functions

virtual ADVectorResidual precomputeQpResidual () override
 
const ADMaterialProperty (RealVectorValue) &_gravity_strong_residual
 
const ADMaterialProperty (RealVectorValue) &_mms_function_strong_residual
 

Protected Attributes

 usingVectorKernelValueMembers
 

Detailed Description

template<ComputeStage compute_stage>
class INSADMomentumForces< compute_stage >

This class computes the momentum equation residual and Jacobian contributions for force terms in the incompressible Navier-Stokes momentum equation.

Definition at line 17 of file INSADMomentumForces.h.

Constructor & Destructor Documentation

◆ INSADMomentumForces()

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

Definition at line 19 of file INSADMomentumForces.C.

20  : ADVectorKernelValue<compute_stage>(parameters),
21  _gravity_strong_residual(adGetADMaterialProperty<RealVectorValue>("gravity_strong_residual")),
22  _mms_function_strong_residual(
23  adGetADMaterialProperty<RealVectorValue>("mms_function_strong_residual"))
24 {
25 }

Member Function Documentation

◆ ADMaterialProperty() [1/2]

template<ComputeStage compute_stage>
const INSADMomentumForces< compute_stage >::ADMaterialProperty ( RealVectorValue  ) &
protected

◆ ADMaterialProperty() [2/2]

template<ComputeStage compute_stage>
const INSADMomentumForces< compute_stage >::ADMaterialProperty ( RealVectorValue  ) &
protected

◆ precomputeQpResidual()

template<ComputeStage compute_stage>
ADVectorResidual INSADMomentumForces< compute_stage >::precomputeQpResidual ( )
overrideprotectedvirtual

Definition at line 29 of file INSADMomentumForces.C.

30 {
31  return _gravity_strong_residual[_qp] + _mms_function_strong_residual[_qp];
32 }

Member Data Documentation

◆ usingVectorKernelValueMembers

template<ComputeStage compute_stage>
INSADMomentumForces< compute_stage >::usingVectorKernelValueMembers
protected

Definition at line 38 of file INSADMomentumForces.h.


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