Please login with a confirmed email address before reporting spam
Posted:
5 years ago
Feb 28, 2020, 7:20 a.m. EST
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
Feb 28, 2020, 7:55 a.m. EST
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
Feb 28, 2020, 8:17 a.m. EST
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
Feb 29, 2020, 2:23 a.m. EST
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.