-
Notifications
You must be signed in to change notification settings - Fork 103
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 elastically unstable structures #355
allow elastically unstable structures #355
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #355 +/- ##
==========================================
- Coverage 64.74% 64.60% -0.15%
==========================================
Files 74 74
Lines 7157 7159 +2
Branches 938 938
==========================================
- Hits 4634 4625 -9
- Misses 2224 2236 +12
+ Partials 299 298 -1
|
Can you think of a way of adding logic here that might distinguish between truly dynamically unstable materials and materials for which the fit is just poor (e.g., has gone into a non-linear regime)? It seems important to distinguish these possibilities. Separately, how is "elastic instability" determined -- negative eigenvalues of Voigt tensor, or some other method? |
@mkhorton I was just looking to allow workflows to complete when the bulk/shear modulus are negative (which indicates elastic instability). Honestly, I'm not familiar enough with the fine details of elastic constant fitting methods to write logic for the fitting method not being applicable / identifying dynamic instability |
That makes sense, perfectly valid! |
@mkhorton There is someone in Mark Asta's group, Pedro, who is more familiar with the math underlying elastic constant fitting/calculations. I will see if he has any ideas about automatically determining if the fitting method is not applicable. That probably belongs in another PR though |
@utf let me know if this is good to go or if you'd like any changes made |
Thanks @matthewkuner. Thanks for this. |
Summary
Introduce a
task_document_kwarg
to theElasticDocument
that allows the elastic workflow to still complete in the event that the structure is elastically unstable. This specifically affects theDerivedProperties
field in the ElasticDocument, which will be set to none in the event that the structure is elastically unstable.@utf I made it so that elastically unstable structures are, by default, allowed to complete. Let me know if you think this should be changed.