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 "FVFluxBC.h" 13 : #include "INSFVHydraulicSeparatorInterface.h" 14 : 15 : class InputParameters; 16 : 17 : /** 18 : * Class describing a separator (no diffusive or advective flux) for a scalar field 19 : * (pressure, energy, passive scalar) associated with the 20 : * Navier Stokes equations. 21 : */ 22 : class INSFVScalarFieldSeparatorBC : public FVFluxBC, public INSFVHydraulicSeparatorInterface 23 : { 24 : public: 25 : static InputParameters validParams(); 26 : INSFVScalarFieldSeparatorBC(const InputParameters & params); 27 : 28 12528 : void computeResidual(const FaceInfo & /*fi*/) override {} 29 10188 : void computeJacobian(const FaceInfo & /*fi*/) override {} 30 0 : void computeResidualAndJacobian(const FaceInfo & /*fi*/) override {} 31 : 32 0 : ADReal computeQpResidual() override final 33 : { 34 0 : mooseError("Scalar field separators are not supposed to contribute to anything!"); 35 : } 36 : };