Compute norm of a material gradient #27716
Unanswered
josebastiase
asked this question in
Q&A Modules: Porous Flow
Replies: 1 comment 2 replies
-
Hello If you want the average or the max of the norm of the gradient of the material property, then you want to create a new postprocessor If you want to look at a field representing this quantity locally then use an auxiliary kernel. There may already be a pre implemented version of this. It's unlikely though given that there are two operations applied. If you don't want to write new code you could see if each operation can be applied separately to different auxiliary variables, in a chain 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
-
Hi all,
I am studying the impact of material properties on my simulation results. Specifically, I want to evaluate how variations in the material properties affect the outcomes. To achieve this, I plan to use the norm of the gradient of the material property across the simulation space as a proxy measure.
Mathematically, I am considering the expression:
∥∇E∥2
where E represents the Young's modulus, which is assigned to the elements and stored in an auxiliary variable (AuxVar). The goal is to compute this gradient norm within my simulation to analyze the effect of spatial variations in Young's modulus.
Could anyone suggest the easiest way to compute this within my simulation?
Thanks in advance,
Jose
Beta Was this translation helpful? Give feedback.
All reactions