Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Geometry present or not depending on a parameter

$
0
0
Hi!

I am trying to create a geometry that will have certain elements appear or disappear depending on a variable. For example: I have a variable "var1" that can take the values of 1 or 2. I have a geometry that hast a plate with a hole in the middle (in 2D, so it would basically look like a rectangle with a circle in the middle). I want to be able to have COMSOL build the geometry with the circle if I input 1 for "var1" and to build the geometry with just the rectangle is I input 2 for "var1"

Thank you very much for your help.

Francesco

Viewing all articles
Browse latest Browse all 26527

Trending Articles