[Hot to get coordinates] #25301
-
Hi moose users, I would like to know how to get the exact coordinates of nodes or elements. I tried ParsedFunctions 'x' to get the x coordinate. But, the return values are not what I expected. The following figure is plotted from x = 0 to x = 0.515. So, in the figure, I expected to see a linear graph 0 to 0.515 values. However, it shows weird results. Is there any other method to get the exact coordinate? In my model, I call the function in this way (auxkernel):Real
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I figured out the problem. I set the variable as a nodal value, but it has to be an element value. Now it worked. |
Beta Was this translation helpful? Give feedback.
I figured out the problem.
I set the variable as a nodal value, but it has to be an element value.
Now it worked.