idaholab / moose

Multiphysics Object Oriented Simulation Environment
https://www.mooseframework.org
GNU Lesser General Public License v2.1
1.72k stars 1.04k forks source link

Solid Mechanics NEML2 Shortcuts #28757

Open janzenchoi opened 1 day ago

janzenchoi commented 1 day ago

Motivation

NEML2 has been written to be applicable for a wide range of models. While NEML2 is more generalised than its predecessor (NEML), it requires more lines of code in the MOOSE input file to perform the same task. It would be good to add some shortcuts to expedite the coding process of writing the input files with NEML2 for solid mechanics.

Design

Cascading the common commands for solid mechanics models or have them run in the background.

Impact

Adding shortcuts will simplify the scripting process for running solid mechanics models, as with NEML.

janzenchoi commented 1 day ago

@hugary1995

hugary1995 commented 1 day ago

Yeah, this is a reasonable request.