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

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

#include <INSADTemperatureAdvection.h>

Inheritance diagram for INSADTemperatureAdvection< compute_stage >:
[legend]

Public Member Functions

 INSADTemperatureAdvection (const InputParameters &parameters)
 

Protected Member Functions

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

Protected Attributes

const ADVectorVariableValue & _U
 
 usingKernelValueMembers
 

Detailed Description

template<ComputeStage compute_stage>
class INSADTemperatureAdvection< compute_stage >

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

Definition at line 16 of file INSADTemperatureAdvection.h.

Constructor & Destructor Documentation

◆ INSADTemperatureAdvection()

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

Definition at line 26 of file INSADTemperatureAdvection.C.

28  : ADKernelValue<compute_stage>(parameters),
29  _rho(adGetADMaterialProperty<Real>("rho_name")),
30  _cp(adGetADMaterialProperty<Real>("cp_name")),
31  _U(adCoupledVectorValue("velocity"))
32 {
33 }
const ADVectorVariableValue & _U

Member Function Documentation

◆ ADMaterialProperty() [1/2]

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

◆ ADMaterialProperty() [2/2]

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

◆ precomputeQpResidual()

template<ComputeStage compute_stage>
ADResidual INSADTemperatureAdvection< compute_stage >::precomputeQpResidual ( )
overrideprotectedvirtual

Definition at line 37 of file INSADTemperatureAdvection.C.

38 {
39  return _rho[_qp] * _cp[_qp] * _U[_qp] * _grad_u[_qp];
40 }
const ADVectorVariableValue & _U

Member Data Documentation

◆ _U

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

Definition at line 35 of file INSADTemperatureAdvection.h.

◆ usingKernelValueMembers

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

Definition at line 37 of file INSADTemperatureAdvection.h.


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