OpenPisco.ExternalTools.Aster.AsterThermoElasticWriter module#

AsterThermoElasticWriter

This is the dedicated writer file for the thermoelastic analysis. We refer to the documentation of AsterCommonWriter for a more general perspective.

OpenPisco.ExternalTools.Aster.AsterThermoElasticWriter.WriteMaterialParametersInput(writeFile: TextIO, materials: Dict)[source]#

Write material parameters input in file Young modulus (“young”), poisson ratio (“poisson”), thermal conductivity (“lambda”), density (“rho”) and thermal capacity (“cp”), thermal expansion coefficient (“thermalExpansion”) and reference temperature (“referenceTemperature”) are mandatory for each material.

Example: import OpenPisco.ExternalTools.Aster.AsterCommonWriter as AsterCommonWriter writeFile = AsterCommonWriter.OpenAsterParamFile(“myFile.param”) materialProperties={“lambda”:50.0,”rho”:7850.0,”cp”:1046.0,”young”:210000.0,”poisson”:0.3,”thermalExpansion”:11E-6,”referenceTemperature”:20.0} materials = [[‘AllZones’,materialProperties]] WriteMaterialParametersInput(writeFile,material) AsterCommonWriter.CloseAsterParamFile(writeFile)

Parameters
  • writeFile (TextIO) – currently opened parameter file

  • materials (Dict) – materials description (element tag followed by parameters value for each material)

OpenPisco.ExternalTools.Aster.AsterThermoElasticWriter.WriteMecaModelisation(writeFile: TextIO, dimensionality: int)[source]#

Write mechanical modelisation in file

Parameters
  • writeFile (TextIO) – currently opened parameter file

  • dimensionality (int) – problem dimensionality, correspond to dimension of the mesh (either 2 or 3)

OpenPisco.ExternalTools.Aster.AsterThermoElasticWriter.WriteThermalModelisation(writeFile: TextIO, dimensionality: int)[source]#

Write thermal modelisation in file

Parameters
  • writeFile (TextIO) – currently opened parameter file

  • dimensionality (int) – problem dimensionality, correspond to dimension of the mesh (either 2 or 3)