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.

Using a loop to create geometry

Please login with a confirmed email address before reporting spam

Hi,

I would like to create the following geometry in comsol using M-file,

g1=rect2(0.006,0.006,'base','corner','pos',[0,0.0030]);

I want to repeat the above command, only changing the coordinates each time.

Since I dont have much experience in programming and I am fairly new to Comsol, can anyone guide me in the right direction?
Awaiting a reply from fellow Comsol users.

Thanks.

Warm Regards,
Nihit.

0 Replies Last Post Jun 25, 2010, 4:05 a.m. EDT
COMSOL Moderator

Hello Nihit Madan

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.