Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
3 years ago
Sep 1, 2021, 5:39 a.m. EDT
To add perform a repetitive task, you can use either a Model Method, a Java Script, or (if you have such a license) Matlab scripting.
This said, adding 10^6 nodes to the model tree will make your model essentially impossible to work with. What is the background story for the 10^6 loads? Is it a distributed load that you try model in this way? If so, it is probably better to work with boundary loads and interpolation functions.
-------------------
Henrik Sönnerlind
COMSOL
To add perform a repetitive task, you can use either a Model Method, a Java Script, or (if you have such a license) Matlab scripting.
This said, adding 10^6 nodes to the model tree will make your model essentially impossible to work with. What is the background story for the 10^6 loads? Is it a distributed load that you try model in this way? If so, it is probably better to work with boundary loads and interpolation functions.
Please login with a confirmed email address before reporting spam
Posted:
3 years ago
Sep 2, 2021, 12:13 p.m. EDT
Thanks Henrik for your reply. They are individual known point loads. Your idea of interpolating the load is interesting. If I input a table with X, Y, Force (directed in Z) values and create an interpolated load, can I apply that to the model surface?
Thanks Henrik for your reply. They are individual known point loads. Your idea of interpolating the load is interesting. If I input a table with X, Y, Force (directed in Z) values and create an interpolated load, can I apply that to the model surface?
Please login with a confirmed email address before reporting spam
Posted:
3 years ago
Sep 2, 2021, 6:59 p.m. EDT
The force components associated with a Boundary Load node can be functions of position, so I assume that an interpolation function can also be used there (haven't done this myself however).
Indeed, in Comsol almost any box that takes a numerical input will also accept functions.
The force components associated with a Boundary Load node can be functions of position, so I assume that an interpolation function can also be used there (haven't done this myself however).
Indeed, in Comsol almost any box that takes a numerical input will also accept functions.
Please login with a confirmed email address before reporting spam
Posted:
3 years ago
Sep 2, 2021, 9:09 p.m. EDT
Yes that works. One can enter int1(x,y) for a z-direction boundary load. Thanks!
Yes that works. One can enter int1(x,y) for a z-direction boundary load. Thanks!