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:
                            
                                1 decade ago                            
                            
                                14 lug 2012, 12:01 GMT-4                            
                        
                        
                                                    Hi
I would not say it's COMSOL that has any major issue with such a model, it's rather that the set-up is delicate, It should work by selecting correct mesh densities and extent of the contact regions, and enough BC to enforce an unique solution, which is not trivial for "rigid" body systems. Furtermore, in transient you have all the resonance modes and pressure waves that are excited, one way to get a better convergence is to remove the "inertial terms" from the solid physics, but then the results are not fully representative. Or to add some damping to minimise unwanted modes.
Unfortunately I do not have 3.5 up running, and translated to 4.3 your model needs some tweaking as entity ID seem to be different
--
Good luck
Ivar                                                
                                                
                            Hi
I would not say it's COMSOL that has any major issue with such a model, it's rather that the set-up is delicate, It should work by selecting correct mesh densities and extent of the contact regions, and enough BC to enforce an unique solution, which is not trivial for "rigid" body systems. Furtermore, in transient you have all the resonance modes and pressure waves that are excited, one way to get a better convergence is to remove the "inertial terms" from the solid physics, but then the results are not fully representative. Or to add some damping to minimise unwanted modes.
Unfortunately I do not have 3.5 up running, and translated to 4.3 your model needs some tweaking as entity ID seem to be different
--
Good luck
Ivar                        
                                                
                                                                                                            
                                             
                    
                    
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                18 lug 2012, 19:48 GMT-4                            
                        
                        
                                                    Thanks for the fast reply! I would have replied sooner, but I was trying to figure it out on my own. 
My model was failing to find an initial value. I discovered that the problem is contained in the quantity, "pn" which is the contact normal penalty factor. Specifically the variable "auglagiter." If I replace auglagiter with a constant, the model will solve. (It will solve until initial contact, then it fails, but I will get to that...) If I replace the entire contact normal penalty factor with a constant value it will solve, again up until initial contact. It gives me the following error: "Nonlinear solver did not converge. Last time step not converged." So I have made progress, but have encountered another problem. I also noticed that if I decrease the penalty factor, say to 0.001, the boundaries will penetrate one another and the model will solve.
My questions are the following:
What is auglagiter, and why is it preventing the model to find an initial value?
What is the contact normal penalty factor?
How do I adjust the penalty factor in order make the model solve without the boundaries penetrating?
Your help is much appreciated!
Ryan                                                
                                                
                            Thanks for the fast reply! I would have replied sooner, but I was trying to figure it out on my own. 
My model was failing to find an initial value. I discovered that the problem is contained in the quantity, "pn" which is the contact normal penalty factor. Specifically the variable "auglagiter." If I replace auglagiter with a constant, the model will solve. (It will solve until initial contact, then it fails, but I will get to that...) If I replace the entire contact normal penalty factor with a constant value it will solve, again up until initial contact. It gives me the following error: "Nonlinear solver did not converge. Last time step not converged." So I have made progress, but have encountered another problem. I also noticed that if I decrease the penalty factor, say to 0.001, the boundaries will penetrate one another and the model will solve.
My questions are the following:
What is auglagiter, and why is it preventing the model to find an initial value?
What is the contact normal penalty factor?
How do I adjust the penalty factor in order make the model solve without the boundaries penetrating?
Your help is much appreciated!
Ryan                        
                                                
                                                                                                            
                                             
                    
                    
                        
                            
                                                                                        
                                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:
                            
                                1 decade ago                            
                            
                                19 lug 2012, 01:46 GMT-4                            
                        
                        
                                                    Hi
reread the doc, and check the FORUM, a few years ago there were many discussions about this, including variants of settings to improve contact simulations, I do believe there is a couple of article on the KB (Knowledge Base main COMSOL site)
--
Good luck
Ivar                                                
                                                
                            Hi
reread the doc, and check the FORUM, a few years ago there were many discussions about this, including variants of settings to improve contact simulations, I do believe there is a couple of article on the KB (Knowledge Base main COMSOL site)
--
Good luck
Ivar                        
                                                
                                                                                                            
                                             
                    
                    
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                28 lug 2012, 13:47 GMT-4                            
                        
                        
                                                    I was able to solve this problem. I went into the solver manager and selected Solve For u. Everything was selected by default. There are a number of variables Tn_cpx_smps, where x corresponds to each contact pair. With these selected the model would not run. With only u selected, the model runs and solves. Can someone explain what is happening and why this is the case?
Thanks!
Ryan                                                
                                                
                            I was able to solve this problem. I went into the solver manager and selected Solve For u. Everything was selected by default. There are a number of variables Tn_cpx_smps, where x corresponds to each contact pair. With these selected the model would not run. With only u selected, the model runs and solves. Can someone explain what is happening and why this is the case?
Thanks!
Ryan                        
                                                
                                                                                                            
                                             
                    
                    
                        
                            
                                                                                        
                                Nagi Elabbasi
                                                                                                                                                    Facebook Reality Labs
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                28 lug 2012, 23:18 GMT-4                            
                        
                        
                                                    When you do not solve for the contact variables COMSOL solves the contact problem using a pure penalty formulation (instead of Augmented Lagrange). That seems to be easier to converge for your model.
Nagi Elabbasi
Veryst Engineering                                                
                                                
                            When you do not solve for the contact variables COMSOL solves the contact problem using a pure penalty formulation (instead of Augmented Lagrange). That seems to be easier to converge for your model.
Nagi Elabbasi
Veryst Engineering                        
                                                
                                                                                                            
                                             
                    
                    
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                11 ago 2012, 22:24 GMT-4                            
                        
                        
                                                    If I was interested in solving for a contact variable, (contact pressure) how could I achieve convergence?
Thanks!
Ryan Musson
                                                
                                                
                            If I was interested in solving for a contact variable, (contact pressure) how could I achieve convergence?
Thanks!
Ryan Musson
                        
                                                
                                                                                                            
                                             
                    
                    
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                7 ago 2013, 15:27 GMT-4                            
                        
                        
                                                    Hi!
I am running version 4.3b, trying to solve a transient model with contact, but I'm getting penetration. Would anyone know how to implement pure penalty formulation? As I saw on Nagi's post, this might solve the penetration problem.
Thanks!                                                
                                                
                            Hi!
I am running version 4.3b, trying to solve a transient model with contact, but I'm getting penetration. Would anyone know how to implement pure penalty formulation? As I saw on Nagi's post, this might solve the penetration problem.
Thanks!                        
                                                
                                                                                                            
                                             
                    
                    
                        
                            
                                                                                        
                                Nagi Elabbasi
                                                                                                                                                    Facebook Reality Labs
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                7 ago 2013, 15:55 GMT-4                            
                        
                        
                                                    Hi Sylvana,
Check out the “Contact Analysis of a Snap Hook Using a Penalty Formulation” COMSOL Gallery model (#12577). The document supporting the model shows how to implement the penalty contact method (it’s quite straightforward actually). I believe the document also gives the pros and cons of the penalty method compared to the Augmented Lagrangian method.
Nagi Elabbasi
Veryst Engineering                                                
                                                
                            Hi Sylvana,
Check out the “Contact Analysis of a Snap Hook Using a Penalty Formulation” COMSOL Gallery model (#12577). The document supporting the model shows how to implement the penalty contact method (it’s quite straightforward actually). I believe the document also gives the pros and cons of the penalty method compared to the Augmented Lagrangian method.
Nagi Elabbasi
Veryst Engineering                        
                                                
                                                                                                            
                                             
                    
                    
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                8 ago 2013, 16:23 GMT-4                            
                        
                        
                                                    Hi Nagi,
Thank you very much for your reply. I really appreciate it. I took a look at the model you suggested and implemented it on a stationary (parametric) study, with linear elastic materials. However, I would like to use the viscoplasticity material model, which I haven't been able to use with a parametric study, only in a time-dependent study. Would you know how to implement the penalty formulation on a transient model? Or, would you have any suggestions on implementing a parametric study using a viscoplastic material? I get an error regarding the effective creep strain variable (solid.ece):
"There are xx void equations for the variable mod1.solid.ece..."
Thanks again!
Sylvana                                                
                                                
                            Hi Nagi,
Thank you very much for your reply. I really appreciate it. I took a look at the model you suggested and implemented it on a stationary (parametric) study, with linear elastic materials. However, I would like to use the viscoplasticity material model, which I haven't been able to use with a parametric study, only in a time-dependent study. Would you know how to implement the penalty formulation on a transient model? Or, would you have any suggestions on implementing a parametric study using a viscoplastic material? I get an error regarding the effective creep strain variable (solid.ece):
"There are xx void equations for the variable mod1.solid.ece..."
Thanks again!
Sylvana                        
                                                
                                                                                                            
                                             
                    
                    
    
                        
                            
                                                                                        
                                Nagi Elabbasi
                                                                                                                                                    Facebook Reality Labs
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                9 ago 2013, 17:15 GMT-4                            
                        
                        
                                                    Hi Sylvana,
Penalty contact as shown in the Model example is the same for both stationary and transient. In transient problems you frequently need a lower penalty factor than in stationary problems to avoid impact oscillations. You cannot use a viscoelastic or viscoplastic material in COMSOL in a stationary analysis (even if you are doing a parametric sweep) since these materials need a time derivative.
Nagi Elabbasi
Veryst Engineering                                                
                                                
                            Hi Sylvana,
Penalty contact as shown in the Model example is the same for both stationary and transient. In transient problems you frequently need a lower penalty factor than in stationary problems to avoid impact oscillations. You cannot use a viscoelastic or viscoplastic material in COMSOL in a stationary analysis (even if you are doing a parametric sweep) since these materials need a time derivative.
Nagi Elabbasi
Veryst Engineering