A Material object is the object used to specify a material. The Material object stores the various settings that determine how a material behaves.
A material is created by combining one or more individual material options and sub options. A particular material option is associated with the Material object through a member. For example: the acousticMedium member may contain an AcousticMedium object. The alternative of having a MaterialOption abstract base class and a container of MaterialOptions was rejected because it would make it more difficult to enforce the fact that one Material object cannot contain two AcousticMedium objects, for example.
import material mdb.models[name].materials[name] import odbMaterial session.odbs[name].materials[name]
This method creates a Material object.
mdb.models[name].Material session.odbs[name].Material
Required argument
A String specifying the name of the new material.
Optional arguments
A String specifying user description of the material. The default value is an empty string.
A String specifying material identifier for customer use. The default value is an empty string.
Return value
A Material object.
Exceptions
InvalidNameError.
This methods creates Material objects by reading an output database. The new materials are placed in the materials repository.
mdb.models[name].materialsFromOdb
Required argument
A String specifying the name of the output database file (including the .odb extension) to be read. This String can also be the full path to the output database file if it is located in another directory.
Optional arguments
Return value
A list of Material objects.
Exceptions
The Material object has members with the same names and descriptions as the arguments to the Material method.
In addition, the Material object can have the following members:
An AcousticMedium object.
A BrittleCracking object.
A CapPlasticity object.
A CastIronPlasticity object.
A ClayPlasticity object.
A Concrete object.
A ConcreteDamagedPlasticity object.
A Conductivity object.
A Creep object.
A CrushableFoam object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A DamageInitiation object.
A Damping object.
A DeformationPlasticity object.
A Density object.
A Depvar object.
A Dielectric object.
A Diffusivity object.
A DruckerPrager object.
An Elastic object.
An ElectricalConductivity object.
An Eos object.
An Expansion object.
A FluidLeakoff object.
A GapFlow object.
A GasketThicknessBehavior object.
A GasketTransverseShearElastic object.
A GasketMembraneElastic object.
A Gel object.
A HeatGeneration object.
A Hyperelastic object.
A Hyperfoam object.
A Hypoelastic object.
An InelasticHeatFraction object.
A JouleHeatFraction object.
A LatentHeat object.
A LowDensityFoam object.
A MagneticPermeability object.
A MohrCoulombPlasticity object.
A MoistureSwelling object.
A MullinsEffect object.
A Permeability object.
A Piezoelectric object.
A Plastic object.
A PoreFluidExpansion object.
A PorousBulkModuli object.
A PorousElastic object.
A PorousMetalPlasticity object.
A Regularization object.
A Solubility object.
A Sorption object.
A SpecificHeat object.
A Swelling object.
A UserDefinedField object.
A UserMaterial object.
A UserOutputVariables object.
A Viscoelastic object.
A Viscosity object.
A Viscous object.