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                            
                            
                                12.03.2010, 15:11 GMT-5                            
                        
                        
                                                    Hi
I do not think you can give an individual element an initial stress, but you can define one for any sub-domain, or you would need to set an initial stress value as a function of rand(x,y) (to be checked), take a look at the "init" tab of the BCs.
You can also do an analysis and save the final state as inital condition for a restart/re-run
To change the stiffness, I beleive you should do as you said, set E to something small (perhaps not true 0)with a bolean condition, take a look at the examples for optimising 2D shapes, there are some good sample cases in there
Good luck
Ivar
                                                
                                                
                            Hi
I do not think you can give an individual element an initial stress, but you can define one for any sub-domain, or you would need to set an initial stress value as a function of rand(x,y) (to be checked), take a look at the "init" tab of the BCs.
You can also do an analysis and save the final state as inital condition for a restart/re-run
To change the stiffness, I beleive you should do as you said, set E to something small (perhaps not true 0)with a bolean condition, take a look at the examples for optimising 2D shapes, there are some good sample cases in there
Good luck
Ivar
                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                12.03.2010, 15:51 GMT-5                            
                        
                        
                                                    
As a sanity check if i generate a data file full of randomly sampled values then insert them as a data file function (somefn(x,y)) then for initial stress I supply that function. Would that put something like my random state onto the sample or will the interpolation and other steps like that turn it to garbage.
                                                
                                                
                            
As a sanity check if i generate a data file full of randomly sampled values then insert them as a data file function (somefn(x,y)) then for initial stress I supply that function. Would that put something like my random state onto the sample or will the interpolation and other steps like that turn it to garbage.
                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                12.03.2010, 15:59 GMT-5                            
                        
                        
                                                    Sorry i just checked it is just rubbish that is generated.                                                
                                                
                            Sorry i just checked it is just rubbish that is generated.                        
                                                
                                                                                                            
                                             
                                            
                            
                                                                                        
                                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                            
                            
                                12.03.2010, 16:16 GMT-5                            
                        
                        
                                                    Hi
shure? did you do an "solve get initial value" ? 
because if I put a displacement initial value of the type v=0.001[1/m]*x^2 for a simple 2D canteliever I get a initial quadratic deformation, so why not for stress ? (I cannot check as I have no ccess to COMSOL just now ;)
Good luck
Ivar
                                                 
                                                
                            Hi
shure? did you do an "solve get initial value" ? 
because if I put a displacement initial value of the type v=0.001[1/m]*x^2 for a simple 2D canteliever I get a initial quadratic deformation, so why not for stress ? (I cannot check as I have no ccess to COMSOL just now ;)
Good luck
Ivar
                         
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                13.03.2010, 07:06 GMT-5                            
                        
                        
                                                    
I think its because my data is very random when comsol tries to interpolate from one random value to the other it creates points that are not from the sampled distribution and makes it more noisy, while the function you are using is quite smooth.
                                                
                                                
                            
I think its because my data is very random when comsol tries to interpolate from one random value to the other it creates points that are not from the sampled distribution and makes it more noisy, while the function you are using is quite smooth.