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.

if/else syntax for geometry

Please login with a confirmed email address before reporting spam

Dear comsol ,

i had an array of cylindrical pillar on a surface placed at equal distances, the distance between pillar and edge of the surface depends on the surface dimensions.

Now i want to build a sub-pillars based on location of the pillar(s). If there is enough distance before the pillar to accommodate a sub-pillar, then the array of sub-pillars starts before the pillar.If there is no enough space the its starts after the pillar.

Please help me in building this. I think i can do this buy if /else programming but im confused about the syntax of it. (i build pillars by extrusion of work plane).

Thanks in advance.

0 Replies Last Post 11.09.2015, 12:30 GMT-4
COMSOL Moderator

Hello Pradeep

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.