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.

Randomly Distributed Particle Modeling

Please login with a confirmed email address before reporting spam

Hi,

I want to model randomly distributed spherical particles within a rectangular box and then do subsequent FE analysis.

  1. How to create that geometry? The model would be similar to what has been explained in this link: https://www.comsol.com/blogs/how-to-create-a-randomized-geometry-using-model-methods/ However, we dont want to subtract the spheres - rather subtract the matrix. I guess there will be some changes in the boolean operator descriobed in line 27-29

  2. In that link, everything is done through java command. Is it possible to do it through MATLAB? (I have live-link). if yes, how?

  3. How to mesh the entire structure and generate a mesh file? (e.g., nodes and element matrix, their coordinates and connectivitities)

  4. How to mark some region within my model to get the elements, nodes, surface belong to that region so that I can extract the solution values at these locations for post-processing.

  5. Is it possible to visulaize my results through comsol? (these will be all 2D/ 3D color contour plots, slice plots). I will use my own matlab code to solve my equations and then will like to visualize through comsol. In that case, I will have my solutions and finite element mesh information to input in the comsol.

Thanks, Sumit


0 Replies Last Post 13 août 2021, 13:53 UTC−4
COMSOL Moderator

Hello Sumit Gupta

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.

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.