This class implements the mass equation boundary term with a specified value of rho*(u.n) imposed weakly. More...
#include <NSMassSpecifiedNormalFlowBC.h>
Public Member Functions | |
NSMassSpecifiedNormalFlowBC (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual Real | computeQpResidual () |
virtual Real | computeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned jvar) |
Real | qpResidualHelper (Real rhoun) |
Compute the residual contribution for a given value of rho*(u.n). More... | |
Real | qpJacobianHelper (unsigned var_number) |
Compute the Jacobian contribution due to variable number 'var_number'. More... | |
bool | isNSVariable (unsigned var) |
unsigned | mapVarNumber (unsigned var) |
Protected Attributes | |
const Real | _rhoun |
const VariableValue & | _u_vel |
const VariableValue & | _v_vel |
const VariableValue & | _w_vel |
const VariableValue & | _rho |
const VariableValue & | _rho_u |
const VariableValue & | _rho_v |
const VariableValue & | _rho_w |
const VariableValue & | _rho_E |
const VariableGradient & | _grad_rho |
const VariableGradient & | _grad_rho_u |
const VariableGradient & | _grad_rho_v |
const VariableGradient & | _grad_rho_w |
const VariableGradient & | _grad_rho_E |
unsigned | _rho_var_number |
unsigned | _rhou_var_number |
unsigned | _rhov_var_number |
unsigned | _rhow_var_number |
unsigned | _rhoE_var_number |
const MaterialProperty< Real > & | _dynamic_viscosity |
const MaterialProperty< RealTensorValue > & | _viscous_stress_tensor |
const IdealGasFluidProperties & | _fp |
This class implements the mass equation boundary term with a specified value of rho*(u.n) imposed weakly.
Note: if you wish to impose rho*(u.n) = 0 weakly, you don't actually need this class, that is the natural boundary condition.
Definition at line 27 of file NSMassSpecifiedNormalFlowBC.h.
NSMassSpecifiedNormalFlowBC::NSMassSpecifiedNormalFlowBC | ( | const InputParameters & | parameters | ) |
Definition at line 25 of file NSMassSpecifiedNormalFlowBC.C.
|
protectedvirtual |
Definition at line 37 of file NSMassSpecifiedNormalFlowBC.C.
|
protectedvirtual |
Definition at line 43 of file NSMassSpecifiedNormalFlowBC.C.
|
protectedvirtual |
Definition at line 31 of file NSMassSpecifiedNormalFlowBC.C.
|
protectedinherited |
Definition at line 80 of file NSIntegratedBC.C.
Referenced by NSEnergyInviscidSpecifiedBC::computeQpOffDiagJacobian(), NSEnergyInviscidSpecifiedNormalFlowBC::computeQpOffDiagJacobian(), NSEnergyInviscidUnspecifiedBC::computeQpOffDiagJacobian(), NSEnergyInviscidSpecifiedPressureBC::computeQpOffDiagJacobian(), NSMomentumInviscidSpecifiedNormalFlowBC::computeQpOffDiagJacobian(), NSMassUnspecifiedNormalFlowBC::computeQpOffDiagJacobian(), NSMomentumInviscidSpecifiedPressureBC::computeQpOffDiagJacobian(), NSMomentumInviscidNoPressureImplicitFlowBC::computeQpOffDiagJacobian(), NSPressureNeumannBC::computeQpOffDiagJacobian(), NSMomentumViscousBC::computeQpOffDiagJacobian(), and NSEnergyViscousBC::computeQpOffDiagJacobian().
|
protectedinherited |
Definition at line 90 of file NSIntegratedBC.C.
Referenced by NSEnergyInviscidSpecifiedBC::computeQpOffDiagJacobian(), NSEnergyInviscidSpecifiedNormalFlowBC::computeQpOffDiagJacobian(), NSEnergyInviscidUnspecifiedBC::computeQpOffDiagJacobian(), NSEnergyInviscidSpecifiedPressureBC::computeQpOffDiagJacobian(), NSMomentumInviscidSpecifiedNormalFlowBC::computeQpOffDiagJacobian(), NSMassUnspecifiedNormalFlowBC::computeQpOffDiagJacobian(), NSMomentumInviscidSpecifiedPressureBC::computeQpOffDiagJacobian(), NSMomentumInviscidNoPressureImplicitFlowBC::computeQpOffDiagJacobian(), NSPressureNeumannBC::computeQpOffDiagJacobian(), NSMomentumViscousBC::computeQpOffDiagJacobian(), and NSEnergyViscousBC::computeQpOffDiagJacobian().
|
protectedinherited |
Compute the Jacobian contribution due to variable number 'var_number'.
Note: if this is a specified normal flow boundary, the Jacobian will be zero.
Definition at line 31 of file NSMassBC.C.
Referenced by NSMassUnspecifiedNormalFlowBC::computeQpJacobian(), and NSMassUnspecifiedNormalFlowBC::computeQpOffDiagJacobian().
|
protectedinherited |
Compute the residual contribution for a given value of rho*(u.n).
This value may come from the current nonlinear solution or be specified, depending on the derived class.
Definition at line 25 of file NSMassBC.C.
Referenced by NSMassUnspecifiedNormalFlowBC::computeQpResidual(), and computeQpResidual().
|
protectedinherited |
Definition at line 58 of file NSIntegratedBC.h.
|
protectedinherited |
Definition at line 62 of file NSIntegratedBC.h.
Referenced by NSEnergyWeakStagnationBC::computeQpResidual(), NSEnergyInviscidBC::qpResidualHelper(), and NSWeakStagnationBaseBC::staticValues().
|
protectedinherited |
Definition at line 45 of file NSIntegratedBC.h.
Referenced by NSEnergyViscousBC::NSEnergyViscousBC().
|
protectedinherited |
Definition at line 49 of file NSIntegratedBC.h.
Referenced by NSEnergyViscousBC::NSEnergyViscousBC().
|
protectedinherited |
Definition at line 46 of file NSIntegratedBC.h.
Referenced by NSEnergyViscousBC::NSEnergyViscousBC().
|
protectedinherited |
Definition at line 47 of file NSIntegratedBC.h.
Referenced by NSEnergyViscousBC::NSEnergyViscousBC().
|
protectedinherited |
Definition at line 48 of file NSIntegratedBC.h.
Referenced by NSEnergyViscousBC::NSEnergyViscousBC().
|
protectedinherited |
|
protectedinherited |
Definition at line 43 of file NSIntegratedBC.h.
Referenced by NSEnergyInviscidBC::qpJacobianTermA(), and NSEnergyInviscidBC::qpResidualHelper().
|
protectedinherited |
Definition at line 40 of file NSIntegratedBC.h.
Referenced by NSEnergyViscousBC::computeQpOffDiagJacobian(), and NSMassUnspecifiedNormalFlowBC::computeQpResidual().
|
protectedinherited |
Definition at line 41 of file NSIntegratedBC.h.
Referenced by NSEnergyViscousBC::computeQpOffDiagJacobian(), and NSMassUnspecifiedNormalFlowBC::computeQpResidual().
|
protectedinherited |
Definition at line 51 of file NSIntegratedBC.h.
Referenced by NSIntegratedBC::isNSVariable(), and NSIntegratedBC::mapVarNumber().
|
protectedinherited |
Definition at line 42 of file NSIntegratedBC.h.
Referenced by NSEnergyViscousBC::computeQpOffDiagJacobian(), and NSMassUnspecifiedNormalFlowBC::computeQpResidual().
|
protectedinherited |
Definition at line 55 of file NSIntegratedBC.h.
Referenced by NSIntegratedBC::isNSVariable(), and NSIntegratedBC::mapVarNumber().
|
protectedinherited |
Definition at line 52 of file NSIntegratedBC.h.
Referenced by NSIntegratedBC::isNSVariable(), and NSIntegratedBC::mapVarNumber().
|
protected |
Definition at line 38 of file NSMassSpecifiedNormalFlowBC.h.
Referenced by computeQpResidual().
|
protectedinherited |
Definition at line 53 of file NSIntegratedBC.h.
Referenced by NSIntegratedBC::isNSVariable(), and NSIntegratedBC::mapVarNumber().
|
protectedinherited |
Definition at line 54 of file NSIntegratedBC.h.
Referenced by NSIntegratedBC::isNSVariable(), and NSIntegratedBC::mapVarNumber().
|
protectedinherited |
Definition at line 35 of file NSIntegratedBC.h.
Referenced by NSEnergyInviscidSpecifiedPressureBC::computeJacobianHelper(), NSEnergyInviscidUnspecifiedBC::computeJacobianHelper(), NSEnergyInviscidUnspecifiedBC::computeQpResidual(), NSEnergyInviscidSpecifiedPressureBC::computeQpResidual(), NSMomentumInviscidNoPressureImplicitFlowBC::computeQpResidual(), NSMomentumInviscidSpecifiedPressureBC::computeQpResidual(), NSPenalizedNormalFlowBC::computeQpResidual(), NSEnergyViscousBC::computeQpResidual(), NSMomentumInviscidBC::convectiveQpJacobianHelper(), NSEnergyInviscidBC::qpJacobianTermA(), and NSWeakStagnationBaseBC::velmag2().
|
protectedinherited |
Definition at line 36 of file NSIntegratedBC.h.
Referenced by NSEnergyInviscidSpecifiedPressureBC::computeJacobianHelper(), NSEnergyInviscidUnspecifiedBC::computeJacobianHelper(), NSEnergyInviscidUnspecifiedBC::computeQpResidual(), NSEnergyInviscidSpecifiedPressureBC::computeQpResidual(), NSMomentumInviscidNoPressureImplicitFlowBC::computeQpResidual(), NSMomentumInviscidSpecifiedPressureBC::computeQpResidual(), NSPenalizedNormalFlowBC::computeQpResidual(), NSEnergyViscousBC::computeQpResidual(), NSMomentumInviscidBC::convectiveQpJacobianHelper(), NSEnergyInviscidBC::qpJacobianTermA(), and NSWeakStagnationBaseBC::velmag2().
|
protectedinherited |
Definition at line 59 of file NSIntegratedBC.h.
Referenced by NSEnergyViscousBC::computeQpOffDiagJacobian(), NSMomentumViscousBC::computeQpResidual(), and NSEnergyViscousBC::computeQpResidual().
|
protectedinherited |
Definition at line 37 of file NSIntegratedBC.h.
Referenced by NSEnergyInviscidSpecifiedPressureBC::computeJacobianHelper(), NSEnergyInviscidUnspecifiedBC::computeJacobianHelper(), NSEnergyInviscidUnspecifiedBC::computeQpResidual(), NSEnergyInviscidSpecifiedPressureBC::computeQpResidual(), NSMomentumInviscidNoPressureImplicitFlowBC::computeQpResidual(), NSMomentumInviscidSpecifiedPressureBC::computeQpResidual(), NSPenalizedNormalFlowBC::computeQpResidual(), NSEnergyViscousBC::computeQpResidual(), NSMomentumInviscidBC::convectiveQpJacobianHelper(), NSEnergyInviscidBC::qpJacobianTermA(), and NSWeakStagnationBaseBC::velmag2().