Material properties and sharp transitions #16189
Answered
by
WilkAndy
gka80
asked this question in
Q&A General
Replies: 1 comment 1 reply
-
I think this depends a bit on your physics. For instance, in my fields where the finite element is frequently a coarse-scale representation of some complicated (unknown?) micro physics, a "mollifier" would be appropriate here. That is, replace if(x<0, -1, 1) with tanh(x/m), where m is the mollifier (or some similar function).
a
…________________________________
From: Garrett Kelley <[email protected]>
Sent: Sunday, 15 November 2020 11:28 AM
To: idaholab/moose <[email protected]>
Cc: Subscribed <[email protected]>
Subject: [idaholab/moose] Material properties and sharp transitions (#16189)
I currently have a material property defined using a DerivativeParsedMaterial with an 'if' statement. The 'if' statement acts as a switch for the material property (i.e. similar to a first-order phase transition). I've tested the model above and below the critical point and it behaves as expected. However, because of the way I've modeled this, there's a sharp transition at the critical point. I'd like to "help the solver out" around this transition point in the hopes of improving convergence around this point and reducing runtime.
What's a good way to accomplish this? If something doesn't exist, I don't have a problem with contributing if someone has an idea.
Thank you,
-Garrett
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#16189>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABS6CVITDQ5CQ6JOQZIT7VTSP4VE5ANCNFSM4TV4I5KQ>.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
gka80
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I currently have a material property defined using a DerivativeParsedMaterial with an 'if' statement. The 'if' statement acts as a switch for the material property (i.e. similar to a first-order phase transition). I've tested the model above and below the critical point and it behaves as expected. However, because of the way I've modeled this, there's a sharp transition at the critical point. I'd like to "help the solver out" around this transition point in the hopes of improving convergence around this point and reducing runtime.
What's a good way to accomplish this? If something doesn't exist, I don't have a problem with contributing if someone has an idea.
Thank you,
-Garrett
Beta Was this translation helpful? Give feedback.
All reactions