LCOV - code coverage report
Current view: top level - include/bcs - INSFEFluidEnergyDirichletBC.h (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 1 1 100.0 %
Date: 2025-08-14 10:14:56 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          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 "NodalBC.h"
      13             : #include "Function.h"
      14             : 
      15             : /**
      16             :  * A conditional Dirichlet BC for the energy (temperature) equation
      17             :  */
      18             : class INSFEFluidEnergyDirichletBC : public NodalBC
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             : 
      23             :   INSFEFluidEnergyDirichletBC(const InputParameters & parameters);
      24          76 :   virtual ~INSFEFluidEnergyDirichletBC() {}
      25             : 
      26             : protected:
      27             :   virtual Real computeQpResidual() override;
      28             :   virtual Real computeQpJacobian() override;
      29             :   virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
      30             : 
      31             :   bool shouldApply() const override;
      32             :   bool isInlet() const;
      33             : 
      34             :   RealVectorValue _out_norm;
      35             : 
      36             :   const VariableValue & _u_vel;
      37             :   const VariableValue & _v_vel;
      38             :   const VariableValue & _w_vel;
      39             : 
      40             :   Real _T_scale;
      41             :   const VariableValue & _T_scalar;
      42             : 
      43             :   bool _has_vbc;
      44             :   const Function * _velocity_fn;
      45             :   bool _has_T_fn;
      46             :   const Function * _T_fn;
      47             : };

Generated by: LCOV version 1.14