This class computes the momentum equation residual and Jacobian contributions for the incompressible Navier-Stokes momentum equation. More...
#include <INSMomentumBase.h>
Public Member Functions | |
INSMomentumBase (const InputParameters ¶meters) | |
virtual | ~INSMomentumBase () |
Protected Member Functions | |
virtual Real | computeQpResidual () |
virtual Real | computeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned jvar) |
virtual Real | computeQpResidualViscousPart ()=0 |
virtual Real | computeQpJacobianViscousPart ()=0 |
virtual Real | computeQpOffDiagJacobianViscousPart (unsigned jvar)=0 |
virtual Real | computeQpPGResidual () |
virtual Real | computeQpPGJacobian (unsigned comp) |
virtual RealVectorValue | convectiveTerm () |
virtual RealVectorValue | dConvecDUComp (unsigned comp) |
virtual RealVectorValue | strongViscousTermLaplace () |
virtual RealVectorValue | strongViscousTermTraction () |
virtual RealVectorValue | dStrongViscDUCompLaplace (unsigned comp) |
virtual RealVectorValue | dStrongViscDUCompTraction (unsigned comp) |
virtual RealVectorValue | weakViscousTermLaplace (unsigned comp) |
virtual RealVectorValue | weakViscousTermTraction (unsigned comp) |
virtual RealVectorValue | dWeakViscDUCompLaplace () |
virtual RealVectorValue | dWeakViscDUCompTraction () |
virtual RealVectorValue | strongPressureTerm () |
virtual Real | weakPressureTerm () |
virtual RealVectorValue | dStrongPressureDPressure () |
virtual Real | dWeakPressureDPressure () |
virtual RealVectorValue | gravityTerm () |
virtual RealVectorValue | timeDerivativeTerm () |
virtual RealVectorValue | dTimeDerivativeDUComp (unsigned comp) |
virtual Real | tau () |
virtual Real | dTauDUComp (unsigned comp) |
virtual Real | tauNodal () |
Provides tau which yields superconvergence for 1D advection-diffusion. More... | |
Protected Attributes | |
unsigned | _component |
bool | _integrate_p_by_parts |
bool | _supg |
const Function & | _ffn |
const VariablePhiSecond & | _second_phi |
second derivatives of the shape function More... | |
const VariableValue & | _u_vel |
const VariableValue & | _v_vel |
const VariableValue & | _w_vel |
const VariableValue & | _p |
const VariableGradient & | _grad_u_vel |
const VariableGradient & | _grad_v_vel |
const VariableGradient & | _grad_w_vel |
const VariableGradient & | _grad_p |
const VariableSecond & | _second_u_vel |
const VariableSecond & | _second_v_vel |
const VariableSecond & | _second_w_vel |
const VariableValue & | _u_vel_dot |
const VariableValue & | _v_vel_dot |
const VariableValue & | _w_vel_dot |
const VariableValue & | _d_u_vel_dot_du |
const VariableValue & | _d_v_vel_dot_dv |
const VariableValue & | _d_w_vel_dot_dw |
unsigned | _u_vel_var_number |
unsigned | _v_vel_var_number |
unsigned | _w_vel_var_number |
unsigned | _p_var_number |
RealVectorValue | _gravity |
const MaterialProperty< Real > & | _mu |
const MaterialProperty< Real > & | _rho |
const Real & | _alpha |
bool | _laplace |
bool | _convective_term |
bool | _transient_term |
This class computes the momentum equation residual and Jacobian contributions for the incompressible Navier-Stokes momentum equation.
Definition at line 25 of file INSMomentumBase.h.
INSMomentumBase::INSMomentumBase | ( | const InputParameters & | parameters | ) |
Definition at line 28 of file INSMomentumBase.C.
|
inlinevirtual |
Definition at line 30 of file INSMomentumBase.h.
|
protectedvirtual |
Implements INSBase.
Reimplemented in INSMomentumLaplaceFormRZ, and INSMomentumTractionFormRZ.
Definition at line 93 of file INSMomentumBase.C.
Referenced by INSMomentumTractionFormRZ::computeQpJacobian(), and INSMomentumLaplaceFormRZ::computeQpJacobian().
|
protectedpure virtual |
Implemented in INSMomentumLaplaceForm, and INSMomentumTractionForm.
Referenced by computeQpJacobian().
|
protectedvirtual |
Implements INSBase.
Reimplemented in INSMomentumLaplaceFormRZ, and INSMomentumTractionFormRZ.
Definition at line 137 of file INSMomentumBase.C.
Referenced by INSMomentumTractionFormRZ::computeQpOffDiagJacobian(), and INSMomentumLaplaceFormRZ::computeQpOffDiagJacobian().
|
protectedpure virtual |
Implemented in INSMomentumLaplaceForm, and INSMomentumTractionForm.
Referenced by computeQpOffDiagJacobian().
|
protectedvirtual |
Definition at line 111 of file INSMomentumBase.C.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
protectedvirtual |
Definition at line 67 of file INSMomentumBase.C.
Referenced by computeQpResidual().
|
protectedvirtual |
Implements INSBase.
Reimplemented in INSMomentumLaplaceFormRZ, and INSMomentumTractionFormRZ.
Definition at line 40 of file INSMomentumBase.C.
Referenced by INSMomentumTractionFormRZ::computeQpResidual(), and INSMomentumLaplaceFormRZ::computeQpResidual().
|
protectedpure virtual |
Implemented in INSMomentumLaplaceForm, and INSMomentumTractionForm.
Referenced by computeQpResidual().
|
protectedvirtualinherited |
Definition at line 96 of file INSBase.C.
Referenced by computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMass::computeQpPGResidual(), computeQpPGResidual(), and computeQpResidual().
|
protectedvirtualinherited |
Definition at line 104 of file INSBase.C.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), computeQpPGJacobian(), and INSMass::computeQpPGOffDiagJacobian().
|
protectedvirtualinherited |
Definition at line 226 of file INSBase.C.
Referenced by computeQpOffDiagJacobian(), and INSMass::computeQpPGJacobian().
|
protectedvirtualinherited |
Reimplemented in INSMassRZ, and INSMomentumLaplaceFormRZ.
Definition at line 134 of file INSBase.C.
Referenced by computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMomentumLaplaceFormRZ::dStrongViscDUCompLaplace(), and INSMassRZ::dStrongViscDUCompLaplace().
|
protectedvirtualinherited |
Reimplemented in INSMassRZ, and INSMomentumTractionFormRZ.
Definition at line 143 of file INSBase.C.
Referenced by computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMomentumTractionFormRZ::dStrongViscDUCompTraction(), and INSMassRZ::dStrongViscDUCompTraction().
|
protectedvirtualinherited |
Definition at line 298 of file INSBase.C.
Referenced by computeQpPGJacobian(), and INSMass::computeQpPGOffDiagJacobian().
|
protectedvirtualinherited |
Definition at line 250 of file INSBase.C.
Referenced by computeQpPGJacobian(), and INSMass::computeQpPGOffDiagJacobian().
|
protectedvirtualinherited |
Definition at line 232 of file INSBase.C.
Referenced by computeQpOffDiagJacobian().
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
Definition at line 238 of file INSBase.C.
Referenced by computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMass::computeQpPGResidual(), computeQpPGResidual(), and computeQpResidual().
|
protectedvirtualinherited |
Definition at line 214 of file INSBase.C.
Referenced by computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMass::computeQpPGResidual(), computeQpPGResidual(), and computeQpResidual().
|
protectedvirtualinherited |
Reimplemented in INSMassRZ, and INSMomentumLaplaceFormRZ.
Definition at line 119 of file INSBase.C.
Referenced by computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMass::computeQpPGResidual(), computeQpPGResidual(), INSMomentumLaplaceFormRZ::strongViscousTermLaplace(), INSMassRZ::strongViscousTermLaplace(), and INSBase::strongViscousTermTraction().
|
protectedvirtualinherited |
Reimplemented in INSMassRZ, and INSMomentumTractionFormRZ.
Definition at line 126 of file INSBase.C.
Referenced by computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMass::computeQpPGResidual(), computeQpPGResidual(), INSMomentumTractionFormRZ::strongViscousTermTraction(), and INSMassRZ::strongViscousTermTraction().
|
protectedvirtualinherited |
Definition at line 270 of file INSBase.C.
Referenced by Advection::computeQpJacobian(), computeQpOffDiagJacobian(), INSMass::computeQpPGJacobian(), computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMass::computeQpPGResidual(), computeQpPGResidual(), and Advection::computeQpResidual().
|
protectedvirtualinherited |
Provides tau which yields superconvergence for 1D advection-diffusion.
Definition at line 281 of file INSBase.C.
Referenced by Advection::computeQpJacobian(), and Advection::computeQpResidual().
|
protectedvirtualinherited |
Definition at line 244 of file INSBase.C.
Referenced by computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMass::computeQpPGResidual(), and computeQpPGResidual().
|
protectedvirtualinherited |
Definition at line 220 of file INSBase.C.
Referenced by computeQpResidual().
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
protectedinherited |
Definition at line 107 of file INSBase.h.
Referenced by INSBase::dTauDUComp(), and INSBase::tau().
|
protected |
Definition at line 43 of file INSMomentumBase.h.
Referenced by computeQpJacobian(), INSMomentumTractionFormRZ::computeQpJacobian(), INSMomentumLaplaceFormRZ::computeQpJacobian(), INSMomentumTractionForm::computeQpJacobianViscousPart(), computeQpOffDiagJacobian(), INSMomentumTractionFormRZ::computeQpOffDiagJacobian(), INSMomentumLaplaceFormRZ::computeQpOffDiagJacobian(), INSMomentumTractionForm::computeQpOffDiagJacobianViscousPart(), computeQpPGJacobian(), computeQpPGResidual(), computeQpResidual(), INSMomentumTractionFormRZ::computeQpResidual(), INSMomentumLaplaceFormRZ::computeQpResidual(), and INSMomentumTractionForm::computeQpResidualViscousPart().
|
protectedinherited |
Definition at line 109 of file INSBase.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMass::computeQpPGResidual(), computeQpPGResidual(), computeQpResidual(), and INSMomentumBase().
|
protectedinherited |
Definition at line 91 of file INSBase.h.
Referenced by INSBase::dTimeDerivativeDUComp().
|
protectedinherited |
Definition at line 92 of file INSBase.h.
Referenced by INSBase::dTimeDerivativeDUComp().
|
protectedinherited |
Definition at line 93 of file INSBase.h.
Referenced by INSBase::dTimeDerivativeDUComp().
|
protected |
Definition at line 46 of file INSMomentumBase.h.
Referenced by computeQpPGJacobian(), computeQpPGResidual(), and computeQpResidual().
|
protectedinherited |
Definition at line 78 of file INSBase.h.
Referenced by INSBase::strongPressureTerm().
|
protectedinherited |
Definition at line 75 of file INSBase.h.
Referenced by INSMass::computeQpResidual(), INSMomentumTractionForm::computeQpResidualViscousPart(), INSBase::convectiveTerm(), INSBase::dConvecDUComp(), INSMomentumLaplaceFormRZ::strongViscousTermLaplace(), INSMassRZ::strongViscousTermLaplace(), INSMomentumTractionFormRZ::strongViscousTermTraction(), INSMassRZ::strongViscousTermTraction(), INSBase::weakViscousTermLaplace(), and INSBase::weakViscousTermTraction().
|
protectedinherited |
Definition at line 76 of file INSBase.h.
Referenced by INSMass::computeQpResidual(), INSMomentumTractionForm::computeQpResidualViscousPart(), INSBase::convectiveTerm(), INSBase::dConvecDUComp(), INSMomentumLaplaceFormRZ::strongViscousTermLaplace(), INSMassRZ::strongViscousTermLaplace(), INSMomentumTractionFormRZ::strongViscousTermTraction(), INSMassRZ::strongViscousTermTraction(), INSBase::weakViscousTermLaplace(), and INSBase::weakViscousTermTraction().
|
protectedinherited |
Definition at line 77 of file INSBase.h.
Referenced by INSMass::computeQpResidual(), INSMomentumTractionForm::computeQpResidualViscousPart(), INSBase::convectiveTerm(), INSBase::dConvecDUComp(), INSBase::weakViscousTermLaplace(), and INSBase::weakViscousTermTraction().
|
protectedinherited |
Definition at line 101 of file INSBase.h.
Referenced by INSBase::gravityTerm().
|
protected |
Definition at line 44 of file INSMomentumBase.h.
Referenced by computeQpOffDiagJacobian(), INSMomentumTractionFormRZ::computeQpOffDiagJacobian(), INSMomentumLaplaceFormRZ::computeQpOffDiagJacobian(), computeQpResidual(), INSMomentumTractionFormRZ::computeQpResidual(), and INSMomentumLaplaceFormRZ::computeQpResidual().
|
protectedinherited |
Definition at line 108 of file INSBase.h.
Referenced by computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMass::computeQpPGResidual(), and computeQpPGResidual().
|
protectedinherited |
Definition at line 104 of file INSBase.h.
Referenced by INSMomentumTractionFormRZ::computeQpJacobian(), INSMomentumLaplaceFormRZ::computeQpJacobian(), INSMomentumLaplaceForm::computeQpJacobianViscousPart(), INSMomentumTractionForm::computeQpJacobianViscousPart(), INSMomentumTractionForm::computeQpOffDiagJacobianViscousPart(), INSMomentumTractionFormRZ::computeQpResidual(), INSMomentumLaplaceFormRZ::computeQpResidual(), INSMomentumLaplaceForm::computeQpResidualViscousPart(), INSMomentumTractionForm::computeQpResidualViscousPart(), INSMomentumLaplaceFormRZ::dStrongViscDUCompLaplace(), INSMassRZ::dStrongViscDUCompLaplace(), INSBase::dStrongViscDUCompLaplace(), INSMomentumTractionFormRZ::dStrongViscDUCompTraction(), INSMassRZ::dStrongViscDUCompTraction(), INSBase::dStrongViscDUCompTraction(), INSBase::dTauDUComp(), INSBase::dWeakViscDUCompLaplace(), INSBase::dWeakViscDUCompTraction(), INSMomentumLaplaceFormRZ::strongViscousTermLaplace(), INSMassRZ::strongViscousTermLaplace(), INSBase::strongViscousTermLaplace(), INSMomentumTractionFormRZ::strongViscousTermTraction(), INSMassRZ::strongViscousTermTraction(), INSBase::strongViscousTermTraction(), INSBase::tau(), INSBase::tauNodal(), INSBase::weakViscousTermLaplace(), and INSBase::weakViscousTermTraction().
|
protectedinherited |
Definition at line 72 of file INSBase.h.
Referenced by INSMomentumTractionFormRZ::computeQpResidual(), INSMomentumLaplaceFormRZ::computeQpResidual(), and INSBase::weakPressureTerm().
|
protectedinherited |
Definition at line 99 of file INSBase.h.
Referenced by computeQpOffDiagJacobian(), INSMomentumTractionFormRZ::computeQpOffDiagJacobian(), and INSMomentumLaplaceFormRZ::computeQpOffDiagJacobian().
|
protectedinherited |
Definition at line 105 of file INSBase.h.
Referenced by INSMass::computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMass::computeQpPGResidual(), INSBase::convectiveTerm(), INSBase::dConvecDUComp(), INSBase::dTauDUComp(), INSBase::dTimeDerivativeDUComp(), INSBase::gravityTerm(), INSBase::tau(), INSBase::tauNodal(), and INSBase::timeDerivativeTerm().
|
protectedinherited |
second derivatives of the shape function
Definition at line 66 of file INSBase.h.
Referenced by INSBase::dStrongViscDUCompLaplace(), and INSBase::dStrongViscDUCompTraction().
|
protectedinherited |
Definition at line 81 of file INSBase.h.
Referenced by INSBase::strongViscousTermLaplace(), and INSBase::strongViscousTermTraction().
|
protectedinherited |
Definition at line 82 of file INSBase.h.
Referenced by INSBase::strongViscousTermLaplace(), and INSBase::strongViscousTermTraction().
|
protectedinherited |
Definition at line 83 of file INSBase.h.
Referenced by INSBase::strongViscousTermLaplace(), and INSBase::strongViscousTermTraction().
|
protected |
Definition at line 45 of file INSMomentumBase.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), computeQpResidual(), and INSMomentumBase().
|
protectedinherited |
Definition at line 110 of file INSBase.h.
Referenced by computeQpPGJacobian(), INSMass::computeQpPGOffDiagJacobian(), INSMass::computeQpPGResidual(), computeQpPGResidual(), INSBase::dTauDUComp(), and INSBase::tau().
|
protectedinherited |
Definition at line 69 of file INSBase.h.
Referenced by Advection::computeQpJacobian(), computeQpOffDiagJacobian(), computeQpPGJacobian(), computeQpPGResidual(), Advection::computeQpResidual(), INSMomentumTractionFormRZ::computeQpResidual(), INSMomentumLaplaceFormRZ::computeQpResidual(), INSMassRZ::computeQpResidual(), INSBase::convectiveTerm(), INSBase::dConvecDUComp(), INSBase::dTauDUComp(), INSMomentumLaplaceFormRZ::strongViscousTermLaplace(), INSMassRZ::strongViscousTermLaplace(), INSMomentumTractionFormRZ::strongViscousTermTraction(), INSMassRZ::strongViscousTermTraction(), INSBase::tau(), and INSBase::tauNodal().
|
protectedinherited |
Definition at line 86 of file INSBase.h.
Referenced by INSBase::timeDerivativeTerm().
|
protectedinherited |
Definition at line 96 of file INSBase.h.
Referenced by INSMass::computeQpOffDiagJacobian(), computeQpOffDiagJacobian(), INSMassRZ::computeQpOffDiagJacobian(), and INSMomentumTractionForm::computeQpOffDiagJacobianViscousPart().
|
protectedinherited |
Definition at line 70 of file INSBase.h.
Referenced by Advection::computeQpJacobian(), computeQpOffDiagJacobian(), computeQpPGJacobian(), computeQpPGResidual(), Advection::computeQpResidual(), INSBase::convectiveTerm(), INSBase::dConvecDUComp(), INSBase::dTauDUComp(), INSBase::tau(), and INSBase::tauNodal().
|
protectedinherited |
Definition at line 87 of file INSBase.h.
Referenced by INSBase::timeDerivativeTerm().
|
protectedinherited |
Definition at line 97 of file INSBase.h.
Referenced by INSMass::computeQpOffDiagJacobian(), computeQpOffDiagJacobian(), and INSMomentumTractionForm::computeQpOffDiagJacobianViscousPart().
|
protectedinherited |
Definition at line 71 of file INSBase.h.
Referenced by Advection::computeQpJacobian(), computeQpOffDiagJacobian(), computeQpPGJacobian(), computeQpPGResidual(), Advection::computeQpResidual(), INSBase::convectiveTerm(), INSBase::dConvecDUComp(), INSBase::dTauDUComp(), INSBase::tau(), and INSBase::tauNodal().
|
protectedinherited |
Definition at line 88 of file INSBase.h.
Referenced by INSBase::timeDerivativeTerm().
|
protectedinherited |
Definition at line 98 of file INSBase.h.
Referenced by INSMass::computeQpOffDiagJacobian(), computeQpOffDiagJacobian(), and INSMomentumTractionForm::computeQpOffDiagJacobianViscousPart().