Magnus Ringh
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 years ago                            
                            
                                05.01.2024, 02:53 GMT-5                            
                        
                        
                                                    Hi Duanhui,
Yes, Update Solution is not applicable in this situation. From the COMSOL documentation:
Updating the solution updates the current study (if selected) or all studies if no study is selected. This is useful in the following situations when you have:
- Added or edited variables or parameters and want to use these during postprocessing without having to solve the model again.
- Changed the element order and want to interpolate the solution onto the new elements for results analysis or other purposes.
- Remeshed or modified a geometry and want to interpolate the solution onto the new geometry for results analysis or other purposes.
In all these cases, the COMSOL software passes or interpolates the solution to the resulting datasets but does not recompute it to reflect any changes in variables, equations, mesh, or geometry.
If you make changes to the model that affect the solution, you must recompute the solution; just updating the solution does not take such changes into account.
Best regards,
Magnus
                                                 
                                                
                            Hi Duanhui,
Yes, Update Solution is not applicable in this situation. From the COMSOL documentation:
Updating the solution updates the current study (if selected) or all studies if no study is selected. This is useful in the following situations when you have:
* Added or edited variables or parameters and want to use these during postprocessing without having to solve the model again.
*  Changed the element order and want to interpolate the solution onto the new elements for results analysis or other purposes.
*  Remeshed or modified a geometry and want to interpolate the solution onto the new geometry for results analysis or other purposes.
In all these cases, the COMSOL software passes or interpolates the solution to the resulting datasets but does not recompute it to reflect any changes in variables, equations, mesh, or geometry.
If you make changes to the model that affect the solution, you must recompute the solution; just updating the solution does not take such changes into account.
Best regards,
Magnus                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 years ago                            
                            
                                05.01.2024, 10:49 GMT-5                            
                        
                        Updated:
                            
                                2 years ago                            
                            
                                05.01.2024, 10:46 GMT-5                            
                        
                        
                                                    
  Hi Duanhui,
  
  Yes, Update Solution is not applicable in this situation. From the COMSOL documentation:
  
  Updating the solution updates the current study (if selected) or all studies if no study is selected. This is useful in the following situations when you have:
  
  
  - Added or edited variables or parameters and want to use these during postprocessing without having to solve the model again.
- Changed the element order and want to interpolate the solution onto the new elements for results analysis or other purposes.
- Remeshed or modified a geometry and want to interpolate the solution onto the new geometry for results analysis or other purposes.
In all these cases, the COMSOL software passes or interpolates the solution to the resulting datasets but does not recompute it to reflect any changes in variables, equations, mesh, or geometry.
  
  If you make changes to the model that affect the solution, you must recompute the solution; just updating the solution does not take such changes into account.
  
  Best regards,
  
  Magnus
Thank you Magnus.
You cleared my confusion.
May I ask if I want to take advantages on the solution from step 1 to get results of the increased time steps, what will be the right approach?
My goal is to save the time for comsol to get an initial solution, which seems to take the most of the time.
Is there a blog or reference I can learn from?
Thank you!
                                                 
                                                
                            >Hi Duanhui,
>
>Yes, Update Solution is not applicable in this situation. From the COMSOL documentation:
>
>Updating the solution updates the current study (if selected) or all studies if no study is selected. This is useful in the following situations when you have:
>
>* Added or edited variables or parameters and want to use these during postprocessing without having to solve the model again.
>*  Changed the element order and want to interpolate the solution onto the new elements for results analysis or other purposes.
>*  Remeshed or modified a geometry and want to interpolate the solution onto the new geometry for results analysis or other purposes.
>
>In all these cases, the COMSOL software passes or interpolates the solution to the resulting datasets but does not recompute it to reflect any changes in variables, equations, mesh, or geometry.
>
>If you make changes to the model that affect the solution, you must recompute the solution; just updating the solution does not take such changes into account.
>
>Best regards,
>
>Magnus
Thank you Magnus.
You cleared my confusion.
May I ask if I want to take advantages on the solution from step 1 to get results of the increased time steps, what will be the right approach?
My goal is to save the time for comsol to get an initial solution, which seems to take the most of the time.
Is there a blog or reference I can learn from?
Thank you!                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 years ago                            
                            
                                05.01.2024, 15:05 GMT-5                            
                        
                        
                                                    Dear Duanhui,
You should create a new study and set the initial values of the variables to be solved to the solutions you have already obtained (this option is located in the "Values of Dependent Variables " section of the study).
Best,
Jake
                                                 
                                                
                            Dear Duanhui, 
You should create a new study and set the initial values of the variables to be solved to the solutions you have already obtained (this option is located in the "Values of Dependent Variables " section of the study).
Best,  
Jake                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 years ago                            
                            
                                05.01.2024, 20:04 GMT-5                            
                        
                        Updated:
                            
                                2 years ago                            
                            
                                05.01.2024, 20:04 GMT-5                            
                        
                        
                                                    
  Dear Duanhui,
  
  You should create a new study and set the initial values of the variables to be solved to the solutions you have already obtained (this option is located in the "Values of Dependent Variables " section of the study).
  
  Best,
  Jake
Got it.
That makes sense.
Thank you Jake!
                                                 
                                                
                            >Dear Duanhui, 
>
>You should create a new study and set the initial values of the variables to be solved to the solutions you have already obtained (this option is located in the "Values of Dependent Variables " section of the study).
>
>Best,  
>Jake
Got it.
That makes sense.
Thank you Jake!