Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
  ModelInfo: {
    File: cell.ncdf
    BoundaryCondition: {
       Magnetic: 1 3 4 
       Impedance: 6                //Impedance boundary condition
       Waveguide: 7 8             //the ports where waveguide can be loaded
    }
    SurfaceMaterial: {
      ReferenceNumber: 6      //surface material property
      Sigma: 5.8e7
    }
  }

  Port : {
        ReferenceNumber: 7
        Origin:     0.0, 0.04105, 0.0
        XDirection: 1.0, 0.0, 0.0
        YDirection: 0.0, 0.0, -1.0
        ESolver: {
                Type: Analytic
                Mode: {
                        WaveguideType: Rectangular
                        ModeType: TE, 1, 0
                        A: 0.028499    //larger dimension
                        B: 0.00895      //smaller dimension
                }
        }
  }

  Port : {
        ReferenceNumber: 8
        Origin:     0.0, -0.04105, 0.0
        XDirection: 1.0, 0.0, 0.0
        YDirection: 0.0, 0.0, -1.0
        ESolver: {
                Type: Analytic
                Mode: {
                        WaveguideType: Rectangular
                        ModeType: TE, 1, 0
                        A: 0.028499    //larger dimension
                        B: 0.00895      //smaller dimension
                }
        }
  }

  FrequencyScan: {  //enable frequency scan of S parameter
    Start: 9.33e+9   
    End:   9.48e+9
    Interval: 0.01e+9
  }

  WaveguideFrequency: 9.4e+9 //if FrequencyScan container does not exist,  compute S parameter at this frequency

  PostProcess: {
    Toggle: off        //switch for postprocess
    Port Number: 1 //input port
    ModeFile: coupler.portMode   //the mode file prefix for field distribution
  }

A complete example with impedance boundary condition

Code Block

ModelInfo: {

  File: cell.ncdf

  BoundaryCondition: {
    Magnetic: 1 3 4 
    Impedance: 6
    Waveguide: 7 8
  }

  SurfaceMaterial: {
    ReferenceNumber: 6
    Sigma: 5.8e7
  }

}

Port : {
        Reference number: 7
        Origin:     0.0, 0.04105, 0.0
        XDirection: 1.0, 0.0, 0.0
        YDirection: 0.0, 0.0, -1.0
        ESolver: {
                Type: Analytic
                Mode: {
                        Waveguide type: Rectangular
                        Mode type: TE, 1, 0
                        A: 0.028499
                        B: 0.00895
                }
        }
}

Port : {
        Reference number: 8
        Origin:     0.0, -0.04105, 0.0
        XDirection: 1.0, 0.0, 0.0
        YDirection: 0.0, 0.0, 1.0
        ESolver:  {
                Type: Analytic
                Mode: {
                        Waveguide type: Rectangular
                        Mode type: TE, 1, 0
                        A: 0.028499
                        B: 0.00895
                }
        }
}

FiniteElement: {
  Order: 2
  CurvedSurfaces: on
}

FrequencyScan: {
 Start: 9.33e+9
 End:   9.48e+9
 Interval: 0.01e+9
}

PostProcess: {
  Toggle: off
  Port Number: 0 //input port
  ModeFile: field
}

VerifyLinearSolver: yes

LinearSolver: {
	Solver:	MUMPS
}

Specify lossy materials

Code Block
 ModelInfo: {
  File: tapereda.ncdf
  BoundaryCondition: {
    Magnetic: 1
    Electric: 2
    Exterior: 6
    Waveguide: 7
  }
  Material : { 
    Attribute: 1            //block 1 is vacuum
    Epsilon:   1.0
    Mu:        1.0
  }
  Material : {
    Attribute: 2           //block 2 is lossy (cubit block)
    Epsilon:   3.0
    Mu:        1.0
    EpsilonImag: -5.4  //lossy material 
  }
 }

...