Field Line
Field Line
Introduction This document deals with how to install a macro, and how to use the
Fieldline, Fieldline_1pt and Fieldline_coordPt macros. It will include the
following topics:
• Macro definition
• Install a macro
Goal of the This macro intends to create spatial paths along field lines in order to compute
macro quantity on them. There are three different macros in both 2D and 3D
according to the starting selection of the fieldline. You will have to specify the
following items:
1) For the Fieldline macro :
• Select the lines (2D) or the faces (3D) from which you want to create field
lines paths. It will plot a new spatial path for each node on this support
• Select the quantity you want to follow. It must be a vector quantity (E,
B…)
• Select the step; this will be the discretization of the path.
• Select the maximum length of the path. If the path reaches a region where
the quantity is no longer available (for example E field in a conductor), the
path will stop there.
• Select the first region crossed by the field line. This helps computing the
field in the right region for the first point to start in the good direction.
• Select the name for the paths. For example if the name is
“PATH_LINE_68”, then the paths will be named “PATH_LINE_68_1”,
PATH_LINE_68_2”…
1
Macros
2
Macros
3
Macros
Install a macro
Calling a macro In order to use a macro, you have to follow the next steps:
Step Actions
1 Open Flux
2 Click on [Project] [Macro] [Load], and select the right macro
4
Macros
Macro description
6 macros