linear_electric_field

provides a perfect linear electric field. the potential in cylindrical coordinates obeys:

V(z,r,phi) = V0 + (V1 - V0) / (z1 - z0) * (z - z0)

XML element: <linear_electric_field>
C++ type: KElectrostaticLinearField
Attributes

Attribute

Type

Description

U1

double

z0 in the equation of the element description, in meters.

U2

double

z1 in the equation of the element description, in meters.

name

string

the name of the electric field.

surface

string

z1

double

V0 in the equation of the element description, in volts.

z2

double

V1 in the equation of the element description, in volts.

Example:

<linear_electric_field name="electric_linear" z1="0" z2="1.e-2" U1="100" U2="0"/>

Used as:

Can be referenced by:

More information

Used in example configurations: