Jeff Hiller
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 year ago                            
                            
                                26 juin 2024, 11:47 UTC−4                            
                        
                        Updated:
                            
                                1 year ago                            
                            
                                26 juin 2024, 13:29 UTC−4                            
                        
                        
                                                    Hello Gabriel,
You could write a model method to achieve this. See this blog for a starting point. Another approach, if you have LiveLink for MATLAB on your license, is to use that to script your geometry.
Best,
Jeff
PS: Beware that you're talking about a lot of spheres in that cylinder, so that the model will be very large. Depending on what you are trying to get out of the simulation, other approaches than representing each sphere explicitly may be more appropriate (e.g. using effective properties in the region where the spheres are).
    -------------------
    Jeff Hiller                                                
 
                                                
                            Hello Gabriel,
You could write a model method to achieve this. See [this blog](https://www.comsol.com/blogs/how-to-create-a-randomized-geometry-using-model-methods) for a starting point. Another approach, if you have LiveLink for MATLAB on your license, is to use that to script your geometry.
Best,
Jeff
PS: Beware that you're talking about a lot of spheres in that cylinder, so that the model will be very large. Depending on what you are trying to get out of the simulation, other approaches than representing each sphere explicitly may be more appropriate (e.g. using effective properties in the region where the spheres are).                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 year ago                            
                            
                                26 juin 2024, 14:08 UTC−4                            
                        
                        
                                                
                            Thank you sir Jeff.