Sven Friedel
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                10 years ago                            
                            
                                25 feb 2016, 08:34 GMT-5                            
                        
                        
                                                    Dear Balint,
I would recommend havoing a look at the following tutorial model where space and time dependent source functions are explained:
ch.comsol.com/model/laser-heating-of-a-silicon-wafer-13835
Best regards,
Sven                                                
 
                                                
                            Dear Balint,
I would recommend havoing a look at the following tutorial model where space and time dependent source functions are explained:
https://ch.comsol.com/model/laser-heating-of-a-silicon-wafer-13835
Best regards,
Sven                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                10 years ago                            
                            
                                26 feb 2016, 08:37 GMT-5                            
                        
                        
                                                    Dear Sven,
Thanks a lot. I ended up having a "Normal Current Density" defined under my Electric Currents physics and that recognized the x,y,z parametric Gaussian current profile.
However, I have a new problem now. This Normal Current Density object needs a boundary to define
to which surface it is onto which the current should be normal to. When I want to select the surface I want
(a surface boundary from a Metal Domain) it does not allow me to do it. When I add it explicitly, knowing the number of the boundary, it write "not applicable". How can I circumvent this?
Or, perhaps shall I used another type of current density object to put current injection onto a Metal Terminal?
Thanks,
Balint                                                
                                                
                            Dear Sven,
Thanks a lot. I ended up having a "Normal Current Density" defined under my Electric Currents physics and that recognized the x,y,z parametric Gaussian current profile.
However, I have a new problem now. This Normal Current Density object needs a boundary to define
to which surface it is onto which the current should be normal to. When I want to select the surface I want
(a surface boundary from a Metal Domain) it does not allow me to do it. When I add it explicitly, knowing the number of the boundary, it write "not applicable". How can I circumvent this?
Or, perhaps shall I used another type of current density object to put current injection onto a Metal Terminal?
Thanks,
Balint                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                10 years ago                            
                            
                                26 feb 2016, 09:31 GMT-5                            
                        
                        
                                                    Dear Sven,
in the meantime I have another question. I am able to define Gaussian profile for my current density, using the spatial coordinates and during the solution it is correctly picked up because I can see that the "spot" due to the electrical current injection is at the position where I want after solution, and it has the right shape. But I want to add a time dependence to this current too, which does not seem to work.
I add the following expression to my current J:
J = an1(x,y,z)*gp1(t[1/us])
where an1(x,y,z) is my analytical expression for the spatial Gaussian profile (it is a product of 3 one-dimensional Gaussians), 
and gp1(t[1/us]) supposed to be the time dependent part. I hope the units are correct.
Both an1 and gp1 are defined as global functions. But somehow in the solution my conductor Terminal just charges up continuously and therefore does not take into account the time dependent gp1 Gaussian.
If it does pick up the x,y,z spatial part, why it does not pick up the time dependent part? Comsol does not complain and the expression is also not "orange", no warning at all.
Thanks,
Balint
                                                
                                                
                            Dear Sven,
in the meantime I have another question. I am able to define Gaussian profile for my current density, using the spatial coordinates and during the solution it is correctly picked up because I can see that the "spot" due to the electrical current injection is at the position where I want after solution, and it has the right shape. But I want to add a time dependence to this current too, which does not seem to work.
I add the following expression to my current J:
J = an1(x,y,z)*gp1(t[1/us])
where an1(x,y,z) is my analytical expression for the spatial Gaussian profile (it is a product of 3 one-dimensional Gaussians), 
and gp1(t[1/us]) supposed to be the time dependent part. I hope the units are correct.
Both an1 and gp1 are defined as global functions. But somehow in the solution my conductor Terminal just charges up continuously and therefore does not take into account the time dependent gp1 Gaussian.
If it does pick up the x,y,z spatial part, why it does not pick up the time dependent part? Comsol does not complain and the expression is also not "orange", no warning at all.
Thanks,
Balint
                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                10 years ago                            
                            
                                26 feb 2016, 09:40 GMT-5                            
                        
                        
                                                    Sorry, please ignore my last question, I had the units wrong: I should've put 1/ns instead of 1/us.
Balint                                                 
                                                
                            Sorry, please ignore my last question, I had the units wrong: I should've put 1/ns instead of 1/us.
Balint                         
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                10 years ago                            
                            
                                26 feb 2016, 09:43 GMT-5                            
                        
                        
                                                    Dear Sven,
it seems I managed to circumvent this problem by using an External Current Density and selecting the Domain of my choice. Then the parametric Gaussian analytical spatial function takes care of positioning the injected pulse to the write place.
Best,
Balint
Dear Sven,
Thanks a lot. I ended up having a "Normal Current Density" defined under my Electric Currents physics and that recognized the x,y,z parametric Gaussian current profile.
However, I have a new problem now. This Normal Current Density object needs a boundary to define
to which surface it is onto which the current should be normal to. When I want to select the surface I want
(a surface boundary from a Metal Domain) it does not allow me to do it. When I add it explicitly, knowing the number of the boundary, it write "not applicable". How can I circumvent this?
Or, perhaps shall I used another type of current density object to put current injection onto a Metal Terminal?
Thanks,
Balint
                                                 
                                                
                            Dear Sven,
it seems I managed to circumvent this problem by using an External Current Density and selecting the Domain of my choice. Then the parametric Gaussian analytical spatial function takes care of positioning the injected pulse to the write place.
Best,
Balint
[QUOTE]
Dear Sven,
Thanks a lot. I ended up having a "Normal Current Density" defined under my Electric Currents physics and that recognized the x,y,z parametric Gaussian current profile.
However, I have a new problem now. This Normal Current Density object needs a boundary to define
to which surface it is onto which the current should be normal to. When I want to select the surface I want
(a surface boundary from a Metal Domain) it does not allow me to do it. When I add it explicitly, knowing the number of the boundary, it write "not applicable". How can I circumvent this?
Or, perhaps shall I used another type of current density object to put current injection onto a Metal Terminal?
Thanks,
Balint
[/QUOTE]