For example, if the material is given in .mat file like
- NUMBER: 2 MATERIAL: Concrete
QUESTION: E
VALUE: 3.0e5
QUESTION: NU
VALUE: 0.2
END MATERIAL
Let me know the command used in the .bas file.
HEMMI, Shigeru
http://petamagnetic.appspot.com
Moderator: GiD Team
e.g.*MatProp. This is the same as the previous command except that it must be within a loop over the materials (see *loop). It returns the property whose field number or name is defined by its argument. It is recommended to use names instead of field numbers.
If the argument is 0, it returns the material's name.
Code: Select all
*loop materials
name=*matprop(0) E=*matprop(E) NU=*matprop(NU)
*end materials