Skip to content

Neml2 czm work#13

Open
ChengHauYang wants to merge 11 commits into
nextfrom
neml2_czm_work
Open

Neml2 czm work#13
ChengHauYang wants to merge 11 commits into
nextfrom
neml2_czm_work

Conversation

@ChengHauYang

Copy link
Copy Markdown
Owner

Reason

Design

Impact

Add support for `interface_only` NEML2 workflows so interface-based
models, such as cohesive laws, can gather inputs, generate batch indices,
and publish outputs without requiring corresponding volume material
properties.

This change propagates `interface_only` through `NEML2Action`,
`MOOSEToNEML2Batched`, `MOOSEMaterialPropertyToNEML2`, and
`NEML2BatchIndexGenerator`. In this mode, volume-element gathering and
batch indexing are skipped, block-level material property checks are
disabled to avoid false failures, and generated output/derivative
retrievers are attached to interface boundaries instead of blocks.

The material property gatherer now stores property handles as pointers so
volume properties can be omitted safely, while still reading interface
data correctly. The action also gains vector tensor-type support by
mapping `kVec` to `RealVectorValue` and `d(vec)/d(vec)` to
`RankTwoTensor`.
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

Successfully merging this pull request may close these issues.

1 participant