5. Parameters¶
A parameter carries a named value such as a mass conversion factor, a numerical tolerance or an output setting. Use the alphabetical index to check the exact spelling, type, fixed default and enumerated values. A catalogue default describes the input convention. Whether a setting affects a calculation depends on the analysis and its implementation.
Parameter entry and scope¶
Purpose. WeightToMass records the conversion factor between weight and mass.
Format. In [model], write Parameter;WeightToMass;value. The field is real and its catalogue default is 1. In [case], use SubcaseParameter;name;value to record a case-control parameter. A record after a subcase header belongs to that subcase.
Example. The rod model explicitly supplies Parameter;WeightToMass;1.0. Its stored value is numerically equal to the default. WeightToMass entry
Remarks. paramsTable distinguishes explicit records from supplied catalogue defaults with isDefault. The subcase column distinguishes a model parameter (null), global case control (0), and numbered subcases.
Inspect an explicit value¶
After reading tie.oos as in Command line, run either snippet while the deck is live. Both report one row for the explicit WeightToMass record. With withDefaults enabled, the query also returns fixed defaults for requested names absent from the model.
JavaScript / WebAssembly
const table = reader.runQuery("paramsTable", {
deck, args: { names: ["WeightToMass"], withDefaults: false }
});
try {
console.log(table.rowCount()); // 1
} finally {
table.delete();
}
Python / native C++
table = deck.query("paramsTable", names=["WeightToMass"], withDefaults=False)
print(len(table)) # 1
Parameters by task¶
Parameter family |
Where to start |
Related model data |
|---|---|---|
Model input and translation |
||
Geometry processing |
||
Solution control |
||
Eigenvalue extraction |
||
Transient response |
||
Frequency response |
||
Nonlinear solution |
||
Results processing |
||
Topology and design optimization |
Archive and analysis lookup¶
Question |
Reference |
|---|---|
Where are geometry, connectivity and model controls stored? |
|
Where are result components and steps stored? |
|
Which archive versions can the Reader open? |
|
Which solution does a setting belong to? |
Read the solution sequence and case selections. The Reader catalogue defines record types and defaults. Solver support is specific to the selected analysis. |