Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                May 22, 2015, 4:41 a.m. EDT                            
                        
                        
                                                    Hallo, 
Have you tried the moving mesh physics (ALE)? 
In case you haven't, I believe the solution for a CLOSED system should look something like this:
1. Define the piecewise function (pw1) of the movement using the displacement as a factor.
2. Add the Ale physics in which you define the movement of the anode by a "Prescribed deformation". For an input, for example in the x-direction, use the time operator t as an input for the piecewise function describing the movement of the anode (something like: pw1[t]).
3. Define a "Free deformation" on surrounding domain of the model. 
4. Add "Prescribed mesh displacement" surrounding the anode boundaries with the same input as in point (2).
5. Use a fine mesh setting and in the time-dependent solver, check the "automatic meshing" option.
if solver convergence was not achieved, you might need to refine the mesh or play a bit with the solver, especially the time stepping type of the stop condition for re-meshing.
I hope that helped you a bit. 
Good luck,
Zedd
 
                                                
                                                
                            Hallo, 
Have you tried the moving mesh physics (ALE)? 
In case you haven't, I believe the solution for a CLOSED system should look something like this:
1. Define the piecewise function (pw1) of the movement using the displacement as a factor.
2. Add the Ale physics in which you define the movement of the anode by a "Prescribed deformation". For an input, for example in the x-direction, use the time operator t as an input for the piecewise function describing the movement of the anode (something like: pw1[t]).
3. Define a "Free deformation" on surrounding domain of the model. 
4. Add "Prescribed mesh displacement" surrounding the anode boundaries with the same input as in point (2).
5. Use a fine mesh setting and in the time-dependent solver, check the "automatic meshing" option.
if solver convergence was not achieved, you might need to refine the mesh or play a bit with the solver, especially the time stepping type of the stop condition for re-meshing.
I hope that helped you a bit. 
Good luck,
Zedd
 
                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                May 23, 2015, 1:49 a.m. EDT                            
                        
                        
                                                    Hello
 Many thanks for your replying, and I am very sorry so late reply to you !
 I have tried  the advice that you  offered several times  , and the Ale physics is not working .
     
But this i s a question that's always puzzled me  .
Would you leave me your email?  I
If it's convenient for you, I will send the model  to you so that you can find the solution .
I am really grateful.
 
Thanks again!                                                
                                                
                            Hello
 Many thanks for your replying, and I am very sorry so late reply to you !
 I have tried  the advice that you  offered several times  , and the Ale physics is not working .
     
But this i s a question that's always puzzled me  .
Would you leave me your email?  I
If it's convenient for you, I will send the model  to you so that you can find the solution .
I am really grateful.
 
Thanks again!                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                May 26, 2015, 10:48 a.m. EDT                            
                        
                        
                                                    Hallo, 
Let's keep the discussion in this post alive so that other COMSOL users find it useful. Nonetheless, upload a simplified version of your model and i will be happy to take a look at it. 
Moving mesh physics is not hard to apply, yet sometimes tricky. I attached a simple model for the moving mesh. Maybe it could provide a starting point for your model. 
Have fun,
Zaid                                                
                                                
                            Hallo, 
Let's keep the discussion in this post alive so that other COMSOL users find it useful. Nonetheless, upload a simplified version of your model and i will be happy to take a look at it. 
Moving mesh physics is not hard to apply, yet sometimes tricky. I attached a simple model for the moving mesh. Maybe it could provide a starting point for your model. 
Have fun,
Zaid