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 "INSMomentumLaplaceForm.h" 13 : 14 : // Forward Declarations 15 : 16 : /** 17 : * This class computes additional momentum equation residual and 18 : * Jacobian contributions for the incompressible Navier-Stokes 19 : * momentum equation in RZ (axisymmetric cylindrical) coordinates, 20 : * using the "Laplace" form of the governing equations. 21 : */ 22 : class INSMomentumLaplaceFormRZ : public INSMomentumLaplaceForm 23 : { 24 : public: 25 : static InputParameters validParams(); 26 : 27 : INSMomentumLaplaceFormRZ(const InputParameters & parameters); 28 : 29 1276 : virtual ~INSMomentumLaplaceFormRZ() {} 30 : 31 : protected: 32 : virtual RealVectorValue strongViscousTermLaplace() override; 33 : virtual RealVectorValue dStrongViscDUCompLaplace(unsigned comp) override; 34 : virtual Real computeQpResidual() override; 35 : virtual Real computeQpJacobian() override; 36 : virtual Real computeQpOffDiagJacobian(unsigned jvar) override; 37 : };