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.
How to Assign Random Numbers for Particle Release at Inlet in Particle Tracing?
Posted 2025/01/15 17:11 JST 0 Replies
Please login with a confirmed email address before reporting spam
Hi everyone,
I'm working on a Particle Tracing for Fluid Flow simulation, and I need to assign random numbers as the input for the number of particles per release at the inlet. My goal is to generate a different random value for each release interval.
Is there a way to achieve this directly in COMSOL, perhaps using expressions or built-in functions like rand()? If not, are there alternative approaches, such as defining variables or importing external data, to accomplish this?
Any advice or examples would be greatly appreciated!
Thanks in advance!
Attachments:
Hello Aakanksha Baghel
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.