mesh_scoping_factory

Contains functions to make easy mesh scopings creation.

ansys.dpf.core.mesh_scoping_factory.nodal_scoping(node_ids, server=None)

Helper function to create a specific ansys.dpf.core.Scoping associated to a mesh.

Parameters
  • node_ids (List of int) –

  • server (server.DPFServer, optional) – Server with channel connected to the remote or local instance. When None, attempts to use the the global server.

Returns

scoping

Return type

ansys.dpf.core.Scoping

ansys.dpf.core.mesh_scoping_factory.elemental_scoping(element_ids, server=None)

Helper function to create a specific ansys.dpf.core.Scoping associated to a mesh.

Parameters
  • element_ids (List of int) –

  • server (server.DPFServer, optional) – Server with channel connected to the remote or local instance. When None, attempts to use the the global server.

Returns

scoping

Return type

ansys.dpf.core.Scoping

ansys.dpf.core.mesh_scoping_factory.named_selection_scoping(named_selection_name, model, server=None)

Helper function to create a specific ansys.dpf.core.Scoping associated to a specified model’s mesh.

Parameters
  • named_selection_name (str) –

  • server (server.DPFServer, optional) – Server with channel connected to the remote or local instance. When None, attempts to use the the global server.

Returns

scoping

Return type

ansys.dpf.core.Scoping