Jeff Hiller
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                31 janv. 2017, 16:02 UTC−5                            
                        
                        
                                                    Hello Hamed,
To avoid having to re-solve the model, after you add the line you need to use "Update solution" instead of "Compute". Then compute the line average the usual way.
Best,
Jeff                                                
                                                
                            Hello Hamed,
To avoid having to re-solve the model, after you add the line you need to use "Update solution" instead of "Compute". Then compute the line average the usual way.
Best,
Jeff                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                14 févr. 2017, 18:00 UTC−5                            
                        
                        
                                                    Thank you Jeff for the answer.
My question was how to define a line in the domain so I can select it in the line average?
Thanks,
Hamed                                                
                                                
                            Thank you Jeff for the answer.
My question was how to define a line in the domain so I can select it in the line average?
Thanks,
Hamed                        
                                                
                                                                                                            
                                             
                                            
                            
                                                                                        
                                Gunnar Andersson
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                15 févr. 2017, 02:49 UTC−5                            
                        
                        
                                                    
My question was how to define a line in the domain so I can select it in the line average?
I suggest that you create a Cut Line data set.
                                                
 
                                                
                            [QUOTE]
My question was how to define a line in the domain so I can select it in the line average?
[/QUOTE]
I suggest that you create a Cut Line data set.
                        
                                                
                                                                                                            
                                             
                                            
                            
                                                                                        
                                Jeff Hiller
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                15 févr. 2017, 08:51 UTC−5                            
                        
                        
                                                    Indeed, Gunnar's solution is better than mine. 
If for some reason you still decide to do it the way I mentioned above, just draw the line like you draw any line in COMSOL: in the Geometry branch of the Model Builder tree use a Polygon of the Open Curve type.
Best,
Jeff                                                
                                                
                            Indeed, Gunnar's solution is better than mine. 
If for some reason you still decide to do it the way I mentioned above, just draw the line like you draw any line in COMSOL: in the Geometry branch of the Model Builder tree use a Polygon of the Open Curve type.
Best,
Jeff                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                22 févr. 2017, 21:33 UTC−5                            
                        
                        
                                                    Thank you Gunnar and Jeff.                                                
                                                
                            Thank you Gunnar and Jeff.