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

This class computes the time derivative for the incompressible Navier-Stokes momentum equation. More...

#include <INSADMomentumTimeDerivative.h>

Inheritance diagram for INSADMomentumTimeDerivative< compute_stage >:
[legend]

Public Member Functions

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

Protected Member Functions

virtual ADRealVectorValue precomputeQpResidual () override
 
const ADMaterialProperty (Real) &_rho
 

Protected Attributes

 usingVectorTimeKernelValueMembers
 

Detailed Description

template<ComputeStage compute_stage>
class INSADMomentumTimeDerivative< compute_stage >

This class computes the time derivative for the incompressible Navier-Stokes momentum equation.

Could instead use CoefTimeDerivative for this.

Definition at line 16 of file INSADMomentumTimeDerivative.h.

Constructor & Destructor Documentation

◆ INSADMomentumTimeDerivative()

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

Definition at line 26 of file INSADMomentumTimeDerivative.C.

28  : ADVectorTimeKernelValue<compute_stage>(parameters),
29  _rho(adGetADMaterialProperty<Real>("rho_name"))
30 {
31 }

◆ ~INSADMomentumTimeDerivative()

template<ComputeStage compute_stage>
virtual INSADMomentumTimeDerivative< compute_stage >::~INSADMomentumTimeDerivative ( )
inlinevirtual

Definition at line 31 of file INSADMomentumTimeDerivative.h.

31 {}

Member Function Documentation

◆ ADMaterialProperty()

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

◆ precomputeQpResidual()

template<ComputeStage compute_stage>
ADRealVectorValue INSADMomentumTimeDerivative< compute_stage >::precomputeQpResidual ( )
overrideprotectedvirtual

Definition at line 35 of file INSADMomentumTimeDerivative.C.

36 {
37  return _rho[_qp] * _u_dot[_qp];
38 }

Member Data Documentation

◆ usingVectorTimeKernelValueMembers

template<ComputeStage compute_stage>
INSADMomentumTimeDerivative< compute_stage >::usingVectorTimeKernelValueMembers
protected

Definition at line 38 of file INSADMomentumTimeDerivative.h.


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