19namespace HeatTransportBHE
33 double const flow_rate)
39 double const velocity = flow_rate / pipe.
area();
43 return {velocity, nusselt_number};
46inline ThermoMechanicalFlowProperties
48 Pipe const& inner_pipe,
Pipe const& outer_pipe,
double const length,
55 double const inner_pipe_outside_diameter = inner_pipe.
outsideDiameter();
58 double const velocity =
62 velocity, outer_pipe.
diameter - inner_pipe_outside_diameter,
65 double const diameter_ratio =
66 inner_pipe_outside_diameter / outer_pipe.
diameter;
67 double const pipe_aspect_ratio =
68 (outer_pipe.
diameter - inner_pipe_outside_diameter) / length;
69 double const nusselt_number =
71 return {velocity, nusselt_number};
ThermoMechanicalFlowProperties calculateThermoMechanicalFlowPropertiesAnnulus(Pipe const &inner_pipe, Pipe const &outer_pipe, double const length, RefrigerantProperties const &fluid, double const flow_rate)
double reynoldsNumber(double const velocity_norm, double const pipe_diameter, double const viscosity, double const density)
double nusseltNumber(double const reynolds_number, double const prandtl_number, double const pipe_diameter, double const pipe_length)
double prandtlNumber(double const &viscosity, double const &heat_capacity, double const &heat_conductivity)
ThermoMechanicalFlowProperties calculateThermoMechanicalFlowPropertiesPipe(Pipe const &pipe, double const length, RefrigerantProperties const &fluid, double const flow_rate)
double nusseltNumberAnnulus(double const reynolds_number, double const prandtl_number, double const diameter_ratio, double const pipe_aspect_ratio)
double outsideArea() const
Area of the pipe's outside including the wall thickness.
double outsideDiameter() const
double area() const
Area of the pipe's inside without the wall.
double const dynamic_viscosity
double const thermal_conductivity
double const specific_heat_capacity