Jeff Hiller
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                4 years ago                            
                            
                                2021/09/28 14:03 GMT-4                            
                        
                        Updated:
                            
                                4 years ago                            
                            
                                2021/09/28 14:12 GMT-4                            
                        
                        
                                                    Hello Shirin,
By all appearances, intop1 is the integration operator, which here is applied to the quantity cm. From that, you are subtracting cref times L, and I imagine that L is the length of the 1D domain on which you set up the integration operator and that cref is some reference value for cm. If those guesses are correct, your formula is computing not the integral of cm but that of cm minus cref, and you could have achieved the same by intop1(cm-cref); that formula would hold in 2D and 3D as well.
If you have not worked with coupling operators before, you can read about them in the Reference Manual for COMSOL Multiphysics, version 5.6, page 360.
Best,
Jeff
    -------------------
    Jeff Hiller                                                
 
                                                
                            Hello Shirin,
By all appearances, intop1 is the integration operator, which here is applied to the quantity cm. From that, you are subtracting cref times L, and I imagine that L is the length of the 1D domain on which you set up the integration operator and that cref is some reference value for cm. If those guesses are correct, your formula is computing not the integral of cm but that of cm minus cref, and you could have achieved the same by intop1(cm-cref); that formula would hold in 2D and 3D as well.
If you have not worked with coupling operators before, you can read about them in the Reference Manual for COMSOL Multiphysics, version 5.6, page 360.
Best,
Jeff