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

How to acess the material properties and behaviour from python binding? #113

Closed weihuayi closed 7 months ago

weihuayi commented 1 year ago

I have developed a Python finite element software package: FEALPy https://github.com/weihuayi/fealpy, and I would like to integrate MGIS for solid mechanics simulations. However, I haven't found an example that demonstrates how to directly load MFront material properties and behaviors using Python. Can you please guide me on where I can find such an example?

thelfer commented 1 year ago

@weihuayi Thanks for your interest in MFront and MGIS.

The main documentation is in C++: https://thelfer.github.io/mgis/web/bindings-cxx.html

Then you may read the tests in the bindings/python/tests