https://mooseframework.inl.gov
VolumeJunctionCoupledFlux1Phase.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 {
19 public:
21 
23 
24  virtual void addMooseObjects() override;
25 
26 protected:
27  virtual void check() const override;
28 
35  void addVolumeJunctionKernel(const std::string & var, unsigned int i);
36 
42  void addFluxPostprocessor(const std::string & equation);
43 
49  void addFluxTransfer(const std::string & equation);
50 
56  void addPropertyPostprocessor(const std::string & property);
57 
63  void addPropertyTransfer(const std::string & property);
64 
70  PostprocessorName addPostprocessorSuffix(const std::string & base_name) const;
71 
73  const std::string & _volume_junction_name;
79  const std::string & _pp_suffix;
80 };
void addVolumeJunctionKernel(const std::string &var, unsigned int i)
Adds a VolumeJunctionCoupledFlux1PhaseKernel.
void addFluxPostprocessor(const std::string &equation)
Adds a VolumeJunctionCoupledFlux1PhasePostprocessor.
void addPropertyTransfer(const std::string &property)
Adds a MultiAppPostprocessorTransfer to get a property.
void addPropertyPostprocessor(const std::string &property)
Adds a Receiver post-processor.
const RealVectorValue _normal_from_junction
Normalized normal vector from junction.
VolumeJunctionCoupledFlux1Phase(const InputParameters &params)
Applies a flux between a VolumeJunction1Phase component and an external application.
virtual void check() const override
Check the component integrity.
const std::string & _volume_junction_name
Volume junction name.
Base class for THM components.
Definition: Component.h:28
PostprocessorName addPostprocessorSuffix(const std::string &base_name) const
Returns the input with the post-processor suffix.
const RealVectorValue & _normal_from_junction_unnormalized
Unnormalized normal vector from junction.
void addFluxTransfer(const std::string &equation)
Adds a MultiAppPostprocessorTransfer for a flux PP.
const std::string & _pp_suffix
Suffix to append to post-processor names.