Compute residual and Jacobian terms form the SUPG terms in the momentum equation. More...
#include <NSSUPGMomentum.h>
Public Member Functions | |
NSSUPGMomentum (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual Real | computeQpResidual () |
virtual Real | computeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) |
bool | isNSVariable (unsigned var) |
Helper functions for mapping Moose variable numberings into the "canonical" numbering for the compressible NS equations. More... | |
unsigned | mapVarNumber (unsigned var) |
Protected Attributes | |
unsigned int | _component |
const MaterialProperty< RealTensorValue > & | _viscous_stress_tensor |
const MaterialProperty< Real > & | _dynamic_viscosity |
const MaterialProperty< Real > & | _thermal_conductivity |
const MaterialProperty< Real > & | _hsupg |
const MaterialProperty< Real > & | _tauc |
const MaterialProperty< Real > & | _taum |
const MaterialProperty< Real > & | _taue |
const MaterialProperty< std::vector< Real > > & | _strong_residuals |
const MaterialProperty< std::vector< RealTensorValue > > & | _calA |
const MaterialProperty< std::vector< RealTensorValue > > & | _calC |
const MaterialProperty< std::vector< std::vector< RealTensorValue > > > & | _calE |
const VariableValue & | _d_rhodot_du |
const VariableValue & | _d_rhoudot_du |
const VariableValue & | _d_rhovdot_du |
const VariableValue & | _d_rhowdot_du |
const VariableValue & | _d_rhoEdot_du |
const VariableValue & | _temperature |
const VariableValue & | _enthalpy |
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 IdealGasFluidProperties & | _fp |
Private Member Functions | |
Real | computeJacobianHelper (unsigned int var) |
Compute residual and Jacobian terms form the SUPG terms in the momentum equation.
Definition at line 24 of file NSSUPGMomentum.h.
NSSUPGMomentum::NSSUPGMomentum | ( | const InputParameters & | parameters | ) |
Definition at line 28 of file NSSUPGMomentum.C.
|
private |
Definition at line 105 of file NSSUPGMomentum.C.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
protectedvirtual |
Definition at line 88 of file NSSUPGMomentum.C.
|
protectedvirtual |
Definition at line 99 of file NSSUPGMomentum.C.
|
protectedvirtual |
Definition at line 34 of file NSSUPGMomentum.C.
|
protectedinherited |
Helper functions for mapping Moose variable numberings into the "canonical" numbering for the compressible NS equations.
Definition at line 78 of file NSKernel.C.
Referenced by NSSUPGEnergy::computeJacobianHelper(), NSSUPGMass::computeJacobianHelper(), computeJacobianHelper(), NSMassInviscidFlux::computeQpOffDiagJacobian(), NSEnergyInviscidFlux::computeQpOffDiagJacobian(), NSMomentumInviscidFluxWithGradP::computeQpOffDiagJacobian(), NSMomentumInviscidFlux::computeQpOffDiagJacobian(), NSEnergyViscousFlux::computeQpOffDiagJacobian(), NSMomentumViscousFlux::computeQpOffDiagJacobian(), and NSEnergyThermalFlux::computeQpOffDiagJacobian().
|
protectedinherited |
Definition at line 88 of file NSKernel.C.
Referenced by NSSUPGEnergy::computeJacobianHelper(), NSSUPGMass::computeJacobianHelper(), computeJacobianHelper(), NSMassInviscidFlux::computeQpOffDiagJacobian(), NSMomentumInviscidFluxWithGradP::computeQpOffDiagJacobian(), NSMomentumInviscidFlux::computeQpOffDiagJacobian(), NSEnergyViscousFlux::computeQpOffDiagJacobian(), NSMomentumViscousFlux::computeQpOffDiagJacobian(), and NSEnergyThermalFlux::computeQpOffDiagJacobian().
|
protectedinherited |
Definition at line 44 of file NSSUPGBase.h.
Referenced by NSSUPGEnergy::computeJacobianHelper(), NSSUPGMass::computeJacobianHelper(), and computeJacobianHelper().
|
protectedinherited |
Definition at line 47 of file NSSUPGBase.h.
Referenced by NSSUPGEnergy::computeJacobianHelper(), and computeJacobianHelper().
|
protectedinherited |
Definition at line 50 of file NSSUPGBase.h.
Referenced by NSSUPGEnergy::computeJacobianHelper(), and computeJacobianHelper().
|
protected |
Definition at line 37 of file NSSUPGMomentum.h.
Referenced by computeJacobianHelper(), computeQpJacobian(), and computeQpResidual().
|
protectedinherited |
Definition at line 61 of file NSSUPGBase.h.
|
protectedinherited |
Definition at line 65 of file NSSUPGBase.h.
|
protectedinherited |
Definition at line 62 of file NSSUPGBase.h.
Referenced by NSSUPGMass::computeJacobianHelper().
|
protectedinherited |
Definition at line 63 of file NSSUPGBase.h.
Referenced by NSSUPGMass::computeJacobianHelper().
|
protectedinherited |
Definition at line 64 of file NSSUPGBase.h.
Referenced by NSSUPGMass::computeJacobianHelper().
|
protectedinherited |
Definition at line 33 of file NSSUPGBase.h.
|
protectedinherited |
Definition at line 71 of file NSSUPGBase.h.
Referenced by NSSUPGEnergy::computeJacobianHelper(), and NSSUPGEnergy::computeQpResidual().
|
protectedinherited |
Definition at line 65 of file NSKernel.h.
Referenced by NSSUPGEnergy::computeJacobianHelper(), computeJacobianHelper(), NSMomentumInviscidFlux::computeJacobianHelper(), NSEnergyInviscidFlux::computeQpJacobian(), NSEnergyInviscidFlux::computeQpOffDiagJacobian(), computeQpResidual(), and NSSUPGEnergy::computeQpResidual().
|
protectedinherited |
Definition at line 47 of file NSKernel.h.
Referenced by NSEnergyThermalFlux::NSEnergyThermalFlux(), and NSMomentumInviscidFluxWithGradP::NSMomentumInviscidFluxWithGradP().
|
protectedinherited |
Definition at line 51 of file NSKernel.h.
Referenced by NSEnergyThermalFlux::NSEnergyThermalFlux(), and NSMomentumInviscidFluxWithGradP::NSMomentumInviscidFluxWithGradP().
|
protectedinherited |
Definition at line 48 of file NSKernel.h.
Referenced by NSEnergyThermalFlux::NSEnergyThermalFlux(), and NSMomentumInviscidFluxWithGradP::NSMomentumInviscidFluxWithGradP().
|
protectedinherited |
Definition at line 49 of file NSKernel.h.
Referenced by NSEnergyThermalFlux::NSEnergyThermalFlux(), and NSMomentumInviscidFluxWithGradP::NSMomentumInviscidFluxWithGradP().
|
protectedinherited |
Definition at line 50 of file NSKernel.h.
Referenced by NSEnergyThermalFlux::NSEnergyThermalFlux(), and NSMomentumInviscidFluxWithGradP::NSMomentumInviscidFluxWithGradP().
|
protectedinherited |
Definition at line 37 of file NSSUPGBase.h.
|
protectedinherited |
Definition at line 40 of file NSKernel.h.
Referenced by NSEnergyViscousFlux::computeQpOffDiagJacobian(), NSGravityForce::computeQpResidual(), and NSEnergyInviscidFlux::computeQpResidual().
|
protectedinherited |
Definition at line 44 of file NSKernel.h.
|
protectedinherited |
Definition at line 41 of file NSKernel.h.
Referenced by NSEnergyViscousFlux::computeQpOffDiagJacobian(), and NSMassInviscidFlux::computeQpResidual().
|
protectedinherited |
Definition at line 42 of file NSKernel.h.
Referenced by NSEnergyViscousFlux::computeQpOffDiagJacobian(), and NSMassInviscidFlux::computeQpResidual().
|
protectedinherited |
|
protectedinherited |
Definition at line 43 of file NSKernel.h.
Referenced by NSEnergyViscousFlux::computeQpOffDiagJacobian(), and NSMassInviscidFlux::computeQpResidual().
|
protectedinherited |
Definition at line 58 of file NSKernel.h.
Referenced by NSSUPGEnergy::computeQpJacobian(), NSMomentumInviscidFluxWithGradP::computeQpOffDiagJacobian(), NSKernel::isNSVariable(), and NSKernel::mapVarNumber().
|
protectedinherited |
Definition at line 55 of file NSKernel.h.
Referenced by computeQpJacobian(), NSEnergyInviscidFlux::computeQpOffDiagJacobian(), NSMomentumInviscidFluxWithGradP::computeQpOffDiagJacobian(), NSKernel::isNSVariable(), and NSKernel::mapVarNumber().
|
protectedinherited |
Definition at line 56 of file NSKernel.h.
Referenced by computeQpJacobian(), NSEnergyInviscidFlux::computeQpOffDiagJacobian(), NSMomentumInviscidFluxWithGradP::computeQpOffDiagJacobian(), NSKernel::isNSVariable(), and NSKernel::mapVarNumber().
|
protectedinherited |
Definition at line 57 of file NSKernel.h.
Referenced by computeQpJacobian(), NSEnergyInviscidFlux::computeQpOffDiagJacobian(), NSMomentumInviscidFluxWithGradP::computeQpOffDiagJacobian(), NSKernel::isNSVariable(), and NSKernel::mapVarNumber().
|
protectedinherited |
Definition at line 41 of file NSSUPGBase.h.
Referenced by NSSUPGEnergy::computeQpResidual(), NSSUPGMass::computeQpResidual(), and computeQpResidual().
|
protectedinherited |
Definition at line 38 of file NSSUPGBase.h.
Referenced by NSSUPGEnergy::computeJacobianHelper(), computeJacobianHelper(), computeQpResidual(), and NSSUPGEnergy::computeQpResidual().
|
protectedinherited |
Definition at line 40 of file NSSUPGBase.h.
Referenced by NSSUPGEnergy::computeJacobianHelper(), computeJacobianHelper(), computeQpResidual(), and NSSUPGEnergy::computeQpResidual().
|
protectedinherited |
Definition at line 39 of file NSSUPGBase.h.
Referenced by NSSUPGEnergy::computeJacobianHelper(), NSSUPGMass::computeJacobianHelper(), computeJacobianHelper(), NSSUPGEnergy::computeQpResidual(), computeQpResidual(), and NSSUPGMass::computeQpResidual().
|
protectedinherited |
Definition at line 68 of file NSSUPGBase.h.
|
protectedinherited |
Definition at line 34 of file NSSUPGBase.h.
|
protectedinherited |
Definition at line 36 of file NSKernel.h.
Referenced by NSSUPGEnergy::computeJacobianHelper(), computeJacobianHelper(), NSMomentumInviscidFlux::computeJacobianHelper(), NSEnergyInviscidFlux::computeQpJacobian(), NSMomentumInviscidFluxWithGradP::computeQpJacobian(), NSEnergyInviscidFlux::computeQpOffDiagJacobian(), NSMomentumInviscidFluxWithGradP::computeQpOffDiagJacobian(), NSEnergyInviscidFlux::computeQpResidual(), NSMomentumInviscidFluxWithGradP::computeQpResidual(), computeQpResidual(), NSEnergyViscousFlux::computeQpResidual(), NSMomentumInviscidFlux::computeQpResidual(), and NSSUPGEnergy::computeQpResidual().
|
protectedinherited |
Definition at line 37 of file NSKernel.h.
Referenced by NSSUPGEnergy::computeJacobianHelper(), computeJacobianHelper(), NSMomentumInviscidFlux::computeJacobianHelper(), NSEnergyInviscidFlux::computeQpJacobian(), NSMomentumInviscidFluxWithGradP::computeQpJacobian(), NSEnergyInviscidFlux::computeQpOffDiagJacobian(), NSMomentumInviscidFluxWithGradP::computeQpOffDiagJacobian(), NSEnergyInviscidFlux::computeQpResidual(), NSMomentumInviscidFluxWithGradP::computeQpResidual(), computeQpResidual(), NSEnergyViscousFlux::computeQpResidual(), NSMomentumInviscidFlux::computeQpResidual(), and NSSUPGEnergy::computeQpResidual().
|
protectedinherited |
Definition at line 32 of file NSSUPGBase.h.
|
protectedinherited |
Definition at line 38 of file NSKernel.h.
Referenced by NSSUPGEnergy::computeJacobianHelper(), computeJacobianHelper(), NSMomentumInviscidFlux::computeJacobianHelper(), NSEnergyInviscidFlux::computeQpJacobian(), NSMomentumInviscidFluxWithGradP::computeQpJacobian(), NSEnergyInviscidFlux::computeQpOffDiagJacobian(), NSMomentumInviscidFluxWithGradP::computeQpOffDiagJacobian(), NSEnergyInviscidFlux::computeQpResidual(), NSMomentumInviscidFluxWithGradP::computeQpResidual(), computeQpResidual(), NSEnergyViscousFlux::computeQpResidual(), NSMomentumInviscidFlux::computeQpResidual(), and NSSUPGEnergy::computeQpResidual().