Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow density to change via strain-free chemistry changes #29556

Open
tophmatthews opened this issue Dec 16, 2024 · 0 comments
Open

Allow density to change via strain-free chemistry changes #29556

tophmatthews opened this issue Dec 16, 2024 · 0 comments
Labels
T: task An enhancement to the software.

Comments

@tophmatthews
Copy link
Contributor

Motivation

In some material systems, density can change due to chemistry changes as well as thermal expansion. The material property Density currently takes an initial density, given as a input param, and modifies it as a result of any displacements throughout the simulation. This limits density changes to only strain-driven (e.g., thermal expansion) thermal changes.

Design

Turn:

params.addRequiredParam<Real>("density", "Density");

into:

params.addParam<MaterialPropertyName>("density, "Material property name for strain-free density."

Really, I would like to turn this into:

params.addParam<MaterialPropertyName>("strain_free_density, "Material property name for strain-free density."

and deprecate density input parameter altogether, but would take buy in from people like @bwspenc @dschwen

Impact

More flexible Density material class.

@tophmatthews tophmatthews added the T: task An enhancement to the software. label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: task An enhancement to the software.
Projects
None yet
Development

No branches or pull requests

1 participant