Henrik Sönnerlind
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                4 years ago                            
                            
                                1 sept. 2021, 05:39 UTC−4                            
                        
                        
                                                    To add perform a repetitive task, you can use either a Model Method, a Java Script, or (if you have such a license) Matlab scripting.
This said, adding 10^6 nodes to the model tree will make your model essentially impossible to work with. What is the background story for the 10^6 loads? Is it a distributed load that you try model in this way? If so, it is probably better to work with boundary loads and interpolation functions.
    -------------------
    Henrik Sönnerlind
COMSOL                                                
 
                                                
                            To add perform a repetitive task, you can use either a Model Method, a Java Script, or (if you have such a license) Matlab scripting.
This said, adding 10^6 nodes to the model tree will make your model essentially impossible to work with. What is the background story for the 10^6 loads? Is it a distributed load that you try model in this way? If so, it is probably better to work with boundary loads and interpolation functions.                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                4 years ago                            
                            
                                2 sept. 2021, 12:13 UTC−4                            
                        
                        
                                                    Thanks Henrik for your reply. They are individual known point loads. Your idea of interpolating the load is interesting. If I input a table with X, Y, Force (directed in Z) values and create an interpolated load, can I apply that to the model surface?
                                                 
                                                
                            Thanks Henrik for your reply. They are individual known point loads. Your idea of interpolating the load is interesting. If I input a table with X, Y, Force (directed in Z) values and create an interpolated load, can I apply that to the model surface?                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                4 years ago                            
                            
                                2 sept. 2021, 18:59 UTC−4                            
                        
                        
                                                    The force components associated with a Boundary Load node can be functions of position, so I assume that an interpolation function can also be used there (haven't done this myself however).
Indeed, in Comsol almost any box that takes a numerical input will also accept functions.
                                                 
                                                
                            The force components associated with a Boundary Load node can be functions of position, so I assume that an interpolation function can also be used there (haven't done this myself however). 
Indeed, in Comsol almost any box that takes a numerical input will also accept functions.                         
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                4 years ago                            
                            
                                2 sept. 2021, 21:09 UTC−4                            
                        
                        
                                                    Yes that works. One can enter int1(x,y) for a z-direction boundary load. Thanks!
                                                 
                                                
                            Yes that works. One can enter int1(x,y) for a z-direction boundary load. Thanks!