![]() |
GeMA
The GeMA main application
|
The model data object stores information about top-level model objects such as meshes, property sets, boundary conditions, discontinuity sets and spatial indices. It is represented in Lua by a single global variable named modelData.
Index:
modelData:mesh()modelData:boundaryCondition()modelData:contactBoundaryCondition()modelData:propertySet()modelData:discontinuitySet()modelData:spatialIndex()| modelData:mesh(meshName) | |
|---|---|
| Description: | Recovers a mesh object from the model given its name. |
| Parameters: | meshName - The mesh name (id). |
| Returns: | Returns a mesh object or nil if the name is unknown. |
Example:
| modelData:boundaryCondition(bcName) | |
|---|---|
| Description: | Recovers a boundary condition object from the model given its name. |
| Parameters: | bcName - The boundary condition name (id). |
| Returns: | Returns a boundary condition object or nil if the name is unknown. |
Example:
| modelData:contactBoundaryCondition(cbcName) | |
|---|---|
| Description: | Recovers a contact boundary condition object from the model given its name. |
| Parameters: | cbcName - The contact boundary condition name (id). |
| Returns: | Returns a contact boundary condition object or nil if the name is unknown. |
Example:
| modelData:propertySet(psName) | |
|---|---|
| Description: | Recovers a property set object from the model given its name. |
| Parameters: | psName - The property set name (id). |
| Returns: | Returns a property set object or nil if the name is unknown. |
Example:
| modelData:discontinuitySet(dsName) | |
|---|---|
| Description: | Recovers a discontinuity set object from the model given its name. |
| Parameters: | dsName - The discontinuity set name (id). |
| Returns: | Returns a discontinuity set object or nil if the name is unknown. |
Example:
| modelData:spatialIndex(indexName) | |
|---|---|
| Description: | Recovers a spatial index object from the model given its name. |
| Parameters: | indexName - The spatial index name (id). |
| Returns: | Returns a spatial index object or nil if the name is unknown. |
Example:
1.8.15