DENIM
means
Discrete-Energy Neural Internal-variable Model
. It is a
compact gray-box constitutive model for path-dependent small-strain J2
plasticity. Elasticity, yield geometry, associative flow, plastic
incompressibility, non-negative plastic increments and the implicit return map
remain explicit. Neural components represent only the unknown isotropic and
kinematic hardening closure.
Why this checkpoint is an incomplete-physics test
The AgentFEM reference material has three kinematic-memory channels and a
piecewise-linear isotropic-hardening table. This checkpoint has only two
memory channels and receives neither the reference equations nor parameters.
The second learned state must close two unresolved reference time scales.
The model has 918 trainable parameters. On two completely held-out
non-proportional path families:
Model
RMSE
R2
Incomplete J2
59.541 MPa
0.730208
GRU (49,254 parameters)
76.988 MPa
0.548933
DENIM
1.136 MPa
0.999902
Coarse/fine path RMSE was 0.944/0.958 MPa. In 12-element notched-bar tests,
cyclic and monotonic reaction relative-L2 errors were 0.636% and 0.500%. A
severe cyclic case passed with one global trust-region fallback.
Use
import torch
from src.t2_graybox_discrete_energy import DENIM, rollout
checkpoint = torch.load("denim.pt", map_location="cpu", weights_only=False)
model = DENIM(channels=2)
model.load_state_dict(checkpoint["state_dict"])
model.eval()
# strain: [batch, steps, 6], tensor-shear Voigt order xx,yy,zz,xy,yz,xz
result = rollout(strain, young, poisson, yield_stress, model)
stress = result["stress"]
See
inference.py
for a runnable example.
config.json
records the known
material constants and architecture contract.
Scope and limitations
fixed synthetic material; not experimental calibration;
AgentFEM-DENIM huggingface.co is an AI model on huggingface.co that provides AgentFEM-DENIM's model effect (), which can be used instantly with this HaomingLuo AgentFEM-DENIM model. huggingface.co supports a free trial of the AgentFEM-DENIM model, and also provides paid use of the AgentFEM-DENIM. Support call AgentFEM-DENIM model through api, including Node.js, Python, http.
AgentFEM-DENIM huggingface.co is an online trial and call api platform, which integrates AgentFEM-DENIM's modeling effects, including api services, and provides a free online trial of AgentFEM-DENIM, you can try AgentFEM-DENIM online for free by clicking the link below.
HaomingLuo AgentFEM-DENIM online free url in huggingface.co:
AgentFEM-DENIM is an open source model from GitHub that offers a free installation service, and any user can find AgentFEM-DENIM on GitHub to install. At the same time, huggingface.co provides the effect of AgentFEM-DENIM install, users can directly use AgentFEM-DENIM installed effect in huggingface.co for debugging and trial. It also supports api for free installation.