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:
                            
                                2 decades ago                            
                            
                                2010/04/30 2:00 GMT-4                            
                        
                        
                                                    Hi
in a general sense you can have COMSOL to minimise a "user define global variable" during it's solving process, so you could define a condition that is such that your sum of the current  = 0 in a particular subdomain.
I'm not sure it will solve your issue, but it is very powerfull for design optimising, there are more on that in the doc, try an idexed search for "global variables", or look at the torque/moment  example in the structural user guide
Have fun Comsoling
Ivar                                                
                                                
                            Hi
in a general sense you can have COMSOL to minimise a "user define global variable" during it's solving process, so you could define a condition that is such that your sum of the current  = 0 in a particular subdomain.
I'm not sure it will solve your issue, but it is very powerfull for design optimising, there are more on that in the doc, try an idexed search for "global variables", or look at the torque/moment  example in the structural user guide
Have fun Comsoling
Ivar                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                2010/05/01 5:32 GMT-4                            
                        
                        
                                                    hi ivar,
thx for your answer, but i diddnt find the torque/moment example in the modell libary. Where is it? Furthermore in the indexed search isn't a entry about the globa variable.
greetings
Alexander                                                
                                                
                            hi ivar,
thx for your answer, but i diddnt find the torque/moment example in the modell libary. Where is it? Furthermore in the indexed search isn't a entry about the globa variable.
greetings
Alexander                        
                                                
                                                                                                            
                                             
                                            
                            
                                                                                        
                                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:
                            
                                2 decades ago                            
                            
                                2010/05/01 5:42 GMT-4                            
                        
                        
                                                    Hi
sorry to confuse you its in the smeug.pdf p69 of v3.5a, but there are a couple of discussions on the forum too
Ivar                                                
                                                
                            Hi
sorry to confuse you its in the smeug.pdf p69 of v3.5a, but there are a couple of discussions on the forum too
Ivar                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                2010/05/01 9:36 GMT-4                            
                        
                        
                                                    Ahh okay thx .. 
Greetings 
Alexander                                                 
                                                
                            Ahh okay thx .. 
Greetings 
Alexander