Robert Koslover
                                                                                                                                                    Certified Consultant
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                5 years ago                            
                            
                                8 apr 2021, 10:23 GMT-4                            
                        
                        Updated:
                            
                                5 years ago                            
                            
                                8 apr 2021, 10:24 GMT-4                            
                        
                        
                                                    I suggest you integrate a Boolean expression across a larger volume that includes the volume of interest to you.  You need to set up your Boolean expression to evaluate to 1 (aka, true) wherever the quantity of interest to you falls within the desired range of values, and 0 (aka, false) wherever the quantity of interest to you falls outside of the desired range of values.  Integration can be done via post-processing under Results, or can be set up as a probe.
    -------------------
    Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara                                                 
                                                
                            I suggest you integrate a Boolean expression across a larger volume that includes the volume of interest to you.  You need to set up your Boolean expression to evaluate to 1 (aka, true) wherever the quantity of interest to you falls within the desired range of values, and 0 (aka, false) wherever the quantity of interest to you falls outside of the desired range of values.  Integration can be done via post-processing under Results, or can be set up as a probe.                        
                                                
                                                                                                            
                                             
                        
                        
                            
                                                                                        
                                Gunnar Andersson
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                5 years ago                            
                            
                                9 apr 2021, 06:56 GMT-4                            
                        
                        
                                                    Robert's advice is the right solution in 5.3a.
In 5.5 and 5.6 you can get a more accurate result by creating a Filter dataset that extracts the region of interest and integrating 1 over the Filter dataset.
                                                 
                                                
                            Robert's advice is the right solution in 5.3a.
In 5.5 and 5.6 you can get a more accurate result by creating a Filter dataset that extracts the region of interest and integrating 1 over the Filter dataset.