https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FlowChannel1Phase.h
Go to the documentation of this file.
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
13
18{
19public:
21
22 FlowChannel1Phase(const InputParameters & params);
23
24 virtual void addMooseObjects() override;
25 virtual const THM::FlowModelID & getFlowModelID() const override { return THM::FM_SINGLE_PHASE; }
26 virtual std::vector<std::string> ICParameters() const override;
27 virtual Convergence * getNonlinearConvergence() const override;
28
29protected:
30 virtual void check() const override;
31 virtual void checkFluidProperties() const override;
32 virtual std::string flowModelClassName() const override;
34
37
39 void addNormalized1PhaseResidualNorm(const VariableName & variable, const std::string & equation);
40};
Base class for single-phase flow channels.
Single-component, single-phase flow channel.
virtual void checkFluidProperties() const override
Logs an error if the fluid properties is not valid.
void addNormalized1PhaseResidualNorm(const VariableName &variable, const std::string &equation)
Adds a residual norm Postprocessor.
static InputParameters validParams()
virtual Convergence * getNonlinearConvergence() const override
Gets the Component's nonlinear Convergence object if it has one.
virtual std::string flowModelClassName() const override
Returns the flow model class name.
void addFlowChannel1PhaseFunctorMaterial()
Adds the functor material for the flow channel.
virtual void addMooseObjects() override
virtual void check() const override
Check the component integrity.
virtual const THM::FlowModelID & getFlowModelID() const override
Gets the flow model ID.
virtual std::vector< std::string > ICParameters() const override
Returns the names of the IC parameters.
void addNumericalFluxVectorPostprocessor()
unsigned int FlowModelID
FlowModelID FM_SINGLE_PHASE