21namespace HeatTransportBHE
46 double const Nu_inner_pipe,
double const Nu_annulus_pipe)
const;
53 static std::array<std::pair<std::size_t ,
int >, 2>
55 std::size_t
const top_node_id,
57 int const in_component_id);
60 std::array<std::pair<std::size_t ,
int >, 2>>
62 int const in_component_id,
63 int const out_component_id);
68 Eigen::Vector3d
const& )
const;
81 double const& R_gs,
double const& R_ff,
double const& R_fg)
const = 0;
virtual std::array< double, number_of_unknowns > getThermalResistances(double const &R_gs, double const &R_ff, double const &R_fg) const =0
virtual std::array< double, 2 > velocities() const =0
double updateFlowRateAndTemperature(double T_out, double current_time)
BHECommonCoaxial(BoreholeGeometry const &borehole, RefrigerantProperties const &refrigerant, GroutParameters const &grout, FlowAndTemperatureControl const &flowAndTemperatureControl, PipeConfigurationCoaxial const &pipes, bool const use_python_bcs)
void updateHeatTransferCoefficients(double const flow_rate)
std::array< double, number_of_unknowns > pipeHeatConductions() const
static constexpr int number_of_unknowns
std::array< double, number_of_unknowns > pipeHeatCapacities() const
std::array< double, number_of_unknowns > calcThermalResistances(double const Nu_inner_pipe, double const Nu_annulus_pipe) const
double cross_section_area_annulus
static std::optional< std::array< std::pair< std::size_t, int >, 2 > > getBHEBottomDirichletBCNodesAndComponents(std::size_t const bottom_node_id, int const in_component_id, int const out_component_id)
double _flow_velocity_inner
Flow velocity inside the pipes and annulus. Depends on the flow_rate.
double cross_section_area_inner_pipe
static constexpr std::pair< int, int > inflow_outflow_bc_component_ids[]
std::array< Eigen::Vector3d, number_of_unknowns > pipeAdvectionVectors(Eigen::Vector3d const &) const
static std::array< std::pair< std::size_t, int >, 2 > getBHEInflowDirichletBCNodesAndComponents(std::size_t const top_node_id, std::size_t const, int const in_component_id)
double thermalResistance(int const unknown_index) const
std::array< double, number_of_unknowns > _thermal_resistances
double _flow_velocity_annulus
PipeConfigurationCoaxial const _pipes
static constexpr int number_of_grout_zones
double cross_section_area_grout
std::variant< TemperatureCurveConstantFlow, TemperatureCurveFlowCurve, FixedPowerConstantFlow, FixedPowerFlowCurve, PowerCurveConstantFlow, PowerCurveFlowCurve, BuildingPowerCurveConstantFlow > FlowAndTemperatureControl
bool const use_python_bcs
RefrigerantProperties const refrigerant
GroutParameters const grout
FlowAndTemperatureControl const flowAndTemperatureControl