thelfer / MFrontGenericInterfaceSupport

This project aims at providing support for MFront generic behaviours. This project can be embedded in open-source and propriary sofware
35 stars 34 forks source link

dtau_ddF not supported by getRotateArrayOfBehaviourTangentOperatorBlocksFunction #107

Closed mthcrts closed 1 year ago

mthcrts commented 1 year ago

With this behaviour GdefMonoCrystal.mfront, it fails as:

>>> import mgis.behaviour as mgb
>>> h = mgb.Hypothesis.Tridimensional
>>> o = mgb.FiniteStrainBehaviourOptions()
>>> o.stress_measure = mgb.FiniteStrainBehaviourOptionsStressMeasure.CAUCHY
>>> o.tangent_operator = mgb.FiniteStrainBehaviourOptionsTangentOperator.DTAU_DDF
>>> b = mgb.load(o, "src/libBehaviour.so", "GdefMonoCrystal", h)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: LibrariesManager::getRotateArrayOfBehaviourTangentOperatorBlocksFunction: unsupported tangent operator type                                                                                         
thelfer commented 1 year ago

Thanks @mthcrts