OGS
ProcessLib::HeatTransportBHE::BHE::Pipe Struct Reference

Detailed Description

Definition at line 26 of file Pipe.h.

#include <Pipe.h>

Public Member Functions

double area () const
 Area of the pipe's inside without the wall.
double outsideArea () const
 Area of the pipe's outside including the wall thickness.
double outsideDiameter () const
double wallThermalResistance () const

Public Attributes

double const diameter
double const wall_thickness
double const wall_thermal_conductivity

Private Member Functions

double circleArea (double const diameter) const

Member Function Documentation

◆ area()

double ProcessLib::HeatTransportBHE::BHE::Pipe::area ( ) const
inline

Area of the pipe's inside without the wall.

Definition at line 33 of file Pipe.h.

33{ return circleArea(diameter); }
double circleArea(double const diameter) const
Definition Pipe.h:49

References circleArea(), and diameter.

Referenced by ProcessLib::HeatTransportBHE::BHE::calculateThermoMechanicalFlowPropertiesAnnulus(), and ProcessLib::HeatTransportBHE::BHE::calculateThermoMechanicalFlowPropertiesPipe().

◆ circleArea()

double ProcessLib::HeatTransportBHE::BHE::Pipe::circleArea ( double const diameter) const
inlineprivate

Definition at line 49 of file Pipe.h.

50 {
51 return std::numbers::pi * diameter * diameter / 4;
52 }

References diameter.

Referenced by area(), and outsideArea().

◆ outsideArea()

double ProcessLib::HeatTransportBHE::BHE::Pipe::outsideArea ( ) const
inline

Area of the pipe's outside including the wall thickness.

Definition at line 36 of file Pipe.h.

36{ return circleArea(outsideDiameter()); }

References circleArea(), and outsideDiameter().

Referenced by ProcessLib::HeatTransportBHE::BHE::calculateThermoMechanicalFlowPropertiesAnnulus().

◆ outsideDiameter()

◆ wallThermalResistance()

double ProcessLib::HeatTransportBHE::BHE::Pipe::wallThermalResistance ( ) const
inline

Definition at line 40 of file Pipe.h.

41 {
42 double const outside_diameter = outsideDiameter();
43
44 return std::log(outside_diameter / diameter) /
45 (2.0 * std::numbers::pi * wall_thermal_conductivity);
46 }

References diameter, outsideDiameter(), and wall_thermal_conductivity.

Referenced by ProcessLib::HeatTransportBHE::BHE::calculatePipeWallThermalResistance().

Member Data Documentation

◆ diameter

◆ wall_thermal_conductivity

double const ProcessLib::HeatTransportBHE::BHE::Pipe::wall_thermal_conductivity

Definition at line 30 of file Pipe.h.

Referenced by wallThermalResistance().

◆ wall_thickness

double const ProcessLib::HeatTransportBHE::BHE::Pipe::wall_thickness

The documentation for this struct was generated from the following file:
  • ProcessLib/HeatTransportBHE/BHE/Pipe.h