Next: -fdtd/-voltages: Voltage sources between
Up: Solver sections: Eigenvalues and
Previous: -fdtd/-clouds: Properties of nonrelativistic
  Contents
This section enables the loading of initial fields for a time domain
computation. If no initial fields are specified, the initial fields will
be assumed to be zero.
##############################################################################
# Flags: nomenu, noprompt, nomessage, #
##############################################################################
# section: -linitialfields #
##############################################################################
# infile = ./previous_outfile #
# symbol = e_1 #
# quantity = e #
# solution = 1 #
# factor = 1.0 #
# static = no #
# brz = no #
# abstatic = 0.0 #
# nbstatic = ( 0.0, 0.0, 1.0 ) #
##############################################################################
# doit, ?, return, end, help #
##############################################################################
infile= NAME_OF_A_PREVIOUSLY_USED_OUTFILE
:
The name of an "outfile" of a previous computation.
The grid of that previous computation must be compatible with the
grid of the current computation.
The easiest way to achieve this, is to load the geometry for the
current computation from the same infile
via the section
-lgeometry
.
symbol= QUAN_ISOL
:
This is the full name of the symbol to be processed.
quantity= QUAN
:
This is the first part of the "symbol".
solution= ISOL
:
This is the last part of the "symbol", the index of the "symbol".
factor
:
The factor by which the specified field shall be multiplied, before it
is added to the specified fields so far.
static
:
If static= yes
, the loaded field will only be used to accelerate
or deflect free moving charges in the PIC-algorithm.
If static= no
, the loaded field will be used as part of the
initial condition for the electromagnetic field.
brz
:
Special flag for loading a rotational symmetric magnetostatic field.
Ignore it. Only for PIC-computations.
abstatic
:
Only for PIC computations: Amplitude of a uniform static magnetic field.
nbstatic
:
Only for PIC computations: Direction of a uniform static magnetic field.
doit
:
The properties of the specified field are recorded in an internal database.
When the time domain computation starts, the sum of all specified fields
will be used as initial field.
Example
The following specifies
that we want to use the grid of a previous computation,
that we want to load the electric field
of the first mode of some previous computation with a factor
of '1'. In addition, we want to load the magnetic field of the same mode
with an amplitude of '-1'.
If the two fields come from a resonant field computation,
this has the effect of loading the mode with a phase of -45 degrees.
#
# As we need the filename in two places better be the same,
# We define the files name as a variable.
#
sdefine( INFILE, /tmp/UserName/resonant-computation )
-lgeometry
infile= INFILE
-linitialfields
infile= INFILE
symbol= e_1, factor= 1, doit
symbol= h_1, factor= -1, doit
Next: -fdtd/-voltages: Voltage sources between
Up: Solver sections: Eigenvalues and
Previous: -fdtd/-clouds: Properties of nonrelativistic
  Contents