Enable bdf writing for BladeStiffenedShellConstitutive#291
Enable bdf writing for BladeStiffenedShellConstitutive#291
BladeStiffenedShellConstitutive#291Conversation
|
It looks like these changes are causing the write_bdf tests to hang. Any idea what's going on here? |
I would expect them to fail currently, because I started passing a |
|
@timryanb are you happy with the basic idea behind the current implementation? If so I can go ahead and alter the other constitutive class |
Can we hold off on this? I'd like to think more about the rmifications of this and if there's any alternative approaches |
Opening as a draft to get your opinion on how to implement this properly.
There is no direct equivalent of the Blade-stiffened shell constitutive model in NASTRAN, based on the approach taken in the previous version of TACS I am using the PSHELL propery card along with 4 MAT2 cards that directly describe the A, B, D, and As matrices of the stiffened shell.
The main issue is that the current BDF writer in pytacs relies on the material card being written by the
TACSMaterialPropertiesobject stored in each constitutive object. This is because thegenerateBDFCardmethod takes no inputs, so the only way a constitutive object knows which material card IDs to use in its property card is to get them from itsTACSMaterialPropertiesobjects.To get around this I did 2 things:
MAT2MaterialPropertiesclass. This class is not designed to be used at all by TACS, only to write out MAT2 cards. 4 instances of this class are returned by thegetMaterialPropertiesmethod ofBladeStiffenedShellConstitutivewriteBDFmethod in pyTACS so that it keeps track of which material cards are associated with each constitutive object and then passes and passes their ids togenerateBDFCard. Currently this only works withBladeStiffenedShellConstitutive, we would need to modify thegenerateBDFCardmethods of the other constitutive models if we want to stick with this approach.