With the Curvilinear Coordinates interface, you can create a vector field
v and a base vector system (with basis vectors
e1,
e2, and
e3) that can be used by other physics to specify, for example, external currents or anisotropic material properties of a bundle of wires or fibers. The resulting coordinate system can be — but does not have to be — curvilinear. Right-click the
Curvilinear Coordinates node (

) to add one of the available methods for computing the vector field for the curvilinear coordinates:
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the
name string must be unique. Only letters, numbers, and underscores (_) are permitted in the
Name field. The first character must be a letter.
The default Name (for the first Curvilinear Coordinates interface in the model) is
cc.
The Normalize vector field check box is selected by default because a normalized vector field simplifies the use of curvilinear coordinates and a base vector system.
Select the Create base vector system check box to add a
Curvilinear System node under
Definitions, which is a Base Vector System node with a name that indicates that it is created by a
Curvilinear Coordinates interface and contains the base vectors from the curvilinear coordinate computation. Selecting this check box also adds a Coordinate System Settings subnode for specifying the second basis vector
e2 (the software then forms the third basis vector as the cross product of the first and second basis vectors).