Ivar KJELBERG
                                                                                                                                                    COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                21 set 2010, 01:09 GMT-4                            
                        
                        
                                                    Hi
if you are in 2D and you apply a load to an edge you can use the rod length parameter "s" that varies from 0 to 1 along the edge in the direction of the arrow (edge mode). Just type F=F0*s and you get a forceincreasing from 0 to F0 along he edge, you can use a second order function too.
The other way is to use the coordinates x,y, easy if the edge i along one coordinate, but you must normalise to the edge length (that can be calculated via an integration coupling variable.
In 3D for a surface/boundary its slighly more complex as s1 and s2 are not always varying from 0-1 and their orentation is not always trivial. Then the coordinate mapping way is the best.  
--
Good luck
Ivar                                                
                                                
                            Hi
if you are in 2D and you apply a load to an edge you can use the rod length parameter "s" that varies from 0 to 1 along the edge in the direction of the arrow (edge mode). Just type F=F0*s and you get a forceincreasing from 0 to F0 along he edge, you can use a second order function too.
The other way is to use the coordinates x,y, easy if the edge i along one coordinate, but you must normalise to the edge length (that can be calculated via an integration coupling variable.
In 3D for a surface/boundary its slighly more complex as s1 and s2 are not always varying from 0-1 and their orentation is not always trivial. Then the coordinate mapping way is the best.  
--
Good luck
Ivar                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                21 set 2010, 17:56 GMT-4                            
                        
                        
                                                    Ivar,
Thank you for response. I was able to apply a function to the edge length, s1, in my 3D model using your suggestion. s1 scaled with the length of the test bar, so it made it easy when calling the length of the test bar in the function to determine the load applied.
Robb Morris                                                
                                                
                            Ivar,
Thank you for response. I was able to apply a function to the edge length, s1, in my 3D model using your suggestion. s1 scaled with the length of the test bar, so it made it easy when calling the length of the test bar in the function to determine the load applied.
Robb Morris