OOF2: The Manual

Name

OOF.Subproblem.Field.Define — Define a Field on a Subproblem. Only defined Fields may be given values.

Synopsis

OOF.Subproblem.Field.Define(subproblem,field)

Details

  • Parent Menu: OOF.Subproblem.Field
  • Callback: function _defineField in module oof2.engine.IO.subproblemmenu
  • Threadability: Threadable
  • Parameters:

    subproblem
    Type: The path to an existing SubProblem object.
    field
    Type: A Field object.

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.Initialize. To solve for Field values, the Field must be activated, an Equation involving the Field must be activated, and the Mesh must be solved.


/* OOF home */ /* OOF2 home */ /* Send mail to the OOF Team */