#include <MassFreeBC.h>
Definition at line 22 of file MassFreeBC.h.
◆ MassFreeBC()
MassFreeBC::MassFreeBC |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 26 of file MassFreeBC.C.
27 : IntegratedBC(parameters),
28 _vel_x(coupledValue(
"vel_x")),
29 _vel_y(_mesh.dimension() >= 2 ? coupledValue(
"vel_y") : _zero),
30 _vel_z(_mesh.dimension() >= 3 ? coupledValue(
"vel_z") : _zero)
◆ computeQpResidual()
Real MassFreeBC::computeQpResidual |
( |
| ) |
|
|
protectedvirtual |
Definition at line 35 of file MassFreeBC.C.
38 return _u[_qp] * vel_vec * _normals[_qp] * _test[_i][_qp];
◆ _vel_x
const VariableValue& MassFreeBC::_vel_x |
|
protected |
◆ _vel_y
const VariableValue& MassFreeBC::_vel_y |
|
protected |
◆ _vel_z
const VariableValue& MassFreeBC::_vel_z |
|
protected |
The documentation for this class was generated from the following files: