Henrik Sönnerlind
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                7 years ago                            
                            
                                2019年2月15日 GMT+8 02:33                            
                        
                        
                                                    Hi Kant,
The integrated contact forces are already available as variables, so the only thing you need is the area in contact. If you integrate an expression which is 1 where there is contact and 0 elsewhere, you will find the area in contact.
The average contact force in the z-direction can thus for example be expressed as solid.T_totz/(intop1(solid.Tn>0)+eps)
The 'eps' is added to avoid a zerodivide if there is no contact.
Instead of defining your own integration operator 'intop1', you can parasitize on the one used to define solid.T_totz, and write something like
solid.T_totz/(solid.cnt1.int(solid.Tn>0)+eps)
There are also variables for the total contact forces per contact pair, with names like solid.cnt1.T_totz_p1 .
Regards,
Henrik
    -------------------
    Henrik Sönnerlind
COMSOL                                                
 
                                                
                            Hi Kant,
The integrated contact forces are already available as variables, so the only thing you need is the area in contact. If you integrate an expression which is 1 where there is contact and 0 elsewhere, you will find the area in contact.
The average contact force in the z-direction can thus for example be expressed as solid.T\_totz/(intop1(solid.Tn>0)+eps)
The 'eps' is added to avoid a zerodivide if there is no contact.
Instead of defining your own integration operator 'intop1', you can parasitize on the one used to define solid.T\_totz, and write something like
solid.T\_totz/(solid.cnt1.int(solid.Tn>0)+eps)
There are also variables for the total contact forces per contact pair, with names like solid.cnt1.T\_totz\_p1 .
Regards,  
Henrik