OOF2: The Manual
Name
OOF.Mesh.Field.Define — Define a Field on a Mesh. Only defined Fields may be given values.
Synopsis
OOF.Mesh.Field.Define(mesh
,field
)
Details
- Parent Menu: OOF.Mesh.Field
-
Callback: function
_defineField
in moduleooflib.engine.IO.meshmenu
-
Parameters:
Description
Defining a Field
on a Mesh
means that the Field
has values
that can be computed on the Mesh
: memory is allocated to store
the components of the Field
at the nodes of the
Mesh
, and values can be interpolated within the Mesh
elements.
When a Field
is first defined, its components are all zero
everywhere. To assign Field
values, use OOF.Mesh.Set_Field_Initializer and OOF.Mesh.Apply_Field_Initializers. To solve
for Field
values, the Field
must be activated,
an Equation
involving the Field
must be activated,
and the Mesh
must be solved.