Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could it be used for subrountine in FEM softwore ABAQUS #146

Open
ZPLai opened this issue Jun 22, 2023 · 3 comments
Open

could it be used for subrountine in FEM softwore ABAQUS #146

ZPLai opened this issue Jun 22, 2023 · 3 comments

Comments

@ZPLai
Copy link

ZPLai commented Jun 22, 2023

Dear developers,
thanks for intersting work.
I am considering to use deep learning model into FEM modeling by using ABAQUS. I want to use a deep learning model (that prior trained by other language, such as python) in the subrountine written by Fortran. These subrountines generally were used to model complicated material propeties or complicated loading. And the trained deep learning model may assist for these tasks.

In previous, I thought I may extract the trained model's parameters into these rountine, and then, build the simple fully-connected ANN in fortran. However, if the model is large, such as complicated CNN, the coding could be time-comsuining.

So I wonder if the tool you developed can help this work?

@milancurcic
Copy link
Member

Hi @ZPLai, yes, you could use neural-fortran for that.

Specifically about loading models pre-trained in Python, you could do that if the models were trained in Keras and saved in the HDF5 format. We may support PyTorch and other Keras formats in the future if there's demand and help to implement it.

See examples of running dense and convolutional networks loaded from pre-trained Keras models.

@ZPLai
Copy link
Author

ZPLai commented Jun 23, 2023

Hi @ZPLai, yes, you could use neural-fortran for that.

Specifically about loading models pre-trained in Python, you could do that if the models were trained in Keras and saved in the HDF5 format. We may support PyTorch and other Keras formats in the future if there's demand and help to implement it.

See examples of running dense and convolutional networks loaded from pre-trained Keras models.

that‘s fine. I'll try it latter. Thanks

@ivan-pi
Copy link
Contributor

ivan-pi commented Jul 26, 2023

Btw, you may find abaci helpful for developing Abaqus user subroutines.

(@LKedward, maybe you find this use case interesting)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants