Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Code Block
 ModelInfo: {
  File: ./pillbox.ncdf
  BoundaryCondition: {
    Electric: 1,2,3,4
    Exterior: 6
  }
   Material : {
     Attribute: 1
     Epsilon:   1.0
     Mu:        1.0
   }
   Material : {
      Attribute: 2
      Epsilon:   1.0
      Mu:        1.0
      EpsilonImag: -0.2        //lossy material
   }
 }

  FiniteElement: {
   Order: 1
   Curved Surfaces: off
  }

  PostProcess: {
    SymmetryFactor: 2
  }

  EigenSolver: {
    NumEigenvalues: 2
    FrequencyShift: 5e9
  }

...

Code Block
ModelInfo: {
File: c026ds-pbc.ncdf
  BoundaryCondition: {
    Magnetic: 1 2
    Periodic_M: 3   //master surface
    Periodic_S: 4   //slave surface, the mesh should be exactly same as those on the master surface
    Exterior: 6
    Theta: -150     //phase
  }
}

FiniteElement: {
  Order: 2
  CurvedSurfaces: on
  ScalarPotential: 1 //use A-V formulation
}

PostProcess:
{
  SymmetryFactor:  8
}
EigenSolver: {
    NumEigenvalues:     1
    FrequencyShift: 	10e9
}

...

Code Block
  ModelInfo: {
    File: cell1fourth.ncdf
    BoundaryCondition: {
      Magnetic: 1,2,3,4
      Exterior: 6
      Waveguide: 7    //for each number appeared here, it should have at least one Port container later. Absorbing and Waveguide have the same effects. Omega3P internally will figure out which BC to use.//Automatic numerical waveguide port solution will be generated per default
      //Absorbing: 7           //First-order absorbing boundary condition.  Default cutoff is 0
    }
  }

  FiniteElement: {
    Order:           1
    Curved Surfaces: on
  }

  PostProcessEigenSolver: {
    ToggleNumEigenvalues: on1
    ModeFileFrequencyShift: test9.e9
  }

  EigenSolverPort: {
    NumEigenvaluesReferenceNumber:     17
    FrequencyShiftNumberOfModes: 		9.e9
3  }

  CheckPoint: {
    Action: save
    Directory: eigens
  }


  Port: {
    ReferenceNumber: 7     //this number should match surface groups in waveguide boundary condition.
    NumberOfModes: 1
  }
// this whole 'Port' container is only needed if you want to load more than 1 mode on a port
    //CutoffFrequency: 5.6e9      // this is only for Absorbing boundary conditions specified above.  Can be used to have the same cutoff as another waveguide mode for faster solution
  }

Analytic Ports (for polarizationAnalytic Ports (for polarization)

Omega3p normally uses a numerical solution for each port but if you need to specify the polarization of the waveguide you can give an analytic solution instead.

...

Code Block
  Port: {
      Reference number: 9  // FPC
      Origin: 0.0, 0.198907, -0.4479152585
      XDirection:  -1.0, 0.0, 0.0
      YDirection: 0.0, 0.0, 1.0
      ESolver:  {
             Type: Analytic
             Mode: {
                     WaveguideType: Rectangular
                     ModeType: TE 1 1
                     A: 0.1348935946
                     B: 0.024973714999999970
            }
     }
  }

  Port: {
      Reference number: 9  // FPC
      Origin: 0.0, 0.198907, -0.4479152585
      XDirection:  -1.0, 0.0, 0.0
      YDirection: 0.0, 0.0, 1.0
      ESolver: {
             Type: Analytic
             Mode:  {
                     WaveguideType: Rectangular
                     ModeType: TE 2  0
                     A: 0.1348935946
                     B: 0.024973714999999970
            }
       }
   }

Make a non-planar surface absorbing boundary

Code Block
LinearSolver options Port:in {
    ReferenceNumber: 5              //reference surface ID
    Origin:     0.0, 0.0, 0.0       //not used
    XDirection: 1.0, 0.0,    0.0    //not used
    YDirection: 0.0, 1.0,    0.0    //not used
    ESolver: {
      Type: Analytic
      Mode:{
                       Mode number: 1
                       Waveguide type: ABC
                       Mode type: ABC
      }
    }
  }

LinearSolver options in EigenSolver container

  • The first option is that user does not provide anything. The EigenSolver container in the input file looks like:
    Code Block
    
      EigenSolver: {
        NumEigenvalues:     1
        FrequencyShift:             10.e9
        Tolerance: 1.e-8
      }
    
    In this case, Omega3P will use the default option for linear solver for solving shifted linear systems
  • The second option is to use float version of the sparse direct solver.
    Code Block
    
      EigenSolver: {
        NumEigenvalues:     1
        FrequencyShift:             10.e9
        Preconditioner: MUMPSFLOAT //use the float version. memory usage reduced into half.
      }
    
  • The third option is to use Krylov subspace method with different preconditioner.
    Code Block
    
      EigenSolver: {
        NumEigenvalues:     1
        FrequencyShift:             10.e9
        Preconditioner: MP      //this use p-version of multilevel preconditioner.
      }
    
    The code will choose either CG (real matrices) or GMRES (complex matrices) and the p-version
    of multilevel precondtioner as the solver for shifted linear systems.
EigenSolver container
  • The first option is that user does not provide anything. The EigenSolver container in the input file looks like: The fourth option is to use out-of-core sparse direct solver (an experimental feature).
    Code Block
      EigenSolver: {
        NumEigenvalues: 1
        FrequencyShift: 10.e9
        Tolerance: 1.e-8
        }
    
    In this case, Omega3P will use the default option for linear solver for solving shifted linear systems
  • The second option is to use float version of the sparse direct solver.
    Code Block
    
      EigenSolver: {
    FrequencyShift:      NumEigenvalues: 1
         FrequencyShift: 10.e9
        MemoryPreconditioner: 1000MUMPSFLOAT  //ifuse the float version. memory usage ofreduced theinto matrixhalf.
     factor in any process is larger than 1000MBytes }
    
  • The third option is to use Krylov subspace method with different preconditioner.
    Code Block
    
      EigenSolver: {
    ,
               NumEigenvalues: 1
        FrequencyShift: 10.e9
        Preconditioner: MP      //switch tothis use outp-version of-core multilevel solverpreconditioner.
      }
    
    The code will choose either CG (real matrices) or GMRES (complex matrices) and the p-version
    of multilevel precondtioner as the solver for shifted linear systems.

FAQ

How to calculate Wallloss Quality Factor?

...

  1. Inside ModelInfo.BoundaryCondition define a set of boundary surfaces as Exterior.
    For each of the boundary surfaces, have a corresponding SurfaceMaterial container inside ModelInfo.
    For example:
    Code Block
     ModelInfo: {
      File: .dds3.ncdf
    
      BoundaryCondition: {
        Magnetic: 1, 2, 3, 4
        Exterior: 6   // sideset 6 is defined as Exterior BC.
      }
    
      SurfaceMaterial: {        // have a separate for each number in Exterior BC
        ReferenceNumber: 6  //the corresponding sideset in Exterior BC
        Sigma: 5.8e7            //electrical conductivity of the material
      }
     }
    
    After you run omega3p with the input file, you will get a file called "output" under the same directory. Inside the file, it has a summary of results such as:
    Code Block
                Mode : {
                    TotalEnergy : 4.4270939088102e-12
                    QualityFactor : 6478.5096350252
                    File : ./dds.l0.1.144469E+10.m0
                    PowerLoss : 4.9139118623939e-05
                    Frequency : 11444685657.626
                }
    
    
    The number after QualityFactor is the one you are looking for. This method uses perturbation theory and has advantage that it is very simple. The computation associated with it is minimal.
  2. Inside ModelInfo.BoundaryCondition, define the set of surfaces as Impedance (instead of Exterior in method 1).
    Set the HFormulation to be 1 (this is very important). Also, have a set of corresponding SurfaceMaterials inside ModelInfo as those in method 1. For example:
    Code Block
     ModelInfo: {
    
      File: dds3.ncdf
    
      BoundaryCondition: {
        HFormulation: 1
        Magnetic: 1, 2, 3, 4
        Impedance: 6
      }
    
      SurfaceMaterial: {
        ReferenceNumber: 6
        Sigma: 5.8e7
      }
     }
    
    After you run omega3p with the input, in the output file, you will see
    Code Block
            Mode = {
                TotalEnergy = { 6.2827077634198e-07, 0 },
                ExternalQ = 6579.1486638005,
                QualityFactor = inf,
                File = './dds.l0.R1.144619E+10I8.698837E+05.m0',
                PowerLoss = 0,
                Frequency = { 11446188331.641, 869883.69746227 }
            }
    
    The number after ExternalQ is the wall loss Q you are looking for. During the omega3p run, it should also print out the Q information such as
    Code Block
    COMMIT MODE: 0 FREQ = (11446188331.64141,869883.6974622669)	 k = (239.8943683519209,0.01823141417003215)	 Q = 6579.148663800495
    
    Note that this method set an impedance boundary condition on those surfaces and make the eigenvalue problem complex and nonlinear. It takes more time and memory to solve the problem. But the field will be in the right phase (even close to the boundary surfaces).

...