CurrentThroughPlane

A - B - C - D - E - F - G - H - I - K - L - M - N - O - P - Q - R - S - T - U - V - W - X

CurrentThroughPlane

Section Output
Type block

The code can calculate current traversing a user-defined portion of a plane, as specified by this block. A small plain-text file current-flow will be written containing this information. Only available for 1D, 2D, or 3D. In the format below, origin is a point in the plane. u and v are the (dimensionless) vectors defining the plane; they will be normalized. spacing is the fineness of the mesh on the plane. Integers nu and mu are the length and width of the portion of the plane, in units of spacing. Thus, the grid points included in the plane are x_ij = origin + ispacingu + jspacingv, for nu <= i <= mu and nv <= j <= mv. Analogously, in the 2D case, the current flow is calculated through a line; in the 1D case, the current flow is calculated through a point. Note that the spacing can differ from the one used in the main calculation; an interpolation will be performed.

Example (3D):

%CurrentThroughPlane
   0.0 | 0.0 | 0.0 # origin
   0.0 | 1.0 | 0.0 # u
   0.0 | 0.0 | 1.0 # v
   0.2 # spacing
   0 | 50 # nu | mu
   -50 | 50 # nv | mv
%

Example (2D):

%CurrentThroughPlane
   0.0 | 0.0 # origin
   1.0 | 0.0 # u
   0.2 # spacing
   0 | 50 # nu | mu
%

Example (1D):

%CurrentThroughPlane
   0.0 # origin
%




Source information