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:
                            
                                2 decades ago                            
                            
                                30.06.2010, 01:35 GMT-4                            
                        
                        
                                                    Hi
If you are talking abouit the position of a "max" or "min" value, I believe in 3.5a we do not get any other feedback than the "point" shown on the graph. You must use matlab, I beleive, to extract it's location.
In V4 you have operators, but I do not believe they give you the poition.
but on the other hand, COMSOL is a math tool, you can define the average radius as a variable, then have COMSOL to derive it and find the zero that should give you the location, no ?
Good luck
Ivar                                                
                                                
                            Hi
If you are talking abouit the position of a "max" or "min" value, I believe in 3.5a we do not get any other feedback than the "point" shown on the graph. You must use matlab, I beleive, to extract it's location.
In V4 you have operators, but I do not believe they give you the poition.
but on the other hand, COMSOL is a math tool, you can define the average radius as a variable, then have COMSOL to derive it and find the zero that should give you the location, no ?
Good luck
Ivar                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                30.06.2010, 03:25 GMT-4                            
                        
                        
                                                    Hello,
Actually my problem is a bit simpler : I don't want to find a max or min position, I'm interested in exporting the radius in a specific spot, but I don't know how to tell Comsol to do that.
Thanks for the reply anyway                                                
                                                
                            Hello,
Actually my problem is a bit simpler : I don't want to find a max or min position, I'm interested in exporting the radius in a specific spot, but I don't know how to tell Comsol to do that.
Thanks for the reply anyway                        
                                                
                                                                                                            
                                             
                                            
                            
                                                                                        
                                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:
                            
                                2 decades ago                            
                            
                                30.06.2010, 15:41 GMT-4                            
                        
                        
                                                    Hi
Well the radius is linked to the second derivative (locally) or you can, for a cylinder calculate the average radius by integrating over a loop. 
Something like, if the cylinder axis is along Z, you define the variable 
Rxy=sqrt(x^2+y^2)
and
Rxuyv=sqrt((x+u)^2+(y+v)^2) 
and integrate these for different heights Z. 
To define the loop Z height, either you split up your volume/domain to have edges to integrate along, or I believe (would have to try/check) that in V4 you can define split surfaces and integrate along these border.
test it carefully first, these are ideas I come to, as first thoughts, to be verified.
good luck
Ivar                                                
                                                
                            Hi
Well the radius is linked to the second derivative (locally) or you can, for a cylinder calculate the average radius by integrating over a loop. 
Something like, if the cylinder axis is along Z, you define the variable 
Rxy=sqrt(x^2+y^2)
and
Rxuyv=sqrt((x+u)^2+(y+v)^2) 
and integrate these for different heights Z. 
To define the loop Z height, either you split up your volume/domain to have edges to integrate along, or I believe (would have to try/check) that in V4 you can define split surfaces and integrate along these border.
test it carefully first, these are ideas I come to, as first thoughts, to be verified.
good luck
Ivar                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                01.07.2010, 06:18 GMT-4                            
                        
                        
                                                    Hello,
Thanks for the answer.
I've managed to get what I wanted, here is how I did it :
Using the *Integration Coupling Variables > Boundary Variables* under the *Options* menu, I got back the radius change, integrating the following expression over the top side of the cylinder :
dR = -d(uaxi_smaxi,r)
Thus I have the radius over time by subtracting dR to my initial radius.
I've set up a Point variable integration too, in order to have the variation of height over time, by defining :
dH = -w 
on one of the top corners of my cylinder (which is a square, given the model is in a 2-D, axial-symmetric mode).
And thus I can have the height over time by subtracting dH to the initial height.
I've a couple more variables defined, for various needs, and it seems to work pretty well.
Thanks for your interest in this matter Ivar, it was much appreciated.
Y.                                                
                                                
                            Hello,
Thanks for the answer.
I've managed to get what I wanted, here is how I did it :
Using the *Integration Coupling Variables > Boundary Variables* under the *Options* menu, I got back the radius change, integrating the following expression over the top side of the cylinder :
dR = -d(uaxi_smaxi,r)
Thus I have the radius over time by subtracting dR to my initial radius.
I've set up a Point variable integration too, in order to have the variation of height over time, by defining :
dH = -w 
on one of the top corners of my cylinder (which is a square, given the model is in a 2-D, axial-symmetric mode).
And thus I can have the height over time by subtracting dH to the initial height.
I've a couple more variables defined, for various needs, and it seems to work pretty well.
Thanks for your interest in this matter Ivar, it was much appreciated.
Y.