uwg.material module

Material class

class uwg.material.Material(thermalcond, volheat, name)[source]

Bases: object

Material class.

Parameters:
  • thermalcond – Number for thermal conductivity [W m-1 K-1].

  • volheat – Number for volumetric heat capacity [J m-3 K-1].

  • name – Text string for name of the Material.

Properties:
  • thermalcond

  • volheat

classmethod from_dict(data)[source]

Create a Material object from a dictionary.

Parameters:

data – A Material dictionary following the format below.

{
"type": "Material",
"name": "Concrete",
"thermalcond": 1.311,  # thermal conductivity [W m-1 K-1]
"volheat": 1874432.0  # volumetric heat capacity [J m-3 K-1]
}
to_dict()[source]

Material dictionary representation.

property name

Get or set text string for name of Material.

property thermalcond

Get or set number for thermal conductivity [W/(m-K)].

property volheat

Get or set number for volumetric capacity [J/(m3-K)].