This class computes momentum equation residual and Jacobian viscous contributions for the "traction" form of the governing equations.
More...
#include <INSMomentumTractionForm.h>
This class computes momentum equation residual and Jacobian viscous contributions for the "traction" form of the governing equations.
Definition at line 24 of file INSMomentumTractionForm.h.
◆ INSMomentumTractionForm()
INSMomentumTractionForm::INSMomentumTractionForm |
( |
const InputParameters & |
parameters | ) |
|
◆ ~INSMomentumTractionForm()
virtual INSMomentumTractionForm::~INSMomentumTractionForm |
( |
| ) |
|
|
inlinevirtual |
◆ computeQpJacobian()
Real INSMomentumBase::computeQpJacobian |
( |
| ) |
|
|
protectedvirtualinherited |
◆ computeQpJacobianViscousPart()
Real INSMomentumTractionForm::computeQpJacobianViscousPart |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ computeQpOffDiagJacobian()
Real INSMomentumBase::computeQpOffDiagJacobian |
( |
unsigned |
jvar | ) |
|
|
protectedvirtualinherited |
◆ computeQpOffDiagJacobianViscousPart()
Real INSMomentumTractionForm::computeQpOffDiagJacobianViscousPart |
( |
unsigned |
jvar | ) |
|
|
overrideprotectedvirtual |
◆ computeQpPGJacobian()
Real INSMomentumBase::computeQpPGJacobian |
( |
unsigned |
comp | ) |
|
|
protectedvirtualinherited |
◆ computeQpPGResidual()
Real INSMomentumBase::computeQpPGResidual |
( |
| ) |
|
|
protectedvirtualinherited |
◆ computeQpResidual()
Real INSMomentumBase::computeQpResidual |
( |
| ) |
|
|
protectedvirtualinherited |
◆ computeQpResidualViscousPart()
Real INSMomentumTractionForm::computeQpResidualViscousPart |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ convectiveTerm()
RealVectorValue INSBase::convectiveTerm |
( |
| ) |
|
|
protectedvirtualinherited |
◆ dConvecDUComp()
RealVectorValue INSBase::dConvecDUComp |
( |
unsigned |
comp | ) |
|
|
protectedvirtualinherited |
◆ dStrongPressureDPressure()
RealVectorValue INSBase::dStrongPressureDPressure |
( |
| ) |
|
|
protectedvirtualinherited |
◆ dStrongViscDUCompLaplace()
RealVectorValue INSBase::dStrongViscDUCompLaplace |
( |
unsigned |
comp | ) |
|
|
protectedvirtualinherited |
◆ dStrongViscDUCompTraction()
RealVectorValue INSBase::dStrongViscDUCompTraction |
( |
unsigned |
comp | ) |
|
|
protectedvirtualinherited |
◆ dTauDUComp()
Real INSBase::dTauDUComp |
( |
unsigned |
comp | ) |
|
|
protectedvirtualinherited |
◆ dTimeDerivativeDUComp()
RealVectorValue INSBase::dTimeDerivativeDUComp |
( |
unsigned |
comp | ) |
|
|
protectedvirtualinherited |
◆ dWeakPressureDPressure()
Real INSBase::dWeakPressureDPressure |
( |
| ) |
|
|
protectedvirtualinherited |
◆ dWeakViscDUCompLaplace()
RealVectorValue INSBase::dWeakViscDUCompLaplace |
( |
| ) |
|
|
protectedvirtualinherited |
Definition at line 202 of file INSBase.C.
204 return _mu[_qp] * _grad_phi[_j][_qp];
◆ dWeakViscDUCompTraction()
RealVectorValue INSBase::dWeakViscDUCompTraction |
( |
| ) |
|
|
protectedvirtualinherited |
Definition at line 208 of file INSBase.C.
210 return _mu[_qp] * _grad_phi[_j][_qp];
◆ gravityTerm()
RealVectorValue INSBase::gravityTerm |
( |
| ) |
|
|
protectedvirtualinherited |
◆ strongPressureTerm()
RealVectorValue INSBase::strongPressureTerm |
( |
| ) |
|
|
protectedvirtualinherited |
◆ strongViscousTermLaplace()
RealVectorValue INSBase::strongViscousTermLaplace |
( |
| ) |
|
|
protectedvirtualinherited |
◆ strongViscousTermTraction()
RealVectorValue INSBase::strongViscousTermTraction |
( |
| ) |
|
|
protectedvirtualinherited |
◆ tau()
|
protectedvirtualinherited |
◆ tauNodal()
Real INSBase::tauNodal |
( |
| ) |
|
|
protectedvirtualinherited |
Provides tau which yields superconvergence for 1D advection-diffusion.
Definition at line 281 of file INSBase.C.
283 Real nu =
_mu[_qp] /
_rho[_qp];
285 Real h = _current_elem->hmax();
287 if (nu < std::numeric_limits<Real>::epsilon())
291 Real alpha = U.norm() * h / (2 * nu);
292 xi = 1. / std::tanh(alpha) - 1. / alpha;
294 return h / (2 * U.norm()) * xi;
Referenced by Advection::computeQpJacobian(), and Advection::computeQpResidual().
◆ timeDerivativeTerm()
RealVectorValue INSBase::timeDerivativeTerm |
( |
| ) |
|
|
protectedvirtualinherited |
◆ weakPressureTerm()
Real INSBase::weakPressureTerm |
( |
| ) |
|
|
protectedvirtualinherited |
◆ weakViscousTermLaplace()
RealVectorValue INSBase::weakViscousTermLaplace |
( |
unsigned |
comp | ) |
|
|
protectedvirtualinherited |
◆ weakViscousTermTraction()
RealVectorValue INSBase::weakViscousTermTraction |
( |
unsigned |
comp | ) |
|
|
protectedvirtualinherited |
◆ _alpha
const Real& INSBase::_alpha |
|
protectedinherited |
◆ _component
unsigned INSMomentumBase::_component |
|
protectedinherited |
Definition at line 43 of file INSMomentumBase.h.
Referenced by INSMomentumBase::computeQpJacobian(), INSMomentumTractionFormRZ::computeQpJacobian(), INSMomentumLaplaceFormRZ::computeQpJacobian(), computeQpJacobianViscousPart(), INSMomentumBase::computeQpOffDiagJacobian(), INSMomentumTractionFormRZ::computeQpOffDiagJacobian(), INSMomentumLaplaceFormRZ::computeQpOffDiagJacobian(), computeQpOffDiagJacobianViscousPart(), INSMomentumBase::computeQpPGJacobian(), INSMomentumBase::computeQpPGResidual(), INSMomentumBase::computeQpResidual(), INSMomentumTractionFormRZ::computeQpResidual(), INSMomentumLaplaceFormRZ::computeQpResidual(), and computeQpResidualViscousPart().
◆ _convective_term
bool INSBase::_convective_term |
|
protectedinherited |
◆ _d_u_vel_dot_du
const VariableValue& INSBase::_d_u_vel_dot_du |
|
protectedinherited |
◆ _d_v_vel_dot_dv
const VariableValue& INSBase::_d_v_vel_dot_dv |
|
protectedinherited |
◆ _d_w_vel_dot_dw
const VariableValue& INSBase::_d_w_vel_dot_dw |
|
protectedinherited |
◆ _ffn
const Function& INSMomentumBase::_ffn |
|
protectedinherited |
◆ _grad_p
const VariableGradient& INSBase::_grad_p |
|
protectedinherited |
◆ _grad_u_vel
const VariableGradient& INSBase::_grad_u_vel |
|
protectedinherited |
◆ _grad_v_vel
const VariableGradient& INSBase::_grad_v_vel |
|
protectedinherited |
◆ _grad_w_vel
const VariableGradient& INSBase::_grad_w_vel |
|
protectedinherited |
◆ _gravity
RealVectorValue INSBase::_gravity |
|
protectedinherited |
◆ _integrate_p_by_parts
bool INSMomentumBase::_integrate_p_by_parts |
|
protectedinherited |
◆ _laplace
◆ _mu
const MaterialProperty<Real>& INSBase::_mu |
|
protectedinherited |
Definition at line 104 of file INSBase.h.
Referenced by INSMomentumTractionFormRZ::computeQpJacobian(), INSMomentumLaplaceFormRZ::computeQpJacobian(), computeQpJacobianViscousPart(), INSMomentumLaplaceForm::computeQpJacobianViscousPart(), computeQpOffDiagJacobianViscousPart(), INSMomentumTractionFormRZ::computeQpResidual(), INSMomentumLaplaceFormRZ::computeQpResidual(), INSMomentumLaplaceForm::computeQpResidualViscousPart(), 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().
◆ _p
const VariableValue& INSBase::_p |
|
protectedinherited |
◆ _p_var_number
unsigned INSBase::_p_var_number |
|
protectedinherited |
◆ _rho
const MaterialProperty<Real>& INSBase::_rho |
|
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().
◆ _second_phi
const VariablePhiSecond& INSBase::_second_phi |
|
protectedinherited |
◆ _second_u_vel
const VariableSecond& INSBase::_second_u_vel |
|
protectedinherited |
◆ _second_v_vel
const VariableSecond& INSBase::_second_v_vel |
|
protectedinherited |
◆ _second_w_vel
const VariableSecond& INSBase::_second_w_vel |
|
protectedinherited |
◆ _supg
bool INSMomentumBase::_supg |
|
protectedinherited |
◆ _transient_term
bool INSBase::_transient_term |
|
protectedinherited |
◆ _u_vel
const VariableValue& INSBase::_u_vel |
|
protectedinherited |
Definition at line 69 of file INSBase.h.
Referenced by Advection::computeQpJacobian(), INSMomentumBase::computeQpOffDiagJacobian(), INSMomentumBase::computeQpPGJacobian(), INSMomentumBase::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().
◆ _u_vel_dot
const VariableValue& INSBase::_u_vel_dot |
|
protectedinherited |
◆ _u_vel_var_number
unsigned INSBase::_u_vel_var_number |
|
protectedinherited |
◆ _v_vel
const VariableValue& INSBase::_v_vel |
|
protectedinherited |
◆ _v_vel_dot
const VariableValue& INSBase::_v_vel_dot |
|
protectedinherited |
◆ _v_vel_var_number
unsigned INSBase::_v_vel_var_number |
|
protectedinherited |
◆ _w_vel
const VariableValue& INSBase::_w_vel |
|
protectedinherited |
◆ _w_vel_dot
const VariableValue& INSBase::_w_vel_dot |
|
protectedinherited |
◆ _w_vel_var_number
unsigned INSBase::_w_vel_var_number |
|
protectedinherited |
The documentation for this class was generated from the following files:
virtual RealVectorValue gravityTerm()
const VariableSecond & _second_u_vel
virtual RealVectorValue strongPressureTerm()
virtual Real computeQpPGJacobian(unsigned comp)
const VariableValue & _d_v_vel_dot_dv
const VariablePhiSecond & _second_phi
second derivatives of the shape function
const VariableValue & _v_vel
virtual Real computeQpOffDiagJacobianViscousPart(unsigned jvar)=0
virtual Real dWeakPressureDPressure()
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
const VariableValue & _w_vel_dot
virtual RealVectorValue dStrongPressureDPressure()
bool _integrate_p_by_parts
const VariableValue & _d_w_vel_dot_dw
virtual RealVectorValue dStrongViscDUCompLaplace(unsigned comp)
virtual RealVectorValue dTimeDerivativeDUComp(unsigned comp)
INSMomentumBase(const InputParameters ¶meters)
virtual RealVectorValue strongViscousTermLaplace()
const VariableValue & _v_vel_dot
virtual RealVectorValue strongViscousTermTraction()
virtual Real computeQpPGResidual()
unsigned _u_vel_var_number
const VariableValue & _d_u_vel_dot_du
const VariableSecond & _second_w_vel
const VariableGradient & _grad_w_vel
virtual RealVectorValue convectiveTerm()
unsigned _v_vel_var_number
const MaterialProperty< Real > & _rho
virtual RealVectorValue dConvecDUComp(unsigned comp)
const VariableGradient & _grad_p
const VariableGradient & _grad_u_vel
const VariableValue & _u_vel
virtual Real weakPressureTerm()
unsigned _w_vel_var_number
virtual RealVectorValue dStrongViscDUCompTraction(unsigned comp)
virtual Real computeQpResidualViscousPart()=0
const VariableGradient & _grad_v_vel
const VariableValue & _w_vel
const VariableSecond & _second_v_vel
const MaterialProperty< Real > & _mu
const VariableValue & _u_vel_dot
virtual RealVectorValue timeDerivativeTerm()
virtual Real computeQpJacobianViscousPart()=0
virtual Real dTauDUComp(unsigned comp)