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

This class computes the residual and Jacobian contributions for stabilization of temperature advection. More...

#include <INSADTemperatureAdvection.h>

Inheritance diagram for INSADTemperatureAdvectionSUPG< compute_stage >:
[legend]

Public Member Functions

 INSADTemperatureAdvectionSUPG (const InputParameters &parameters)
 

Protected Member Functions

virtual ADResidual precomputeQpStrongResidual () override
 
const ADMaterialProperty (Real) &_rho
 
const ADMaterialProperty (Real) &_cp
 

Protected Attributes

const ADVectorVariableValue & _U
 
 usingKernelSUPGMembers
 

Detailed Description

template<ComputeStage compute_stage>
class INSADTemperatureAdvectionSUPG< compute_stage >

This class computes the residual and Jacobian contributions for stabilization of temperature advection.

Definition at line 44 of file INSADTemperatureAdvection.h.

Constructor & Destructor Documentation

◆ INSADTemperatureAdvectionSUPG()

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

Definition at line 59 of file INSADTemperatureAdvection.C.

61  : ADKernelSUPG<compute_stage>(parameters),
62  _rho(adGetADMaterialProperty<Real>("rho_name")),
63  _cp(adGetADMaterialProperty<Real>("cp_name")),
64  _U(adCoupledVectorValue("velocity"))
65 {
66 }
const ADVectorVariableValue & _U

Member Function Documentation

◆ ADMaterialProperty() [1/2]

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

◆ ADMaterialProperty() [2/2]

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

◆ precomputeQpStrongResidual()

template<ComputeStage compute_stage>
ADResidual INSADTemperatureAdvectionSUPG< compute_stage >::precomputeQpStrongResidual ( )
overrideprotectedvirtual

Definition at line 70 of file INSADTemperatureAdvection.C.

71 {
72  return _rho[_qp] * _cp[_qp] * _U[_qp] * _grad_u[_qp];
73 }
const ADVectorVariableValue & _U

Member Data Documentation

◆ _U

template<ComputeStage compute_stage>
const ADVectorVariableValue& INSADTemperatureAdvectionSUPG< compute_stage >::_U
protected

Definition at line 63 of file INSADTemperatureAdvection.h.

◆ usingKernelSUPGMembers

template<ComputeStage compute_stage>
INSADTemperatureAdvectionSUPG< compute_stage >::usingKernelSUPGMembers
protected

Definition at line 65 of file INSADTemperatureAdvection.h.


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