https://mooseframework.inl.gov
thermal_hydraulics
include
components
FormLoss1PhaseBase.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
12
#include "
Component.h
"
13
17
class
FormLoss1PhaseBase
:
public
Component
18
{
19
public
:
20
FormLoss1PhaseBase
(
const
InputParameters
& params);
21
22
virtual
void
init
()
override
;
23
virtual
void
check
()
const override
;
24
virtual
void
addMooseObjects
()
override
;
25
26
protected
:
28
std::vector<SubdomainName>
_flow_channel_subdomains
;
30
const
std::string &
_flow_channel_name
;
31
32
public
:
33
static
InputParameters
validParams
();
34
};
FormLoss1PhaseBase::_flow_channel_name
const std::string & _flow_channel_name
Name of the flow channel component.
Definition:
FormLoss1PhaseBase.h:30
FormLoss1PhaseBase::addMooseObjects
virtual void addMooseObjects() override
Definition:
FormLoss1PhaseBase.C:49
Component.h
FormLoss1PhaseBase
Base class for prescribing a form loss over a 1-phase flow channel.
Definition:
FormLoss1PhaseBase.h:17
FormLoss1PhaseBase::validParams
static InputParameters validParams()
Definition:
FormLoss1PhaseBase.C:15
FormLoss1PhaseBase::FormLoss1PhaseBase
FormLoss1PhaseBase(const InputParameters ¶ms)
Definition:
FormLoss1PhaseBase.C:25
InputParameters
Component
Base class for THM components.
Definition:
Component.h:27
FormLoss1PhaseBase::_flow_channel_subdomains
std::vector< SubdomainName > _flow_channel_subdomains
Subdomains corresponding to the connected flow channel.
Definition:
FormLoss1PhaseBase.h:28
FormLoss1PhaseBase::check
virtual void check() const override
Check the component integrity.
Definition:
FormLoss1PhaseBase.C:43
FormLoss1PhaseBase::init
virtual void init() override
Initializes the component.
Definition:
FormLoss1PhaseBase.C:31
Generated on Thu Jul 17 2025 01:44:49 for https://mooseframework.inl.gov by
1.8.14