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

This class implements the "No BC" boundary condition discussed by Griffiths, Papanastiou, and others. More...

#include <INSTemperatureNoBCBC.h>

Inheritance diagram for INSTemperatureNoBCBC:
[legend]

Public Member Functions

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

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 
virtual Real computeQpOffDiagJacobian (unsigned jvar)
 

Protected Attributes

const MaterialProperty< Real > & _k
 

Detailed Description

This class implements the "No BC" boundary condition discussed by Griffiths, Papanastiou, and others.

Definition at line 25 of file INSTemperatureNoBCBC.h.

Constructor & Destructor Documentation

◆ INSTemperatureNoBCBC()

INSTemperatureNoBCBC::INSTemperatureNoBCBC ( const InputParameters &  parameters)

Definition at line 28 of file INSTemperatureNoBCBC.C.

29  : IntegratedBC(parameters),
30  // Material property
31  _k(getMaterialProperty<Real>("k_name"))
32 {
33 }
const MaterialProperty< Real > & _k

◆ ~INSTemperatureNoBCBC()

virtual INSTemperatureNoBCBC::~INSTemperatureNoBCBC ( )
inlinevirtual

Definition at line 30 of file INSTemperatureNoBCBC.h.

30 {}

Member Function Documentation

◆ computeQpJacobian()

Real INSTemperatureNoBCBC::computeQpJacobian ( )
protectedvirtual

Definition at line 43 of file INSTemperatureNoBCBC.C.

44 {
45  return _k[_qp] * (_grad_phi[_j][_qp] * _normals[_qp]) * _test[_i][_qp];
46 }
const MaterialProperty< Real > & _k

◆ computeQpOffDiagJacobian()

Real INSTemperatureNoBCBC::computeQpOffDiagJacobian ( unsigned  jvar)
protectedvirtual

Definition at line 49 of file INSTemperatureNoBCBC.C.

50 {
51  // off-diagonal derivatives are all zero.
52  return 0.;
53 }

◆ computeQpResidual()

Real INSTemperatureNoBCBC::computeQpResidual ( )
protectedvirtual

Definition at line 36 of file INSTemperatureNoBCBC.C.

37 {
38  // k * (grad_T.n) * test
39  return _k[_qp] * _grad_u[_qp] * _normals[_qp] * _test[_i][_qp];
40 }
const MaterialProperty< Real > & _k

Member Data Documentation

◆ _k

const MaterialProperty<Real>& INSTemperatureNoBCBC::_k
protected

Definition at line 37 of file INSTemperatureNoBCBC.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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