-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Different value of parameter defined as material property and auxvariable #28145
Replies: 2 comments · 8 replies
-
Hello Can you please paste the auxkernels block and the materials block? These just look like two different properties. Guillaume |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi @GiudGiud Here is the auxvariables, auxkernels and material blocks respectively: [./stress_excess] [./stress_excess_ker] [failure] |
Beta Was this translation helpful? Give feedback.
All reactions
-
can you try order = CONSTANT for the variable? I m not sure exodus output represents second order monomials right. I ll try to find a list of the ones we can represent in exodus |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks @GiudGiud I changed the order=CONSTANT for the variable, but i got bad termination at the end of first time step: Solve Converged! ===================================================================================
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Looks like a bug. Can you follow the debugging instructions and get us a backtrace? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks @GiudGiud
|
Beta Was this translation helpful? Give feedback.
All reactions
-
For debugging, I guess you can follow this page https://mooseframework.inl.gov/application_development/debugging.html |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks @Bearunner @GiudGiud |
Beta Was this translation helpful? Give feedback.
All reactions
-
it didnt crash and we didnt get a backtrace. This didnt really help |
Beta Was this translation helpful? Give feedback.
All reactions
-
@GiudGiud you are right. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I wrote a simple material property, I need to have it either as material property or auxvariable in the model. To extract the value from material object to aux system (and save the parameter as another variable) i have used " MaterialRealAux", on the other hand i outputed the paterial property by seetting up "outputs = exodus" in the block. The code works properly, as expected.
So, the output of the parameter as material property sounds good, however the output of aux system does not match with it.
The results are completely different, figure below:
the figure shows the profile at first time step, red line outputed as material property and blue line outputed as auxvariable. here is the last time step:
The output of aux system is wrong at first step and does not chnage over time as should be.
why does it happen, i.e. auxvaribale shows wierd profile (like random values) while it just reads the data from material property.
Beta Was this translation helpful? Give feedback.
All reactions