Edgar J. Kaiser
                                                                                                                                                    Certified Consultant
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                5 years ago                            
                            
                                Jun 4, 2020, 10:14 a.m. EDT                            
                        
                        
                                                    Tamer,
I think this can be done with a coaxial port between the two coil terminals at the top of the model. No coil node needed then.
Cheers
Edgar
    -------------------
    Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com                                                 
                                                
                            Tamer,
I think this can be done with a coaxial port between the two coil terminals at the top of the model. No coil node needed then.
Cheers
Edgar                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                5 years ago                            
                            
                                Jun 4, 2020, 12:18 p.m. EDT                            
                        
                        
                                                    Hi Edgar,
The idea of the coaxial port seems the right way in this case, however:
1- Option "Coaxial" of the "Type of lumped port:" is not available for any of the AC/DC module physics nodes!! I am using "Magnetic field (mf)".
2- While it is different physics, I tried to guid myself abit with this example, to understand how the lumped port works. So, I defined the input and output ports (with terminal type = current), please see the attachment. However, this gave me non-understandable results.
3- I also tried to assign the terminal between the two conductors as you suggested, but still the solution is not correct.
Just for guidness, I also attach the corresponding/correct/expected result from the 3D model!
Any advice!
Regards,
Tamer
                                                 
                                                
                            Hi Edgar,
The idea of the coaxial port seems the right way in this case, however:
1- Option "Coaxial" of the "Type of lumped port:" is not available for any of the AC/DC module physics nodes!! I am using "Magnetic field (mf)".
2- While it is different physics, I tried to guid myself abit with this [example](https://www.comsol.com/model/time-to-frequency-fast-fourier-transform-of-a-coaxial-low-pass-filter-43851), to understand how the lumped port works. So, I defined the input and output ports (with terminal type = current), please see the attachment. However, this gave me non-understandable results.
3- I also tried to assign the terminal between the two conductors as you suggested, but still the solution is not correct.
Just for guidness, I also attach the corresponding/correct/expected result from the 3D model! 
Any advice!
Regards,
Tamer                        
                                                
                        
                                                
                                                                                                            
                                             
                                            
                            
                                                                                        
                                Edgar J. Kaiser
                                                                                                                                                    Certified Consultant
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                5 years ago                            
                            
                                Jun 4, 2020, 12:57 p.m. EDT                            
                        
                        
                                                    Tamer,
you need to set the mf physics to solve for in-plane vector potential, since you only want to see a phi-component of the magnetic field, right? Then the coaxial port gets available and your Lumped Port 3 is the correct way.
Cheers
Edgar
    -------------------
    Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com                                                 
                                                
                            Tamer,
you need to set the mf physics to solve for in-plane vector potential, since you only want to see a phi-component of the magnetic field, right? Then the coaxial port gets available and your Lumped Port 3 is the correct way.
Cheers
Edgar                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                5 years ago                            
                            
                                Jun 4, 2020, 2:57 p.m. EDT                            
                        
                        
                                                    Hi Edgar,
Modifying the input parameters of the mf physics to solve in-plane helped indeed to activate the coaxil option. 
Now, solving the model without adding any further boundary conditions, than Port 3, gives me the "The relative residual (1.1e+49) is greater than the relative tolerance." error message!! Indication of a huge problem either in the:
- defined boudary condition ==> I reduced the applied current to very low level.
- or meshing startegy ==> I modifed my meshing to a very efficient boundary layers style.
- I also tried to change the direct solver to PARDISO.
- I also treid to change the termination process depending on a large number of iterations.
What I am still missing? The modified model is attached.
Regards,
  Tamer
                                                 
                                                
                            Hi Edgar,
Modifying the input parameters of the mf physics to solve in-plane helped indeed to activate the coaxil option. 
Now, solving the model without adding any further boundary conditions, than Port 3, gives me the "The relative residual (1.1e+49) is greater than the relative tolerance." error message!! Indication of a huge problem either in the:
- defined boudary condition ==> I reduced the applied current to very low level.
- or meshing startegy ==> I modifed my meshing to a very efficient boundary layers style.
- I also tried to change the direct solver to PARDISO.
- I also treid to change the termination process depending on a large number of iterations.
  
  What I am still missing? The modified model is attached.
  
  Regards,
  Tamer                        
                                                
                        
                                                
                                                                                                            
                                             
                                            
                            
                                                                                        
                                Edgar J. Kaiser
                                                                                                                                                    Certified Consultant
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                5 years ago                            
                            
                                Jun 4, 2020, 4:13 p.m. EDT                            
                        
                        
                                                    The solver sequence is not correct for the stationary study. The frequency domain step solves if you assign a small conductivity to the air domain, e.g. 1 S/m.
Also you may need, or not, to add a Gauge Fixing node. Compare the results with and without, if the difference is significant you need it. It consumes some more memory.
    -------------------
    Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com                                                 
                                                
                            The solver sequence is not correct for the stationary study. The frequency domain step solves if you assign a small conductivity to the air domain, e.g. 1 S/m.
Also you may need, or not, to add a Gauge Fixing node. Compare the results with and without, if the difference is significant you need it. It consumes some more memory.                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                5 years ago                            
                            
                                Jun 4, 2020, 6:59 p.m. EDT                            
                        
                        
                                                    Dear Edgar,
Many thanks for your guidance throughout this case. It works perfect now.
As usual and in order to close this case in a useful way, I attach the working model as a reference for the future similar cases. I also want to state that the Gauge Fixing node was not making any difference for this specific model. However, as Edgar recommended, always check its infuence for each specific case.
Best regards,
Tamer
                                                 
                                                
                            Dear Edgar,
Many thanks for your guidance throughout this case. It works perfect now.
As usual and in order to close this case in a useful way, I attach the working model as a reference for the future similar cases. I also want to state that the Gauge Fixing node was not making any difference for this specific model. However, as Edgar recommended, always check its infuence for each specific case. 
Best regards,
Tamer                        
                                                
                        
                                                
                                                                                                            
                                             
                        
                        
                            
                                                                                        
                                Edgar J. Kaiser
                                                                                                                                                    Certified Consultant
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                5 years ago                            
                            
                                Jun 5, 2020, 3:12 a.m. EDT                            
                        
                        
                                                    Tamer,
thanks for the feedback and good luck for your work.
Best regards
Edgar
    -------------------
    Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com                                                 
                                                
                            Tamer,
thanks for the feedback and good luck for your work.
Best regards
Edgar