Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                6 years ago                            
                            
                                2019年11月15日 GMT+8 20:34                            
                        
                        
                                                    What is the dweak form?
    -------------------
    ZHANG, Pu
School of Physics, 
Huazhong University of Science and Technology                                                
 
                                                
                            What is the dweak form?                         
                                                
                                                                                                            
                                             
                        
                        
                            
                                                                                        
                                Eric Favre
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                6 years ago                            
                            
                                2019年11月17日 GMT+8 02:28                            
                        
                        Updated:
                            
                                6 years ago                            
                            
                                2019年11月17日 GMT+8 02:28                            
                        
                        
                                                    Hello,
You are right, the "dweak" term was in the past used for entering the time derivative of the unknown for time-dependent problem (there is no mathematical "dweak form", only a "weak form").
The time derivative expression can actually be entered in the "weak" term : COMSOL will detect the time derivative automatically.
So for instance a time-dependent Poisson equation with source = 1 on a 1D segment along direction x reads :
weak = ux * test(ux) - 1 * test(u) - d(u,t) * test(u)
d(u,t) is the time derivative.
you need to add boundary conditions of course.
"weak" means : integration over the selected domain (or the boundary, depending where you write the equation).
The order of the terms does not matter.
So whatever was written in the "dweak" term in old versions, you can enter it in the "weak" term without any problem.
You can find more advanced details in the documentation.
Eric Favre
COMSOL France
    -------------------
    Eric Favre
COMSOL France                                                
 
                                                
                            Hello,
You are right, the "dweak" term was in the past used for entering the time derivative of the unknown for time-dependent problem (there is no mathematical "dweak form", only a "weak form").  
The time derivative expression can actually be entered in the "weak" term : COMSOL will detect the time derivative automatically.  
So for instance a time-dependent Poisson equation with source = 1 on a 1D segment along direction x reads :  
weak = ux * test(ux) - 1 * test(u) - d(u,t) * test(u)   
d(u,t) is the time derivative.  
you need to add boundary conditions of course.  
"weak" means : integration over the selected domain (or the boundary, depending where you write the equation).  
The order of the terms does not matter.  
So whatever was written in the "dweak" term in old versions, you can enter it in the "weak" term without any problem.  
You can find more advanced details in the documentation.  
  
Eric Favre
COMSOL France