Adding Randomness to Parameters

Please login with a confirmed email address before reporting spam

Hello,

I am trying to model how copper and lead will behave if subjected to a physics, and i need to generate lots of data to continue my research. I also want to be able to model it with randomness to the geomety such as the diameter, length etc. of the pipes.

How can i add these random fucntion to me parameter. I tried using live link to do that in matlab, but the model did not converge.

Thank you.


1 Reply Last Post Apr 12, 2024, 1:48 p.m. EDT
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 weeks ago Apr 12, 2024, 1:48 p.m. EDT
Updated: 2 weeks ago Apr 12, 2024, 3:36 p.m. EDT

Hello Zul,

You can generate random geometries by using model methods, as described in this blog post.

You can automatically run the same model for several values of some parameters by using a parametric sweep.

Best regards,

Jeff

-------------------
Jeff Hiller
Hello Zul, You can generate random geometries by using model methods, as described in [this blog post](https://www.comsol.com/blogs/how-to-create-a-randomized-geometry-using-model-methods). You can automatically run the same model for several values of some parameters by using a [parametric sweep](https://www.comsol.com/video/performing-parametric-sweep-study-comsol-multiphysics). Best regards, Jeff

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.