Walter Frei
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                2015/10/06 9:23 GMT-4                            
                        
                        
                                                
                            Hello,
You may want to look at this material, it may point you towards an alternative approach to what you are attempting:
http://www.comsol.com/blogs/implementing-a-thermostat-with-the-events-interface/
http://www.comsol.com/blogs/using-the-previous-solution-operator-in-transient-modeling/
http://www.comsol.com/blogs/tracking-material-damage-with-the-previous-solution-operator/                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                2015/10/06 9:45 GMT-4                            
                        
                        
                                                    Alright thanks :)                                                
                                                
                            Alright thanks :)                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                2015/10/07 0:49 GMT-4                            
                        
                        
                                                    If I  want to apply a specific ODE  in the region with temperature < 272K, like du/dt = F, but in other region where T>272, I wish to  implement another ODE, du/dt=0. This means that depending on the temperature in that particular region, the ODE will switch. Can this be done in comsol?
Thanks                                                
                                                
                            If I  want to apply a specific ODE  in the region with temperature < 272K, like du/dt = F, but in other region where T>272, I wish to  implement another ODE, du/dt=0. This means that depending on the temperature in that particular region, the ODE will switch. Can this be done in comsol?
Thanks                        
                                                
                                                                                                            
                                             
                        
                        
                            
                                                                                        
                                Gunnar Andersson
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                2015/10/07 4:50 GMT-4                            
                        
                        
                                                    Use the following expression in the Source Term in the Distributed ODE node: ut-if(T<272,F,0)
                                                
                                                
                            Use the following expression in the Source Term in the Distributed ODE node: ut-if(T