Daniel Smith
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
Aug 12, 2019, 12:45 p.m. EDT
Updated:
5 years ago
Aug 12, 2019, 12:43 p.m. EDT
Hi Bruce, you can pass in Global variables or Results Parameters to the atxd3 operator, but not variables which are space dependent. In the attached example, in the Solution on Extra Dimension Plot Group, I use the expression:
comp1.atxd3(xpos,ypos,0.5,v)
xpos is a Global variable and ypos is defined as a Result Parameter. Results parameters can be useful, as you can animate the solution. For example, in Animation 1, we are sweeping over the Result Parameter ypos, basically creating an animation of the solution in the extra dimension while sweeping through the y-coordinate in the base geometry.
Dan
Hi Bruce, you can pass in **Global** variables or **Results Parameters** to the atxd3 operator, but not variables which are space dependent. In the attached example, in the *Solution on Extra Dimension* Plot Group, I use the expression:
comp1.atxd3(xpos,ypos,0.5,v)
xpos is a Global variable and ypos is defined as a Result Parameter. Results parameters can be useful, as you can animate the solution. For example, in Animation 1, we are sweeping over the Result Parameter ypos, basically creating an animation of the solution in the extra dimension while sweeping through the y-coordinate in the base geometry.
Dan
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
Aug 12, 2019, 1:19 p.m. EDT
Updated:
5 years ago
Aug 12, 2019, 1:17 p.m. EDT
Thanks Daniel!