OOF2: The Manual
Name
XYFunction (FuncThreeVectorFieldInit) — Initialize a three-vector field with a function of x and y.
Synopsis
FuncThreeVectorFieldInit(fx,fy,fz)
Details
-
Base class:
ThreeVectorFieldInit -
Parameters:
fx- The x component of the field as a function of x and y Type: A string defining a function of x and y.
fy- The y component of the field as a function of x and y Type: A string defining a function of x and y.
fz- The z component of the field as a function of x and y Type: A string defining a function of x and y.
Description
FuncThreeVectorFieldInit objects are used
as the initializer argument in the OOF.Mesh.Initialize command when assigning
initial values to three-dimensional vector fields on a Mesh. The
fx, fy, and
fz parameters must be valid Python expression
which depend on the variables x and
y. These functions will be used to initialize
the x, y, and
z components of the field at each point in
the Mesh.
Examples.
All of the following are legal values for fx,
fy, or fz:
100*xcos(2*pi*x) + sin(pi*y)1.234-
wheref(x,y)fis a function defined in an input script or in the console window.
/* OOF home */ /* OOF2 home */ /* Send mail to the OOF Team */




