LCOV - code coverage report
Current view: top level - src/auxkernels - SCMTriDuctQPrimeAux.C (source / functions) Hit Total Coverage
Test: idaholab/moose subchannel: #31405 (292dce) with base fef103 Lines: 0 11 0.0 %
Date: 2025-09-04 07:58:06 Functions: 0 3 0.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             : #include "SCMTriDuctQPrimeAux.h"
      11             : 
      12             : registerMooseObject("SubChannelApp", SCMTriDuctQPrimeAux);
      13             : registerMooseObjectRenamed("SubChannelApp",
      14             :                            TriDuctQPrimeAux,
      15             :                            "06/30/2025 24:00",
      16             :                            SCMTriDuctQPrimeAux);
      17             : 
      18             : InputParameters
      19           0 : SCMTriDuctQPrimeAux::validParams()
      20             : {
      21           0 :   InputParameters params = DiffusionFluxAux::validParams();
      22           0 :   params.addClassDescription("Axial heat rate on duct surface");
      23           0 :   params.addRequiredParam<Real>(
      24             :       "flat_to_flat", "distance from one flat side of the duct to the opposite flat side [m]");
      25           0 :   return params;
      26           0 : }
      27             : 
      28           0 : SCMTriDuctQPrimeAux::SCMTriDuctQPrimeAux(const InputParameters & parameters)
      29           0 :   : DiffusionFluxAux(parameters), _flat_to_flat(getParam<Real>("flat_to_flat"))
      30             : {
      31           0 : }
      32             : 
      33             : Real
      34           0 : SCMTriDuctQPrimeAux::computeValue()
      35             : {
      36           0 :   return DiffusionFluxAux::computeValue() * 6 * _flat_to_flat / std::sqrt(3);
      37             : }

Generated by: LCOV version 1.14