www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CoupledConvectiveFlux Class Reference

#include <CoupledConvectiveFlux.h>

Inheritance diagram for CoupledConvectiveFlux:
[legend]

Public Member Functions

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

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 

Protected Attributes

const VariableValue & _T_infinity
 
const Real _coefficient
 

Detailed Description

Definition at line 15 of file CoupledConvectiveFlux.h.

Constructor & Destructor Documentation

◆ CoupledConvectiveFlux()

CoupledConvectiveFlux::CoupledConvectiveFlux ( const InputParameters &  parameters)

Definition at line 27 of file CoupledConvectiveFlux.C.

28  : IntegratedBC(parameters),
29  _T_infinity(coupledValue("T_infinity")),
30  _coefficient(getParam<Real>("coefficient"))
31 {
32  mooseDeprecated(
33  "CoupledConvectiveFlux boundary condition is deprecated, use CoupledConvectiveHeatFluxBC "
34  "instead. To update your input file:\n 1. change type from `CoupledConvectiveFlux` to "
35  "`CoupledConvectiveHeatFluxBC`\n 2. change `coefficient` parameter to `htc`.");
36 }
const VariableValue & _T_infinity

◆ ~CoupledConvectiveFlux()

virtual CoupledConvectiveFlux::~CoupledConvectiveFlux ( )
inlinevirtual

Definition at line 19 of file CoupledConvectiveFlux.h.

19 {}

Member Function Documentation

◆ computeQpJacobian()

Real CoupledConvectiveFlux::computeQpJacobian ( )
protectedvirtual

Definition at line 45 of file CoupledConvectiveFlux.C.

46 {
47  return _test[_i][_qp] * _coefficient * _phi[_j][_qp];
48 }

◆ computeQpResidual()

Real CoupledConvectiveFlux::computeQpResidual ( )
protectedvirtual

Definition at line 39 of file CoupledConvectiveFlux.C.

40 {
41  return _test[_i][_qp] * _coefficient * (_u[_qp] - _T_infinity[_qp]);
42 }
const VariableValue & _T_infinity

Member Data Documentation

◆ _coefficient

const Real CoupledConvectiveFlux::_coefficient
protected

Definition at line 26 of file CoupledConvectiveFlux.h.

Referenced by computeQpJacobian(), and computeQpResidual().

◆ _T_infinity

const VariableValue& CoupledConvectiveFlux::_T_infinity
protected

Definition at line 25 of file CoupledConvectiveFlux.h.

Referenced by computeQpResidual().


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