Example repository
This page contains a repository of examples of simulations. Please add links to uploaded simulations (as zip files), with short paragraph describing them.
Below are a list of zip files containing several commented examples of parameter files you may want to have a look at to get an idea of the structure and keywords of parameter files.
Contents
Original sample files
These are used and described in the original user's guide. These have been designed for the public release of the software in 2004; while they still work on newer versions of the software, a number of keywords they use are obsolete. It is fine to start with these samples, but you should also look at the examples below for the newer versions before running your own simulations. In particular, defining a structure within the parameter file is now obsolete (use the structure editor instead), and automatic settings such as suggest order and suggest n_eff range should be avoided, as they only really work for a rather restricted subset of fibres.
all of the above download in one go
Sample files for newer versions of fibre
Simplex index guiding PCF
New fibre simple hexagon.zip This is similar to the simple hexagon example above, but is adapted to newer version of fibre: Main differences are
- The fibres' geometry is defined using a structure file created with Winfield's graphical structure editor.
- Obsolete keywords such as those for creating a fibre within a parameter file or for automatic
definition of parameters (suggest order, suggest n_eff range) are not used, but replaced with the appropriate keywords recommended for newer version of fibre.
- New important keywords are used, most importantly accuracy goal.
Guided modes of two cylinders
twocyls.zip . Example of parameter and structure files to calculate the guided modes of a set of two parallel cylinders, including material dispersion. This example uses C2v symmetry, and macros with the simple eqution parser to define the appropriate effective index windows. It is straightforward to generalize it to a set of wavelengths, or to dispersion calculations.
Scattering simulations
scattersample.zip Contains and example on how to use the CMU for scattering simulations: calculate scattering of a plane wave off a collection of cylinders. Calculates the scattering cross section and provides field maps, for any list of angles of incidence, polarization and wavelength.
Single inclusion
Singleinclusionexample.zip contains and example on how to use the CMU for calculating modes of a single rod of silica in air. It uses macros and C_infinity_v symmetry. See also Calculating modes of single inclusions.