Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Combining geometry (Union) and its new position

Please login with a confirmed email address before reporting spam

Hi everyone,

I combined several shapes into one by using the Boolean (Union).

Now I want to perform a parameter sweep by changing the position of this new shape. Is it possible to assign a single position to the whole shape (and sweep that single parameter), instead of trying to control all the spatial relations between all its components?

Thanks,
Bartu

2 Replies Last Post 2014年9月8日 GMT-4 10:16

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2014年9月4日 GMT-4 06:34
Hi Bartu,

You can define the position of the first shape using variables (let's say X1=0 and Y1=0) and then define the position of other shapes relatively to the position of the first one (Xi=X1+dX, Yi=Y1+dY). Make the parameter sweep on the variables defining the first shape.

Regards,
Dima.

--
Dima Apter
www.a2z-consulting.com
Hi Bartu, You can define the position of the first shape using variables (let's say X1=0 and Y1=0) and then define the position of other shapes relatively to the position of the first one (Xi=X1+dX, Yi=Y1+dY). Make the parameter sweep on the variables defining the first shape. Regards, Dima. -- Dima Apter www.a2z-consulting.com

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2014年9月8日 GMT-4 10:16
Alternatively, you could add a (Transforms->)Move node to your geometry, use the unity as the input, and move the whole unity around using the parameters of the Move node.
Alternatively, you could add a (Transforms->)Move node to your geometry, use the unity as the input, and move the whole unity around using the parameters of the Move node.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.