Porting a constitutive modeling library from MOOSE to MFEM #4749
Replies: 2 comments 2 replies
-
Hi @hugary1995. We're in the process of introducing An example of a function on a quadrature point for elasticity looks like
where Simply defining an integrator won't give you ability to run on accelerator devices. |
Beta Was this translation helpful? Give feedback.
-
@hugary1995, So it's been a while but back when both @reverendbedford and those of use at LLNL were creating our various own material model libraries, we (@nrbarton more than me) pointed @reverendbedford to some of our libraries ExaCMech (https://github.com/LLNL/ExaCMech) and ExaConstit (https://github.com/LLNL/ExaConstit) for ways we we're getting things up and running on the GPUs. ExaConstit is our MFEM based nonlinear solid mechanics code. It's an updated lagrangian code, so the primal variable is velocity rather than displacement. You might find these headers useful to see how you could do things in MFEM: https://github.com/LLNL/ExaConstit/blob/exaconstit-dev/src/mechanics_ecmech.cpp (sets up all of our velocity-based models) and https://github.com/LLNL/ExaConstit/blob/exaconstit-dev/src/mechanics_operator.cpp#L283-L416 (sets up all the quantities needed to run a material model). Feel free to reach out to me if you'd like to talk more about the above as I'm happy to help given I worked through all of this years ago. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi MFEM developers,
MOOSE has integrated with a constitutive modeling library named NEML2. I would like to explore the possibility of porting it over to MFEM because MFEM has better support for programming models on different platforms, mainly CUDA and HIP.
In a nutshell, NEML2 takes a vector of strain and maps it to a vector stress, along with a vector of dstress/dstrain.
My questions are
Thanks,
Gary
Beta Was this translation helpful? Give feedback.
All reactions