Material (class)

File generated according to Generator/ClassesRef/Material/Material.csv WARNING! All changes made in this file will be lost!

class Material(name='M400-50A', is_isotropic=False, elec=-1, mag=-1, struct=-1, HT=-1, eco=-1, desc='Lamination M400-50A', path='', init_dict=None)[source]

Bases: pyleecan.Classes._frozen.FrozenClass

VERSION = 1
save(save_path='')

Save the object to the save_path

Parameters:
  • self – A pyleecan object
  • save_path (str) – path to the folder to save the object
get_logger()

Get the object logger or its parent’s one

Parameters:obj – A pyleecan object
Returns:logger – Pyleecan object dedicated logger
Return type:logging.Logger
as_dict()[source]

Convert this objet in a json seriable dict (can be use in __init__)

name

name of the material

is_isotropic

If True, uniformity in all orientations

elec

Electrical properties of the material

mag

Magnetic properties of the material

struct

Structural properties of the material

HT

Heat Transfer properties of the material

eco

Economical properties of the material

desc

material description

path

Path to the material file