tjfulle / matmodlab

Generalized material model driver
9 stars 4 forks source link

SDV Naming Conventions #2

Closed sswan closed 9 years ago

sswan commented 9 years ago

Generally, MML tries to mimic Abaqus for UMAT-related tasks. It does not follow Abaqus 6.11 (may be different on more recent versions) in SDV naming. If I define my user material in Abaqus like this:

User Material, Constants=3 1.0, 2.0, 3.0 Depvar 2 1,FOO,definition of foo 2,BAR, definition of bar

The naming of the SDVs in the output database are "SDV_FOO" and "SDV_BAR", not "SDV.FOO" or "SDV.BAR" as is currently implemented in MML. If current versions of Abaqus are like the old version that I'm using can we change the behavior of MML?

tjfulle commented 9 years ago

I put the dot convention in v3 for all outputs in anticipation of a future enhancement where outputs could be retrieved by attribute look up. I anticipate using it in notebooks, e.g.

plot(mps.Time, mps.S.XX)

Or something like that. If you prefer the underscore separator for SDVs, no problem, feel free to put it back.

sswan commented 9 years ago

I just learned to live with it. For now it doesn't seem inherently better or worse one way or the other. Leaving it alone seems the best option for right now.