Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
15.05.2012, 09:46 GMT-4
Hi
search the FORUM for max( it has been discussed a few times, its also (slightly hidden) in the help files you need to call the max(u,x), max(u,y) or max(u,z) to get the three coordinates x,y,z of the maximum of your dependent variable "u" (example for a solid physics case)
--
Good luck
Ivar
Hi
search the FORUM for max( it has been discussed a few times, its also (slightly hidden) in the help files you need to call the max(u,x), max(u,y) or max(u,z) to get the three coordinates x,y,z of the maximum of your dependent variable "u" (example for a solid physics case)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
15.05.2012, 10:13 GMT-4
Thank you for fast answer. I did find a post about it, however I don't know how to do the following
Define a Maximum coupling operator, then pass in the independent variables as a second argument to query the location at which the maximum occurred. For example, say you solve for temperature, T, and you have a Maximum coupling operator, maxop1, then use:
maxop1(T,x) for the x-coordinate at which the maximum occurs
maxop1(T,y) for the y-coordinate at which the maximum occurs
Can you please tell me where exactly I do this?
Thank you
Josef
Thank you for fast answer. I did find a post about it, however I don't know how to do the following
Define a Maximum coupling operator, then pass in the independent variables as a second argument to query the location at which the maximum occurred. For example, say you solve for temperature, T, and you have a Maximum coupling operator, maxop1, then use:
maxop1(T,x) for the x-coordinate at which the maximum occurs
maxop1(T,y) for the y-coordinate at which the maximum occurs
Can you please tell me where exactly I do this?
Thank you
Josef
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
15.05.2012, 10:22 GMT-4
Hi
the first argument is the variable (T(x,y,z,t) in your case, but you write just T) and the second argument is a charachter "x", "y" ...
Once you have defined the maxop1() operator in the definition, you must solve your model (or update it if already solved before you defined the maxop1)
Then under Derived Values you define a global value and enter maxop1(T,x), duplicate it 2-3 times and replace the x, by y then z respectively
The result in the table should be the coordinates of the maximum over the domains, or boundaries defuned under the maxop1() operator tab
--
Good luck
Ivar
Hi
the first argument is the variable (T(x,y,z,t) in your case, but you write just T) and the second argument is a charachter "x", "y" ...
Once you have defined the maxop1() operator in the definition, you must solve your model (or update it if already solved before you defined the maxop1)
Then under Derived Values you define a global value and enter maxop1(T,x), duplicate it 2-3 times and replace the x, by y then z respectively
The result in the table should be the coordinates of the maximum over the domains, or boundaries defuned under the maxop1() operator tab
--
Good luck
Ivar