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 "ClosuresBase.h" 13 : 14 : class FlowChannel1Phase; 15 : 16 : /** 17 : * Base class for 1-phase closures 18 : */ 19 0 : class Closures1PhaseBase : public ClosuresBase 20 : { 21 : public: 22 : Closures1PhaseBase(const InputParameters & params); 23 : 24 : protected: 25 : /** 26 : * Adds material that computes wall friction factor from a specified function 27 : * 28 : * This function assumes that the flow channel component has the parameter 29 : * 'f' as a valid parameter, so this function should be guarded appropriately. 30 : * 31 : * @param[in] flow_channel Flow channel component 32 : */ 33 : void addWallFrictionFunctionMaterial(const FlowChannel1Phase & flow_channel) const; 34 : 35 : /** 36 : * Adds average wall temperature material 37 : * 38 : * @param[in] flow_channel Flow channel component 39 : */ 40 : void addAverageWallTemperatureMaterial(const FlowChannel1Phase & flow_channel) const; 41 : 42 : public: 43 : static InputParameters validParams(); 44 : };