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

#include <Convection.h>

Inheritance diagram for Convection:
[legend]

Public Member Functions

 Convection (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 

Protected Attributes

RealVectorValue _velocity
 

Detailed Description

Definition at line 21 of file Convection.h.

Constructor & Destructor Documentation

◆ Convection()

Convection::Convection ( const InputParameters &  parameters)

Definition at line 23 of file Convection.C.

24  : Kernel(parameters), _velocity(getParam<RealVectorValue>("velocity"))
25 {
26 }
RealVectorValue _velocity
Definition: Convection.h:30

Member Function Documentation

◆ computeQpJacobian()

Real Convection::computeQpJacobian ( )
protectedvirtual

Definition at line 35 of file Convection.C.

36 {
37  return _test[_i][_qp] * (_velocity * _grad_phi[_j][_qp]);
38 }
RealVectorValue _velocity
Definition: Convection.h:30

◆ computeQpResidual()

Real Convection::computeQpResidual ( )
protectedvirtual

Definition at line 29 of file Convection.C.

30 {
31  return _test[_i][_qp] * (_velocity * _grad_u[_qp]);
32 }
RealVectorValue _velocity
Definition: Convection.h:30

Member Data Documentation

◆ _velocity

RealVectorValue Convection::_velocity
protected

Definition at line 30 of file Convection.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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