Skip to main content

Scoping

Create a Scoping

The Scoping is a set of entity ids defined on a location (the location is optional).

Get Scoping’s data

The Scoping’s location and ids can be accessed with:

Field

Create a Field

The minimum requirement for a well defined Field is for it to have a dimensionality (scalar, 3 components vector, 6 components symmetrical matrix…), a location (“Nodal”, “Elemental”, “ElementalNodal”, “Timefrq”…), a data vector and a scoping with ids. The user can also set the number of shell layers. If the field has one elementary data by entity (elementary data size = number of components for “Nodal” or “Elemental” field for example), then the data vector can be set directly. If a more complex field is required (“ElementalNodal” Field for example), the data can be set entity by entity.

Get Field’s data

The Field’s side information as well as the data in itself can be accessed with:

Fields Container

Create a Fields Container

The Fields Container is a vector of Fields and all the Fields are ordered with labels and ids. Most commonly, the Fields Container is scoped on “time” label and the ids are the time or frequency sets. More generically, the Fields Container allows to split results on different criterions.

Get Fields Container’s data

The Fields Container is the main output of results providers:

Data Sources

Create Data Sources

Data Sources is the entity containing the different path to the result files of an analysis. An extension key (‘rst’ for example) is used to choose which files represent results files, the other one being accessory files. See more information for using Data Sources in mechanical in “How to use DPF’s package / IPython” menu.

Meshed Region

Create a Meshed Region

The user can create his own data to manipulate it with dpf. THe Meshed Region can be created simply with:

Get Meshed Region’s data from DataSources

A model is usually represented by a Meshed Region in DPF. The mesh provider operator allows to access an analysis’ mesh. The user can then get different information in the mesh like the coordinates of all the nodes and the connectivity between elements and nodes.

Time Freq Support

Create Time Freq Support

The time or frequency space of an analysis is described by the Time Freq Support entity in DPF. It gives access to real and imaginary sets. User can create a time freq support to manage data.

Get Time Freq Support’s data from DataSources

Time Freq Support of a specific file can be accessed using the following methods.

Model

Explore a Model

The Model is built with DataSources that it will open (in a streams by default) to explore an analysis. Printing the model is a good tool to see the results that are available.