Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #pragma once 11 : 12 : #include "INSMass.h" 13 : 14 : // Forward Declarations 15 : 16 : /** 17 : * This class computes the mass equation residual and Jacobian 18 : * contributions for the incompressible Navier-Stokes momentum 19 : * equation in RZ coordinates. Inherits most of its functionality 20 : * from INSMass, and calls its computeQpXYZ() functions when 21 : * necessary. 22 : */ 23 : class INSMassRZ : public INSMass 24 : { 25 : public: 26 : static InputParameters validParams(); 27 : 28 : INSMassRZ(const InputParameters & parameters); 29 858 : virtual ~INSMassRZ() {} 30 : 31 : protected: 32 : virtual RealVectorValue strongViscousTermTraction() override; 33 : virtual RealVectorValue dStrongViscDUCompTraction(unsigned comp) override; 34 : virtual RealVectorValue strongViscousTermLaplace() override; 35 : virtual RealVectorValue dStrongViscDUCompLaplace(unsigned comp) override; 36 : virtual Real computeQpResidual() override; 37 : virtual Real computeQpOffDiagJacobian(unsigned jvar) override; 38 : };