This class imposes a velocity direction component as a Dirichlet condition on the appropriate momentum equation. More...
#include <NSImposedVelocityDirectionBC.h>
Public Member Functions | |
NSImposedVelocityDirectionBC (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual Real | computeQpResidual () |
Protected Attributes | |
const VariableValue & | _rho |
const VariableValue & | _u_vel |
const VariableValue & | _v_vel |
const VariableValue & | _w_vel |
Real | _desired_unit_velocity_component |
This class imposes a velocity direction component as a Dirichlet condition on the appropriate momentum equation.
For example, in the x-direction, the residual equation becomes:
u1/|u| - u1_hat_desired = 0
or
u1 - u1_hat_desired*|u| = 0
or
rho*u1 - rho*u1_hat_desired*|u| = 0
where: u1 = the x-momentum component |u| = velocity magnitude u1_hat_desired = The desired velocity direction, \( \in (0,1) \)
Definition at line 41 of file NSImposedVelocityDirectionBC.h.
NSImposedVelocityDirectionBC::NSImposedVelocityDirectionBC | ( | const InputParameters & | parameters | ) |
Definition at line 41 of file NSImposedVelocityDirectionBC.C.
|
protectedvirtual |
Definition at line 52 of file NSImposedVelocityDirectionBC.C.
|
protected |
Definition at line 59 of file NSImposedVelocityDirectionBC.h.
Referenced by computeQpResidual().
|
protected |
Definition at line 53 of file NSImposedVelocityDirectionBC.h.
Referenced by computeQpResidual().
|
protected |
Definition at line 54 of file NSImposedVelocityDirectionBC.h.
Referenced by computeQpResidual().
|
protected |
Definition at line 55 of file NSImposedVelocityDirectionBC.h.
Referenced by computeQpResidual().
|
protected |
Definition at line 56 of file NSImposedVelocityDirectionBC.h.
Referenced by computeQpResidual().