NVIDIA / modulus-sym

Framework providing pythonic APIs, algorithms and utilities to be used with Modulus core to physics inform model training as well as higher level abstraction for domain experts
https://developer.nvidia.com/modulus
Apache License 2.0
137 stars 56 forks source link

One-dimensional linear elasticity #151

Open ahenkes1 opened 2 months ago

ahenkes1 commented 2 months ago

Modulus Pull Request

Corresponds to issue #150

Description

This Pull Request enables the usage of one-dimensional linear elasticity in Modulus-Sym. Previously, linear elasticity was only supported for the two- and three-dimensional case.

In the code base, the 1D case was separated from the 2D and 3D case, as it relies only on Young's modulus "E" instead of Lame's constants. The code for 2D and 3D use Lame's constants extensively.

Care was taken, that also inhomogenous distributions of E are allowed, i.e., E(x).

Checklist

Dependencies

None