I have a need to import temperature dependent material properties from a bdf file. The specific file has an MATT1 card that references a blank MAT1 card (all the material properties are temperature dependent). Although I don't think this is necessarily always the case (meaning there can be a mixed MAT1 entry and other temperature dependent properties referencing the same material).
Issue 1: There's no MATT1 class ...easy to fix. I've attached my take on how you would have created it the best I could.
Issue 2: The MAT1 object is currently initialized by setting up E, G and nu using 'self.set_E_G_nu()' which raises a RuntimeError is all of these variables are None. This is a great idea for a MAT1 card by itself but breaks down for my use case. I'm not sure the best way to handle this, I've temporarily bypassed the checks using a 'mat_table' attribute in the Material base class, but it really needs to be specified at the BDF or BDF.read_bdf() level. I've just started getting my head wrapped around the code so I'm not sure what the best way would be to implement this. I'd like to help out if I could, I've looked through the code since 0.6.1 and haven't seen anything with MATT1-MATT9 yet.
Just some background, I'm an ANSYS user working at MSFC so I flip back and forth a lot. The way I translate ANSYS to NASTRAN almost always uses MATT1 cards because ANSYS naturally stores materials by temperature (even when there is only one). I'm trying to make it so I can seamlessly go between ANSYS to NASTRAN to ANSYS. I stumbled on your code a while ago and have been using it for the NASTRAN bdf reader (which is awesome!! by the way) rather than creating my own.
Do you have any plans in the near future at added these cards? I know there are a lot of things your working on. Let me know if I can help out.
Thanks,
Steve