Calculation of material property (permeability) as function of variable (temperature) #27488
Unanswered
RotmanC
asked this question in
Q&A Modules: Porous Flow
Replies: 2 comments 2 replies
-
Actually I tried to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello Does it converge if you set k to be a constant? Guillaume |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm working on the evolution of supercritical conditions by a magmatic intrusion at depth (7km), so the permeability (k) changes with the evolution of this high temperature body (825K).
I implement an equation to calculate k as function of temperature following the equation of Hayba & Ingebritsen (1997). I include it using the permeability as
PorousFlowPermeabilityTensorFromVar
that call anAuxKernel
and itsAuxVariable
.The problem is that it doesn't converge. May be because the permeability has a big change (k = [1e-22, 1e-14]), which is at the middle bottom of the mesh in a very short volume, that is, around the intrusion of magma (825K, k = 1e-22). So the Jacobian has a wide range of values to deal.
I tried:
Controls
to start the calculation of k after some timesteps after the starting of the intrusionAdaptivity
, but I cannot use k as variable (and spend a lot of time running)May be I can calculate k as a MultiApp, or can I calculate outside and call the results later (but I don't know how to do it and I didn't found anything in the discussions).
Another question that I have is why the size of the initial execution of this simulation is more than 2Gb (2368 MB) if only runs 3570 elements in 2D.
Here is the project with the mesh and the script with no
Controls
andAdaptivity
Any support and comment to improve it are more than welcome
Beta Was this translation helpful? Give feedback.
All reactions