Calling sequence : CALL DIMPH (IDMPC, ITYPE, NSLAVE, NMASTR, IEXIT, IUNT)
Purpose : To enter a Multi-Point Constraint header record
Parameters :
In
IDMPC | MPC identification Number (Integer) |
ITYPE | MPC type code (Integer) |
1: | Rigid connection of freedoms 1 through 6 between one slave and one master node (RBEAM) |
2: | Rigid connection of a single freedom from 1 to 3 between one slave and one master node (RROD) |
3: | Rigid connection of a single freedom from 1 to 3 between one slave and one master node (RRODS) |
4: | Connection of freedoms of two co-incident nodes (CONNECT) |
5: | Connection of freedoms of two co-incident nodes (CQUAB) |
6: | Keeping the slave in a fixed relative position on a line defined by master nodes (CLINE) |
7: | Keeping the slave in a fixed relative position on a surface defined by master nodes (CSURF) |
8: | Connection of shear freedoms of a slave to shear freedoms of master nodes (CSHEAR) |
9: | A hinge connection between a slave and a master node. An additional node is used to define the hinge axis (HINGE) |
10: | A slave connected to the edge of a surface defined by two master nodes and one additional node (CLINE2H) |
11: | A slave connected to a master node in the direction normal to a surface defined by one master and two additional nodes (CSURF3N) |
12: | Rigid body motion (RBODY) |
13: | Weighted rigid body motion (RBODYW) |
14: | Direct set up MPCs |
NSLAVE | Number of slave nodes (Integer) |
NMASTR | Number of master nodes (Integer) |
IUNT | Temporary file channel number (Integer) |
Out
IEXIT | Error condition (Integer) |
Use : This routine is called once for each MPC definition. Routine DIMPD is then called a variable number of times according to ITYPE. For MPC types 1 to 11 DIMPD is called once only. For MPC types 12 to 14 DIMPD is called once for each slave node and once for each master node.
A maximum number of 30 nodes (NSLAVE+NMASTER) are allowed.
Errors : The error condition is indicated by the value of IEXIT.
IEXIT | Meaning |
0 | Successful call | ||
32 | Current error must be cleared up first | ||
129 | Error in writing to temporary file on unit (iunt) | ||
141 | Id numbers cannot be less than 1 | ||
142 | Id numbers above 999999 are invalid | ||
143 | Id above 99999 not allowed for character file | ||
154 | Itype must be in the range 1-14 | ||
155 | Invalid number(s) of mpc nodes | ||
168 | Too many nodes in mpc definition (ntotal) | ||
174 | More repeats expected for previous mpc | ||
194 | Cannot enter this data type, current dataset is : (KEY ) | ||
211 | Invalid temporary file unit number (iunt) |