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:
                            
                                1 decade ago                            
                            
                                27 avr. 2011, 01:16 UTC−4                            
                        
                        
                                                    Hi
you have one way by defining an interpolated function from your text data (see the "definitions functions" node), then  you must decide if you know the coordinates or if its along the arc length, and you refer to this function in your BC.
The BC are applied to all mesh elements, using the default x,y,z coordinates of each element to extract the correct value, when referred to this way.
Try it out with a simple equation, lets say a beam along X, with a BC load on the upper surface along -y of Fy = -F0*x where F0 is i.e. a Parameter. Note you must decide on x or X in structural (solid) as one refers to the deformed spatial frame and the upper case to the material frame in v4 (by default, this has changed since v3.5 !)
--
Good luck
Ivar                                                
                                                
                            Hi
you have one way by defining an interpolated function from your text data (see the "definitions functions" node), then  you must decide if you know the coordinates or if its along the arc length, and you refer to this function in your BC.
The BC are applied to all mesh elements, using the default x,y,z coordinates of each element to extract the correct value, when referred to this way.
Try it out with a simple equation, lets say a beam along X, with a BC load on the upper surface along -y of Fy = -F0*x where F0 is i.e. a Parameter. Note you must decide on x or X in structural (solid) as one refers to the deformed spatial frame and the upper case to the material frame in v4 (by default, this has changed since v3.5 !)
--
Good luck
Ivar                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                28 avr. 2011, 13:00 UTC−4                            
                        
                        
                                                    i have tried but getting the following error
Error: 9048
Format of data file is not correct.
It should contain grid and data values separated by lines starting with %.
say my data for interpolation is
x=[0 1...]
y=[0  2...]
data=[10 20 ...]
and this is the data format i have given (like in three column format) , for eg.
%x                     y                    (data)
0                        0                   101
1                        2                    174    
.......       so on...
could you please tell me the format in which ihave to give.....
                                                
                                                
                            i have tried but getting the following error
Error: 9048
Format of data file is not correct.
It should contain grid and data values separated by lines starting with %.
say my data for interpolation is
x=[0 1...]
y=[0  2...]
data=[10 20 ...]
and this is the data format i have given (like in three column format) , for eg.
%x                     y                    (data)
0                        0                   101
1                        2                    174    
.......       so on...
could you please tell me the format in which ihave to give.....