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