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 "WCNSFVFluxBCBase.h" 13 : #include "INSFVMomentumResidualObject.h" 14 : 15 : /** 16 : * Flux boundary conditions for the weakly compressible momentum equation 17 : */ 18 : class WCNSFVMomentumFluxBC : public WCNSFVFluxBCBase, public INSFVMomentumResidualObject 19 : { 20 : public: 21 : static InputParameters validParams(); 22 : WCNSFVMomentumFluxBC(const InputParameters & params); 23 : 24 0 : void gatherRCData(const Elem &) override {} 25 : 26 : // This object supplies a flux for which we do not know any explicit dependence on our variable's 27 : // boundary degree of freedom 28 18352 : void gatherRCData(const FaceInfo &) override {} 29 : 30 : protected: 31 : ADReal computeQpResidual() override; 32 : };