Introduction

A text model (.oos) answers three questions. The [executive] section identifies the analysis. The [case] section selects loads and constraints and requests results. The [model] section defines the entities those selections refer to. The Reader can inspect this input and save it as a native HDF5 model archive (.ooh5). O_o_Solver consumes the model tables to perform an analysis.

A rod in tension

Save the following file as tie.oos. The rod is 0.6 m long and has a cross-sectional area of 0.0004 m². A force of 120 N acts along its axis at node 2. Constraint set 8 fixes node 1 and leaves only the axial displacement free at node 2.

[executive]
SolutionSequence;LinearStatics
[case]
TitleText;Tie rod in tension
DisplacementOutput;All
SubcaseStart;1
SinglePointConstrSelection;8
StaticLoadSelection;12
[model]
Node;1;;0.;0.;0.
Node;2;;0.6;0.;0.
Rod2;20;30;1;2
RodProp;30;40;0.0004
IsoMat;40;7.0e10;;0.33;2700.
SinglePointConstrList;8;123456;1
SinglePointConstrList;8;23456;2
PointForceLoad;12;2;;120.;1.;0.;0.
Parameter;WeightToMass;1.0

Follow a reference

Start at StaticLoadSelection;12. The selected load has set ID 12 and acts on node 2. To find the stiffness data, follow element 20 to property 30, then to material 40. The property supplies the area and the material supplies Young’s modulus. Bulk data shows how to read the fields in that chain.

The command-line examples read this file and report two nodes and one rod. The parameter query finds the explicit mass conversion factor.