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.
Coding: Geometric Parameter Sweep
Posted Sep 3, 2014, 4:44 a.m. EDT Geometry 2 Replies
Please login with a confirmed email address before reporting spam
Hi everyone,
I designed a relatively complicated model where the 3D temperature distribution (with Joule heating) was simulated.
The model consists of a PCB, some wires and some electronic components.
My main concern is to find the maximum temperature on the whole structure, I want to write a script where COMSOL automatically moves the components (and the wires accordingly) around and computes the temp. distribution for each case. Ideally, it should also save results (plots or date).
My idea (strategy proposal): The components are rigid bodies but are composed of several shapes and functions (blocks, extrude, work planes...). I would combine these shapes into a "group" and name them (eg. resistance1, resistance2..). Each "group"s center would have a specific coordinate. By using this center`s coordinate, I will write for-loops and try to achieve the goal.
I did a similar approach in Lumerical, but don`t know if it is applicable to COMSOL.
Would really appreciate if you could help me on this. A similar tutorial would also be very helpful.
Thank you,
Bartu
I designed a relatively complicated model where the 3D temperature distribution (with Joule heating) was simulated.
The model consists of a PCB, some wires and some electronic components.
My main concern is to find the maximum temperature on the whole structure, I want to write a script where COMSOL automatically moves the components (and the wires accordingly) around and computes the temp. distribution for each case. Ideally, it should also save results (plots or date).
My idea (strategy proposal): The components are rigid bodies but are composed of several shapes and functions (blocks, extrude, work planes...). I would combine these shapes into a "group" and name them (eg. resistance1, resistance2..). Each "group"s center would have a specific coordinate. By using this center`s coordinate, I will write for-loops and try to achieve the goal.
I did a similar approach in Lumerical, but don`t know if it is applicable to COMSOL.
Would really appreciate if you could help me on this. A similar tutorial would also be very helpful.
Thank you,
Bartu
2 Replies Last Post Sep 3, 2014, 5:53 a.m. EDT