Please login with a confirmed email address before reporting spam
Posted:
5 years ago
28 févr. 2020, 07:20 UTC−5
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
28 févr. 2020, 07:55 UTC−5
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
28 févr. 2020, 08:17 UTC−5
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
29 févr. 2020, 02:23 UTC−5
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.