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 "INSMomentumBase.h" 13 : 14 : // Forward Declarations 15 : 16 : /** 17 : * This class computes momentum equation residual and Jacobian viscous 18 : * contributions for the "Laplacian" form of the governing equations. 19 : */ 20 : class INSMomentumLaplaceForm : public INSMomentumBase 21 : { 22 : public: 23 : static InputParameters validParams(); 24 : 25 : INSMomentumLaplaceForm(const InputParameters & parameters); 26 : 27 3618 : virtual ~INSMomentumLaplaceForm() {} 28 : 29 : protected: 30 : virtual Real computeQpResidualViscousPart() override; 31 : virtual Real computeQpJacobianViscousPart() override; 32 : virtual Real computeQpOffDiagJacobianViscousPart(unsigned jvar) override; 33 : };