Henrik Sönnerlind
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                7 years ago                            
                            
                                2019年4月2日 GMT+8 19:37                            
                        
                        
                                                    Hi,
More elegant is to use the built in time derivative of the temperature, 'Tt'.
Regards,
Henrik
    -------------------
    Henrik Sönnerlind
COMSOL                                                
 
                                                
                            Hi,
More elegant is to use the built in time derivative of the temperature, 'Tt'.
Regards,  
Henrik                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                7 years ago                            
                            
                                2019年4月3日 GMT+8 20:30                            
                        
                        
                                                    Hi,
thank you for your answer. But I still have a similar problem: Variable Tt cannot be evaluated.
The problem is in the first step I think. I do have the starting temperature T at t=0 for all points in x,y,z.
The problem was with the older method using prev() that I could not evaluate dT/dt  at the first point as I do not have enough Data. I think this time I have a similar problem. If necessarily could even provide an initial value for Tt, if I would know where to assign the initial value of Tt.
Currently I do have an analytic function defined in the components and I just used Tt for the cooling rate.
Kind regards,
Christian
                                                 
                                                
                            Hi,
thank you for your answer. But I still have a similar problem: Variable Tt cannot be evaluated.
The problem is in the first step I think. I do have the starting temperature T at t=0 for all points in x,y,z.
The problem was with the older method using prev() that I could not evaluate dT/dt  at the first point as I do not have enough Data. I think this time I have a similar problem. If necessarily could even provide an initial value for Tt, if I would know where to assign the initial value of Tt.
Currently I do have an analytic function defined in the components and I just used Tt for the cooling rate.
Kind regards,
Christian                        
                                                
                                                                                                            
                                             
                                            
                            
                                                                                        
                                Henrik Sönnerlind
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                7 years ago                            
                            
                                2019年4月3日 GMT+8 22:53                            
                        
                        
                                                    Hi Christian,
What study type (and settings) are you using?
Regards,
Henrik
    -------------------
    Henrik Sönnerlind
COMSOL                                                
 
                                                
                            Hi Christian,
What study type (and settings) are you using?
Regards,  
Henrik                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                7 years ago                            
                            
                                2019年4月3日 GMT+8 23:05                            
                        
                        
                                                    Hi Henrik,
My Study looks like this:
I am using an optimization and as Step 1 I use a Time Dependent Study Step.
In the Solver Configurations the optimization solver is also time dependent.
The error appears in the optimization solver (as I use my function as an Objective for my optimization).
Kind regards,
Christian
                                                 
                                                
                            Hi Henrik,
My Study looks like this:
I am using an optimization and as Step 1 I use a Time Dependent Study Step.
In the Solver Configurations the optimization solver is also time dependent.
The error appears in the optimization solver (as I use my function as an Objective for my optimization).
Kind regards,
Christian                        
                                                
                                                                                                            
                                             
                        
                        
                            
                                                                                        
                                Henrik Sönnerlind
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                7 years ago                            
                            
                                2019年4月5日 GMT+8 14:57                            
                        
                        
                                                    Hi Christian,
I think you should either contact support, or upload a simplified version of your model here.
Regards,
Henrik
    -------------------
    Henrik Sönnerlind
COMSOL                                                
 
                                                
                            Hi Christian,
I think you should either contact support, or upload a simplified version of your model here.
Regards,  
Henrik