Hello Martin Suter
                            
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
                            If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.
                         
                     
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                20 giu 2011, 09:04 GMT-4                            
                        
                        
                                                    Did you find an answer for this issue? I have exactly the same problem.                                                 
                                                
                            Did you find an answer for this issue? I have exactly the same problem.                         
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                20 set 2011, 13:27 GMT-4                            
                        
                        
                                                    Same Problem...
Could someone give an answer?                                                
                                                
                            Same Problem...
Could someone give an answer?                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                21 set 2011, 02:57 GMT-4                            
                        
                        
                                                    No solution so far ...                                                
                                                
                            No solution so far ...                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                21 set 2011, 03:44 GMT-4                            
                        
                        
                                                    Manualy:
ctrl + pause/break
Using script - check the documentation of a function that you use... Try to find where "the evaluation of convergance" is calculated and write proper condition..
Best regards,
Rafał Piotuch                                                
                                                
                            Manualy:
ctrl + pause/break
Using script - check the documentation of a function that you use... Try to find where "the evaluation of convergance" is calculated and write proper condition..
Best regards,
Rafał Piotuch                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                22 set 2011, 10:37 GMT-4                            
                        
                        
                                                    Dear Rafal Piotuch,
I don't quiet see what you mean!
Could you please be more precise?
Cheers
                                                
                                                
                            Dear Rafal Piotuch,
I don't quiet see what you mean!
Could you please be more precise?
Cheers
                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                23 set 2011, 01:16 GMT-4                            
                        
                        
                                                    Dear Julien Egger;
sure:) Hope you use Matlab to solve problem, else I don't know how to help you:)
So.. If you use Matlab it is easy to stop simulation manualy- just press ctr+pause/break and the simulation stops after some time - but for sure you want to stop simulation automaticly, without any human control...
When you solve sth. using for example femtime function.. read documentation of such function and read script of this function - there must be a "place" in code that refers to convergance calculation... So there must be a variable that stores current step_size.. If you will write in pseudo code:
if (step_size<0.0001) then 
%the function return sth, so it should be stopped or proper value should be returned.
return(0);
it should be working.
So that's all.
Rafał Piotuch                                                
                                                
                            Dear Julien Egger;
sure:) Hope you use Matlab to solve problem, else I don't know how to help you:)
So.. If you use Matlab it is easy to stop simulation manualy- just press ctr+pause/break and the simulation stops after some time - but for sure you want to stop simulation automaticly, without any human control...
When you solve sth. using for example femtime function.. read documentation of such function and read script of this function - there must be a "place" in code that refers to convergance calculation... So there must be a variable that stores current step_size.. If you will write in pseudo code:
if (step_size                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                30 nov 2012, 06:32 GMT-5                            
                        
                        
                                                    look up the global variable "timestep" in the comsol documentation. It does exactly what you want :)                                                
                                                
                            look up the global variable "timestep" in the comsol documentation. It does exactly what you want :)