OpenMaXwell Reference Manual

Home  General  Menues  Dialogs  Movie Directives  Formula Interpreter  File Structures

2D points    3D Objects    3D Points    Boundary    Cursor position    Data for selected object    Domain    Expansion    Field    Field components    Field formula    Field tubes    Function    Generate expansions along 2D boundary    Generate expansions for 3D objects    Grid formula    Grid transformation    Info and movie directives    Insert    Integral    Modify 2D expansions    MMP    Movie    Open GL window    PET basis    PFD (predefined FD)    Project     Space, plane, arrow, or point    Tools and draw    Transformation data    Window

Grid transformation Dialog

This dialog is opened when you press the Grid transform... button in the Field dialog.

OpenMaXwell can perform Conformal mapping transformations on 2D grids in the xy plane and general 3D transformations on 3D grids. Note that these transformations can only be applied to irregular grids. Make sure that you are working with an irregular grid by inspecting the Field dialog first.

Conformal mapping

Define the formula for conformal mapping in the corresponding edit box of the Conformal mapping group. Note that the formula is complex and the location of a point in the xy plane is represented by the complex variable v. Moreover, you can define the four complex parameters p0,p1,p2,p3 in the corresponding boxes of the Conformal mapping group. Note that the constants have the same meaning as in the Field formula dialog.

3D transformation

Three real valued formulae define the 3D transformations of the three Cartesian components X, Y, Z of the grid points. Note that the three variables v1=x, v2=y, v3=z , the four parameters p0, p1, p2, p3, and the constants c0, c1,… are also real. The constants are equal to the real values of the constants used for conformal mapping, except c0, which is equal to 1.

Check Formula button

When you press the Check Formula button, OpenMaXwell will perform some syntax checks on the formulae. When a syntax error is detected, OpenMaXwell will put an exclamation mark in front of the corresponding formula and display a warning.

Apply !! button

Press the Apply !! button in the Conformal mapping group or in the 3D transformation group to apply the conformal map or 3D transformation to all grid points. Note that the exclamation marks indicate that the dialog will close as soon as you press one of these buttons.

Read Grid  transform  data

Press the Read… button to read grid transform data from a file. A file name dialog will allow you to select a file name to read from.

Write Grid  transform  data

Press the Write… button to write grid transform data to a file. A file name dialog will allow you to select a file name to write to.

Close the dialog

Press the Close button to close the dialog. Note that the data in the dialog becomes effective upon closure.

 

Responsible for this web page:  Ch. Hafner, Computational Optics Group, IEF, ETH, 8092 Zurich, Switzerland

Last update 17.02.2014