Henrik Sönnerlind
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                2 mai 2013, 17:03 UTC−4                            
                        
                        
                                                    Hi,
There is no restriction in the base vector system. Actually it is more general than most users want or need, since it can define non-orthogonal axes and axes which do not have unit length. But to make proper use of that, you have to be familiar with tensor calculus in non-orthogonal systems.
The simplest way of defining a pure rotation in the e.g. the xy plane is to fill in the cells with
cos(angle) sin(angle) 0
-sin(angle) cos(angle) 0
0 0 1
where angle can be a parameter for easy modification. In 2D only the upper left 2x2 matrix is needed.
For efficiency, select the "Assume orthonormal" checkbox.
In your case it may however be even easier to use a "Rotated system" Instead of the Base vector system.
Regards,
Henrik
                                                
                                                
                            Hi,
There is no restriction in the base vector system. Actually it is more general than most users want or need, since it can define non-orthogonal axes and axes which do not have unit length. But to make proper use of that, you have to be familiar with tensor calculus in non-orthogonal systems.
The simplest way of defining a pure rotation in the e.g. the xy plane is to fill in the cells with
cos(angle) sin(angle) 0
-sin(angle) cos(angle) 0
0 0 1
where angle can be a parameter for easy modification. In 2D only the upper left 2x2 matrix is needed.
For efficiency, select the "Assume orthonormal" checkbox.
In your case it may however be even easier to use a "Rotated system" Instead of the Base vector system.
Regards,
Henrik
                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                15 mai 2013, 17:04 UTC−4                            
                        
                        
                                                    Thanks alot, that was exactly what I needed!!                                                
                                                
                            Thanks alot, that was exactly what I needed!!                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                14 août 2013, 17:30 UTC−4                            
                        
                        
                                                    Hi All
I have a little problem with coordinate transformation using the Base vector coordinate system.
When I'm changing the coordinates e.g. from x,y,z to ------>>>> x1,y1,z1 as below:
x1=n1*(fxx*x+fxy*y+fxz*z)+n2*(fyx*x+fyy*y+fyz*z)+n3*(fzx*x+fzy*y+fzz*z)
x2=a1*(fxx*x+fxy*y+fxz*z)+a2*(fyx*x+fyy*y+fyz*z)+a3*(fzx*x+fzy*y+fzz*z)
x3=b1*(fxx*x+fxy*y+fxz*z)+b2*(fyx*x+fyy*y+fyz*z)+b3*(fzx*x+fzy*y+fzz*z)
Nothing changes in the equation view under Base Vector System!
I was just wondering why the expressions  in the equation view for sys2.T11=sys2.T22=sys3.T33=1   &  sys2.T12=sys2.T13=....=0
???
                                                
                                                
                            Hi All
I have a little problem with coordinate transformation using the Base vector coordinate system.
When I'm changing the coordinates e.g. from x,y,z to ------>>>> x1,y1,z1 as below:
x1=n1*(fxx*x+fxy*y+fxz*z)+n2*(fyx*x+fyy*y+fyz*z)+n3*(fzx*x+fzy*y+fzz*z)
x2=a1*(fxx*x+fxy*y+fxz*z)+a2*(fyx*x+fyy*y+fyz*z)+a3*(fzx*x+fzy*y+fzz*z)
x3=b1*(fxx*x+fxy*y+fxz*z)+b2*(fyx*x+fyy*y+fyz*z)+b3*(fzx*x+fzy*y+fzz*z)
Nothing changes in the equation view under Base Vector System!
I was just wondering why the expressions  in the equation view for sys2.T11=sys2.T22=sys3.T33=1   &  sys2.T12=sys2.T13=....=0
???