Faisal Khan
                                                                                                                                                    Computational Fluid Dynamics
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                4 years ago                            
                            
                                2022/01/11 0:57 GMT-5                            
                        
                        Updated:
                            
                                4 years ago                            
                            
                                2022/01/11 1:01 GMT-5                            
                        
                        
                                                    Here is the attached geometry with broader left side boundary is oil inlet and narrower vertical is water inlet. I want to input the following formula in local variable as attached in jpeg 2. It is giving me unit syntax error. I am unable to understand where is the mistake. In attached jpeg 3, I defined the globlal variables and some dimensions of the geometry. L is the channel length (800 micrometer). Experts, please help me.
    -------------------
    Faisal Khan                                                
 
                                                
                            Here is the attached geometry with broader left side boundary is oil inlet and narrower vertical is water inlet. I want to input the following formula in local variable as attached in jpeg 2. It is giving me unit syntax error. I am unable to understand where is the mistake. In attached jpeg 3, I defined the globlal variables and some dimensions of the geometry. L is the channel length (800 micrometer). Experts, please help me.                        
                                                
                        
                                                
                                                                                                            
                                             
                                            
                            
                                                                                        
                                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:
                            
                                4 years ago                            
                            
                                2022/01/11 5:48 GMT-5                            
                        
                        
                                                    Hi,
I believe its a unit warning, as COMSOL has issues with fractional powers of units. Try to set your logic expressions in "unitless values" of the type (x[1/m] < L[1/m]) if L is defined with units, else just drop the units for your "parameter " (?) L .
Check if that helps.
Note a unit warning is not considered as an error, and calulation will go on, but it is a potential error, so the results might be wrong ...
Sincerely
Ivar
    -------------------
    Have fun COMSOLing,
Sincerely,  
Ivar                                                
 
                                                
                            Hi,
I believe its a unit warning, as COMSOL has issues with fractional powers of units. Try to set your logic expressions in "unitless values" of the type (x[1/m] < L[1/m]) if L is defined with units, else just drop the units for your "parameter " (?) L .
Check if that helps.
Note a unit warning is not considered as an error, and calulation will go on, but it is a potential error, so the results might be wrong ...
Sincerely
Ivar                        
                                                
                                                                                                            
                                             
                        
                        
                            
                                                                                        
                                Faisal Khan
                                                                                                                                                    Computational Fluid Dynamics
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                4 years ago                            
                            
                                2022/01/13 1:02 GMT-5                            
                        
                        
                                                    Thank you so much Dr. Ivar.
    -------------------
    Faisal Khan                                                
 
                                                
                            Thank you so much Dr. Ivar.