OpenPisco.ExternalTools.Aster.AsterModalWriter module#

AsterModalWriter

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

OpenPisco.ExternalTools.Aster.AsterModalWriter.WriteMaterialParametersInput(writeFile: TextIO, materials: Iterable[Tuple[str, Dict]])[source]#

Write material parameters input for modal analysis in file. Young modulus (“young”), poisson ratio (“poisson”) and density (“density”) are mandatory for each material.

Example: import OpenPisco.ExternalTools.Aster.AsterCommonWriter as AsterCommonWriter writeFile = AsterCommonWriter.OpenAsterParamFile(“myFile.param”) material1={“young”:210000.0,”poisson”:0.3,”density”:7.85e-09} materials = [[‘AllZones’,material1],] WriteMaterialParametersInput(writeFile,materials) AsterCommonWriter.CloseAsterParamFile(writeFile)

Parameters
  • writeFile (TextIO) – currently opened parameter file

  • materials (Iterable[Iterable[str,Dict]]) – materials description (element tag followed by parameters value for each material)