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 22 of file INSTemperatureNoBCBC.h.

Constructor & Destructor Documentation

INSTemperatureNoBCBC::INSTemperatureNoBCBC ( const InputParameters &  parameters)

Definition at line 23 of file INSTemperatureNoBCBC.C.

24  : IntegratedBC(parameters),
25  // Material property
26  _k(getMaterialProperty<Real>("k_name"))
27 {
28 }
const MaterialProperty< Real > & _k
virtual INSTemperatureNoBCBC::~INSTemperatureNoBCBC ( )
inlinevirtual

Definition at line 27 of file INSTemperatureNoBCBC.h.

27 {}

Member Function Documentation

Real INSTemperatureNoBCBC::computeQpJacobian ( )
protectedvirtual

Definition at line 38 of file INSTemperatureNoBCBC.C.

Referenced by ~INSTemperatureNoBCBC().

39 {
40  return _k[_qp] * (_grad_phi[_j][_qp] * _normals[_qp]) * _test[_i][_qp];
41 }
const MaterialProperty< Real > & _k
Real INSTemperatureNoBCBC::computeQpOffDiagJacobian ( unsigned  jvar)
protectedvirtual

Definition at line 44 of file INSTemperatureNoBCBC.C.

Referenced by ~INSTemperatureNoBCBC().

45 {
46  // off-diagonal derivatives are all zero.
47  return 0.;
48 }
Real INSTemperatureNoBCBC::computeQpResidual ( )
protectedvirtual

Definition at line 31 of file INSTemperatureNoBCBC.C.

Referenced by ~INSTemperatureNoBCBC().

32 {
33  // k * (grad_T.n) * test
34  return _k[_qp] * _grad_u[_qp] * _normals[_qp] * _test[_i][_qp];
35 }
const MaterialProperty< Real > & _k

Member Data Documentation

const MaterialProperty<Real>& INSTemperatureNoBCBC::_k
protected

Definition at line 34 of file INSTemperatureNoBCBC.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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