Please login with a confirmed email address before reporting spam
Posted:
5 years ago
2020年2月28日 GMT-5 07:20
I am also interested to know if you think this is not possible, and why
I am also interested to know if you think this is not possible, and why
Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
2020年2月28日 GMT-5 07:55
Hi,
If I understand your question correct, you can just use a parametric sweep like random(range(1,1,1000)).
Se attached screenshot.
-------------------
Henrik Sönnerlind
COMSOL
Hi,
If I understand your question correct, you can just use a parametric sweep like random(range(1,1,1000)).
Se attached screenshot.
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
2020年2月28日 GMT-5 08:17
Hi,
Thanks for your answer. I don't think that works in my case, because I need this set of numbers for a single simulation. If I understand correctly this will generate a random number for each simulation.
Maybe more context helps: I want to make step-like variations of a quantity, with different step lengths, and the set of numbers would set the boundaries of this steps in space.
Hi,
Thanks for your answer. I don't think that works in my case, because I need this set of numbers for a single simulation. If I understand correctly this will generate a random number for each simulation.
Maybe more context helps: I want to make step-like variations of a quantity, with different step lengths, and the set of numbers would set the boundaries of this steps in space.
Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
2020年2月29日 GMT-5 02:23
In that case, I think it is easiest to define your input using a piecewise function where the intervals are random. The table in the function can for example be populated using a model method or by importing a table in created in Excel.
-------------------
Henrik Sönnerlind
COMSOL
In that case, I think it is easiest to define your input using a piecewise function where the intervals are random. The table in the function can for example be populated using a model method or by importing a table in created in Excel.