OGS 6.2.0-244-g47b8a9a9d
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. More...
 
double outsideArea () const
 Area of the pipe's outside including the wall thickness. More...
 
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()

◆ circleArea()

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

Definition at line 51 of file Pipe.h.

52  {
53  constexpr double pi = boost::math::constants::pi<double>();
54  return pi * diameter * diameter / 4;
55  }

◆ 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.

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

36 { return circleArea(outsideDiameter()); }
double circleArea(double const diameter) const
Definition: Pipe.h:51

◆ outsideDiameter()

◆ wallThermalResistance()

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

Definition at line 40 of file Pipe.h.

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

41  {
42  constexpr double pi = boost::math::constants::pi<double>();
43 
44  double const outside_diameter = outsideDiameter();
45 
46  return std::log(outside_diameter / diameter) /
47  (2.0 * pi * wall_thermal_conductivity);
48  }
double const wall_thermal_conductivity
Definition: Pipe.h:30

Member Data Documentation

◆ diameter

◆ wall_thermal_conductivity

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

◆ wall_thickness

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

The documentation for this struct was generated from the following file: