Sven Friedel
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                7 years ago                            
                            
                                6 juil. 2018, 11:13 UTC−4                            
                        
                        
                                                    Hi Zhidong,
you could use particle tracing to do that. A particle can integrate everything along its path.
Sven
                                                 
                                                
                            Hi Zhidong,
you could use particle tracing to do that. A particle can integrate everything along its path.
Sven                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                7 years ago                            
                            
                                9 juil. 2018, 07:28 UTC−4                            
                        
                        
                                                    
  Hi Zhidong,
  you could use particle tracing to do that. A particle can integrate everything along its path.
  Sven
Hi Sven,
Thanks for your suggestion. 
Particle tracing is a module. Do I need to add it as a physics and simulate particle transport?
If you have time, could you please provide a bit more information? 
Thanks in advance. 
Best,
Zhidong
                                                 
                                                
                            >Hi Zhidong,
>you could use particle tracing to do that. A particle can integrate everything along its path.
>Sven
Hi Sven,
Thanks for your suggestion. 
Particle tracing is a module. Do I need to add it as a physics and simulate particle transport?
If you have time, could you please provide a bit more information? 
Thanks in advance. 
Best,
Zhidong 
                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                7 years ago                            
                            
                                11 juil. 2018, 03:41 UTC−4                            
                        
                        
                                                    Hi Sven,
I could not figure out how to use particle tracing to solve my problem. Now, I can use Matlab to do the averaging calculation after exporting data from Comsol.
I have one more question about how to export data for a specific region. I tried to use Grid 2D, but it only works for 'Globally defined expressions'. When I choose the dependent variable (concentration), it gives an error message 'Undefined variable'. Are there other ways I can do this?
Thansk!!
                                                 
                                                
                            Hi Sven,
I could not figure out how to use particle tracing to solve my problem. Now, I can use Matlab to do the averaging calculation after exporting data from Comsol. 
I have one more question about how to export data for a specific region. I tried to use Grid 2D, but it only works for 'Globally defined expressions'. When I choose the dependent variable (concentration), it gives an error message 'Undefined variable'. Are there other ways I can do this?
Thansk!!