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

 usingVectorTimeKernelMembers
 

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 17 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  : ADVectorTimeKernel<compute_stage>(parameters), _rho(adGetADMaterialProperty<Real>("rho_name"))
29 {
30 }

◆ ~INSADMomentumTimeDerivative()

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

Definition at line 32 of file INSADMomentumTimeDerivative.h.

32 {}

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 34 of file INSADMomentumTimeDerivative.C.

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

Member Data Documentation

◆ usingVectorTimeKernelMembers

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

Definition at line 39 of file INSADMomentumTimeDerivative.h.


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