TransFlow  0.1.0
A transient pipeline flow simulation library
Material Class Reference

The Material class is a simple container class that defines the conductivity, density and heat capacity of a material. More...

#include <material.hpp>

Inheritance diagram for Material:
AmbientFluid BurialMedium PipeWall::Layer

Public Member Functions

constexpr Material (const double conductivity, const double density, const double heatCapacity)
 Basic constructor that requires all material properties. More...
 
double conductivity () const
 Conductivity getter.
 
double density () const
 Density getter.
 
double heatCapacity () const
 Heat capacity getter.
 

Static Public Attributes

static const Material concrete = Material( 2.9, 3400, 650)
 Predefined concrete.
 
static const Material steel = Material(50, 7800, 590)
 Predefined steel.
 
static const Material coating = Material( 0.74, 1300, 1900)
 Predefined pipe coating.
 
static const Material soil = Material( 2, 2000, 1000)
 Predefined soil.
 
static const Material seawater = Material( 0.571, 1020, 4187)
 Predefined seawater.
 
static const Material air = Material( 0.0257, 1.225, 1012)
 Predefined air.
 

Protected Attributes

double m_conductivity
 Thermal conductivity [W/(m K)].
 
double m_density
 Density [kg/m3].
 
double m_heatCapacity
 Heat capacity at constant pressure ( \(c_p\)) [J/(kg K)].
 

Detailed Description

The Material class is a simple container class that defines the conductivity, density and heat capacity of a material.

Constructor & Destructor Documentation

◆ Material()

constexpr Material::Material ( const double  conductivity,
const double  density,
const double  heatCapacity 
)
inlineconstexpr

Basic constructor that requires all material properties.

Parameters
conductivityThermal conductivity [W/(m K)]
densityDensity [kg/m3]
heatCapacityHeat capacity at constant pressure ( \(c_p\)) [J/(kg K)]

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