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                            
                            
                                24.11.2011, 10:47 GMT-5                            
                        
                        
                                                    Hi
the at() and with() and a few others are pure postprocessing operators (it's mentioned in the doc) not to be used in the solving process
One way around I have just tried in another case is to run a first simulation, then extract the results to a txt file, that I upload into a "int() interpolation function and use in a second simulation run. but it's all manual and slightly cumbersome
In v4.2a there are several new operators, take a close look into "operators" in the help files I havent had time yet to study all these new goodies
--
Good luck
Ivar                                                
                                                
                            Hi
the at() and with() and a few others are pure postprocessing operators (it's mentioned in the doc) not to be used in the solving process
One way around I have just tried in another case is to run a first simulation, then extract the results to a txt file, that I upload into a "int() interpolation function and use in a second simulation run. but it's all manual and slightly cumbersome
In v4.2a there are several new operators, take a close look into "operators" in the help files I havent had time yet to study all these new goodies
--
Good luck
Ivar                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                28.11.2011, 12:06 GMT-5                            
                        
                        
                                                    Dear Ivar,
there is indeed a new operator which is timeavg(...), and which does exactely what I want, but again, it is written, that the timeavg operator can only be used during results evaluation, so it should not be used when setting up the model.
Is there an other way to implement a moving average and be able to use it as in INPUT?
thanks
Alain                                                
                                                
                            Dear Ivar,
there is indeed a new operator which is timeavg(...), and which does exactely what I want, but again, it is written, that the timeavg operator can only be used during results evaluation, so it should not be used when setting up the model.
Is there an other way to implement a moving average and be able to use it as in INPUT?
thanks
Alain                        
                                                
                                                                                                            
                                             
                        
                        
                            
                                                                                        
                                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                            
                            
                                29.11.2011, 01:51 GMT-5                            
                        
                        
                                                    Hi
not really then, but perhaps you can re-express your equations by adding a new variable and integrate that one, hence getting something as a time average
--
Good luck
Ivar                                                
                                                
                            Hi
not really then, but perhaps you can re-express your equations by adding a new variable and integrate that one, hence getting something as a time average
--
Good luck
Ivar