electric_field{ }#

Calling sequence

poisson{ electric_field{ } }

Properties

  • usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)

  • items: maximum 1

Dependencies

Functionality

If electric_field{} is defined then electrostatic potential defined with the included keywords is used as the initial condition for the Poisson equation.

Examples

poisson{
    electric_field{...}
}

global{
    simulate1D{ }
}
poisson{
    electric_field{
        direction = ...
        ...
    }
}

global{
    simulate2D{ }
}

Nested keywords


electric_field{ direction }#

Calling sequence

poisson{ electric_field{ direction } }

Properties

  • usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)

  • type: vector of 3 real numbers: \((r_1, r_2, r_3)\)

  • values: no constraints

  • default: \(r_1=1.0\), \(r_2=0.0\), \(r_3=0.0\)

  • unit: \(\mathrm{-}\)

Functionality

Orientation of electric field vector with respect to \((x,y,z)\) simulation coordinate system. For 1D simulations, the direction can be omitted and in this case the default will be used.

Examples

poisson{
    electric_field{
        direction = [ -1.0, 0.0, 0.0 ]
        ...
    }
}
poisson{
    electric_field{
        direction = [ 0.0, 0.5, 0.5 ]
        ...
    }
}

global{
    simulate3D{ }
}

electric_field{ strength }#

Calling sequence

poisson{ electric_field{ strength } }

Properties

  • usage: \(\mathrm{\textcolor{WildStrawberry}{required}}\)

  • type: real number

  • values: no constraints

  • unit: \(\mathrm{V/m}\)

Functionality

Defines a constant electric field in the structure. If electric_field is defined, and the absolute value is larger than zero, then it is being used for the electrostatic potential calculation.

Example

poisson{
    electric_field{
        direction = [ -1.0, 0.0, 0.0 ]
        strength = 0.42
    }
}

electric_field{ reference_potential }#

Calling sequence

poisson{ electric_field{ reference_potential } }

Properties

  • usage: \(\mathrm{\textcolor{ForestGreen}{optional}}\)

  • type: real number

  • values: no constraints

  • unit: \(\mathrm{V}\)

Functionality

Note

If poisson{ } group is not called at all, then electric potential \(\phi=0\) is assumed everywhere.

Example

poisson{
    electric_field{
        direction = [ -1.0, 0.0, 0.0 ]
        strength = 0.42
        reference_potential = -1.3
    }
}