Daniel Smith
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                Dec 12, 2016, 2:25 p.m. EST                            
                        
                        
                                                    Hi Matthew, there is an example model and app which sounds quite close to what you want:
www.comsol.com/blogs/modeling-beam-neutralization-with-a-charge-exchange-cell/
www.comsol.com/model/neutralization-of-a-proton-beam-through-a-charge-exchange-cell-16631
The Free Molecular Flow interface (Molecular Flow Module) computes the number density in the chamber, and the Charged Particle Tracing interface (Particle Tracing Module) is used to compute the trajectory of the charged and neutral beam.
Dan                                                
 
                                                
                            Hi Matthew, there is an example model and app which sounds quite close to what you want:
https://www.comsol.com/blogs/modeling-beam-neutralization-with-a-charge-exchange-cell/
https://www.comsol.com/model/neutralization-of-a-proton-beam-through-a-charge-exchange-cell-16631
The Free Molecular Flow interface (Molecular Flow Module) computes the number density in the chamber, and the Charged Particle Tracing interface (Particle Tracing Module) is used to compute the trajectory of the charged and neutral beam.
Dan                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                Dec 12, 2016, 3:12 p.m. EST                            
                        
                        
                                                    Dan,
Thanks for your reply. This looks like something I can adapt for my situation. I'll try it out.
Thanks for the suggestion!                                                
                                                
                            Dan,
Thanks for your reply. This looks like something I can adapt for my situation. I'll try it out.
Thanks for the suggestion!                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                Dec 13, 2016, 10:18 a.m. EST                            
                        
                        
                                                    Hi Dan,
I had a look at the model you suggested and it looks like it pointed me in the right direction. To start off with, I have set up a basic "particle tracing for fluid flow" physics node, but it's the first time I've tried it and I am getting mixed results.
The first attached image shows an attempt at replicating the "beaming" effect which I have been able to produce using a very similar geometry in MOLFLOW (
molflow.web.cern.ch/). As you can see, most of the collisions are handled fine, but there is one particle which (after several reflections on other faces) passes straight through one of the walls. The second image shows a later timestep, after which several other particles show the same behaviour.
For this test, all walls are set to "Diffuse scattering" with wall accuracy of order 2. The colour scale for the images corresponds to the particle velocity, which is set to Maxwellian.
I'm not sure what the  cause of this behaviour is, but it is clearly unphysical and since I'm interested in transmission through the narrow channel, it's quite annoying! I've tried lots of different mesh sizes and time steps but the problem seems to persist. Do I simply need to find the right parameters, or is something else in play here?
The model file (mesh + results cleared for file size reasons- settings as-is take 10s to run on my machine) is attached.                                                
 
                                                
                            Hi Dan,
I had a look at the model you suggested and it looks like it pointed me in the right direction. To start off with, I have set up a basic "particle tracing for fluid flow" physics node, but it's the first time I've tried it and I am getting mixed results.
The first attached image shows an attempt at replicating the "beaming" effect which I have been able to produce using a very similar geometry in MOLFLOW (https://molflow.web.cern.ch/). As you can see, most of the collisions are handled fine, but there is one particle which (after several reflections on other faces) passes straight through one of the walls. The second image shows a later timestep, after which several other particles show the same behaviour.
For this test, all walls are set to "Diffuse scattering" with wall accuracy of order 2. The colour scale for the images corresponds to the particle velocity, which is set to Maxwellian.
I'm not sure what the  cause of this behaviour is, but it is clearly unphysical and since I'm interested in transmission through the narrow channel, it's quite annoying! I've tried lots of different mesh sizes and time steps but the problem seems to persist. Do I simply need to find the right parameters, or is something else in play here?
The model file (mesh + results cleared for file size reasons- settings as-is take 10s to run on my machine) is attached.