simulation domain
Description
The simulation domain is composed by a 3D box (or 2D plane, or a line), with the following parameters:
Options
ncell_global
: number of cells in each direction.xyzmin_global
: minimum coordinate of the domain.xyzmax_global
: maximum coordinate of the domain.ngrid_ghost
: number of ghost cells in each direction.tRange
: time range of the simulation.dt
: time step of the simulation.printStep
: print the simulation results everyprintStep
time steps.useProcessBar
: whether use a process bar to show the current simulation process.
Parameter | Value Type | Description |
---|---|---|
ncell_global | Array of Integers | An array of integers that specifies the number of cells in each direction. |
xyzmin_global | Array of Floats | An array of floats that specifies the minimum coordinates of the computational domain. |
xyzmax_global | Array of Floats | An array of floats that specifies the maximum coordinates of the computational domain. |
ngrid_ghost | Array of Integers | An array of integers that specifies the number of ghost cells in each direction. |
tRange | Array of Floats | An array of floats that specifies the time range for the simulation. |
dt | Float | A float value that specifies the time step for the simulation. |
printStep | Integer | An integer value that specifies the frequency at which output is printed. |
useProcessBar | Boolean | A boolean value that determines whether or not to use a progress bar for the simulation. |
noField | Boolean | A boolean value that determines whether or not use Maxwell equation to evolve fields. |
template
[domainInfo]
ncell_global = [512, 1, 1]
xyzmin_global = [-25.13, 0.0, 0.0]
xyzmax_global = [25.13, 1.0, 1.0]
ngrid_ghost = [4, 0, 0]
tRange = [0.0, 100.0]
dt = 0.02
printStep = 100
useProcessBar = false
noField = false