News
Features
Documentation
Application examples
XSvit: Getting started
FDTD tutorial
Download
Participate

Basic GSvit2D examples

Here follows a list of some parameter files that are being used to test the 2D code. Copy and paste any of them to test the functionality or to use it as a basis for your parameter file setup.


TM mode, point source, absorbing BC:

DIMENSIONALITY
2

POOL
100 100 2e-6 2e-6

VERBOSE
3

TMMODE
1

COMP
1000

OUT_IMAGE
Ez 100 image

OUT_FILE
test.gwy

SOURCE_POINT
50 50 1 30e-6 1 0 0

BOUNDARY_ALL
liao

TE mode, x polarisation, point source, absorbing BC:

DIMENSIONALITY
2

POOL
100 100 2e-6 2e-6

VERBOSE
3

TMMODE
0

COMP
1000

OUT_IMAGE
Ex 100 image

OUT_FILE
test.gwy

SOURCE_POINT
50 50 1 30e-6 1 1.57079632679 1.57079632679

BOUNDARY_ALL
liao

TM mode, TSF source:

DIMENSIONALITY
2

POOL
100 100 2e-6 2e-6

VERBOSE
3

TMMODE
1

COMP
1000

OUT_IMAGE
Ex 100 ximage

OUT_IMAGE
Ey 100 yimage

OUT_IMAGE
Ez 100 zimage

OUT_FILE
test.gwy

SOURCE_TSF
10 10 90 90 0 1.57 1 30e-6 1

TE mode, TSF source, circular object inside computational plane

DIMENSIONALITY
2

POOL
300 300 2e-6 2e-6

VERBOSE
3

TMMODE
0

COMP
1000

OUT_IMAGE
Ex 100 ximage

OUT_IMAGE
Ey 100 yimage

OUT_IMAGE
Ez 100 zimage

OUT_FILE
test.gwy

SOURCE_TSF
10 10 290 290 0.707 0 1 100e-6 1

MEDIUM_VECTOR
circle.txt

where file "circle.txt" looks like this:

2 150 150 50 0 3 1 0 0

Back to the documentation.







(c) Petr Klapetek, 2013