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 "INSFEFluidIntegratedBCBase.h" 13 : #include "Function.h" 14 : 15 : /** 16 : * A specific BC for the mass (pressure) equation 17 : */ 18 : class INSFEFluidMassBC : public INSFEFluidIntegratedBCBase 19 : { 20 : public: 21 : static InputParameters validParams(); 22 : 23 : INSFEFluidMassBC(const InputParameters & parameters); 24 308 : virtual ~INSFEFluidMassBC() {} 25 : 26 : protected: 27 : virtual Real computeQpResidual() override; 28 : virtual Real computeQpJacobian() override; 29 : virtual Real computeQpOffDiagJacobian(unsigned int jvar) override; 30 : 31 : bool _has_vfn; 32 : bool _has_vpps; 33 : const Function * _velocity_fn; 34 : std::string _v_pps_name; 35 : };