https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
18{
19public:
20 FormLoss1PhaseBase(const InputParameters & params);
21
22 virtual void init() override;
23 virtual void check() const override;
24 virtual void addMooseObjects() override;
25
26protected:
28 std::vector<SubdomainName> _flow_channel_subdomains;
30 const std::string & _flow_channel_name;
31
32public:
34};
Base class for THM components.
Definition Component.h:32
Base class for prescribing a form loss over a 1-phase flow channel.
virtual void addMooseObjects() override
const std::string & _flow_channel_name
Name of the flow channel component.
std::vector< SubdomainName > _flow_channel_subdomains
Subdomains corresponding to the connected flow channel.
virtual void init() override
Initializes the component.
static InputParameters validParams()
virtual void check() const override
Check the component integrity.