OOF2: The Manual

Name

OOF.Mesh.Boundary_Conditions.New — Create a new boundary condition.

Synopsis

OOF.Mesh.Boundary_Conditions.New(name,mesh,condition)

Details

  • Parent Menu: OOF.Mesh.Boundary_Conditions
  • Callback: function _buildbc in module ooflib.engine.IO.boundaryconditionmenu
  • Parameters:

    name
    Name of the new boundary condition Type: A character string, or the variable automatic.
    mesh
    Mesh to which to apply the boundary condition. Type: The path to an existing Mesh object.
    condition
    The new boundary condition. Type: An object of the BC class.

Description

OOF.Mesh.Boundary_Conditions.New creates a new named boundary condition in the given Mesh.

The name parameter is the name that will be assigned to the boundary condition. All future operations on the boundary condition will refer to it by this name. The name must be unique among all of the boundary condition names in the mesh. If it is not unique, then <x> will be appended to it, where x is a suitable integer. If the name is automatic, a name will be assigned automatically.

The condition parameter is the new boundary condition to which the name is being applied. It must be an instance of the BC class.