Input URI
{base url} + db/NSPR |
---|
Active Methods
POST, GET, PUT, DELETE |
---|
JSON Schema
Details
"NSPR": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"ITEMS": {
"description": "Items",
"type": "array",
"items": {
"type": "object",
"properties": {
"ID": {
"description": "ID",
"type": "integer"
},
"TYPE": {
"description": "Type",
"type": "string"
},
"F_S": {
"description": "F_SDx,F_SDy,F_SDz,F_SRx,F_SRy,F_SRz",
"type": "array",
"items": {
"type": "boolean",
"maxItems": 6
}
},
"SDR": {
"description": "SDxSDySDzSRxSRySRz",
"type": "array",
"items": {
"type": "number",
"maxItems": 6
}
},
"DAMPING": {
"description": "Damping",
"type": "boolean"
},
"Cr": {
"description": "C_r",
"type": "array",
"items": {
"type": "number",
"maxItems": 6
}
},
"GROUP_NAME": {
"description": "BoundaryGroupName",
"type": "string"
},
"FormType": {
"description": "nFromType",
"type": "integer"
},
"EFFAREA": {
"description": "EFFAREA",
"type": "number"
},
"DK": {
"description": "dKxdKydKz",
"type": "array",
"items": {
"type": "number",
"maxItems": 3
}
},
"DIR": {
"description": "nDirection",
"type": "integer"
},
"DV": {
"description": "VxVyVz",
"type": "array",
"items": {
"type": "number",
"maxItems": 3
}
},
"STIFF": {
"description": "Stiffness",
"type": "number"
},
"FUNCTION": {
"description": "Function",
"type": "integer"
}
}
}
}
}
}
}
Examples
Linear Type
"Assign": {
"2": {
"ITEMS": [
{
"ID": 1,
"TYPE": "LINEAR",
"F_S": [
false,
false,
false,
false,
false,
false
],
"SDR": [
33000,
34000,
35000,
33000000,
34000000,
35000000
],
"DAMPING": true,
"Cr": [
1,
2,
3,
4,
5,
6
],
"GROUP_NAME": "Service"
}
]
},
"3": {
"ITEMS": [
{
"ID": 1,
"TYPE": "LINEAR",
"F_S": [
true,
true,
true,
true,
true,
true
],
"SDR": [
33000,
34000,
35000,
33000000,
34000000,
35000000
],
"DAMPING": true,
"Cr": [
1,
2,
3,
4,
5,
6
],
"GROUP_NAME": "Service"
}
]
}
}
}
Compression-Only Type
"Assign": {
"4": {
"ITEMS": [
{
"ID": 1,
"TYPE": "COMP",
"GROUP_NAME": "Service",
"DIR": 4,
"DV": [
0,
0,
0
],
"STIFF": 1000000
}
]
},
"5": {
"ITEMS": [
{
"ID": 1,
"TYPE": "COMP",
"GROUP_NAME": "Service",
"DIR": 6,
"DV": [
0,
-1,
-1
],
"STIFF": 1000000
}
]
}
}
}
Tension-Only Type
"Assign": {
"6": {
"ITEMS": [
{
"ID": 1,
"TYPE": "TENS",
"GROUP_NAME": "Service",
"DIR": 4,
"DV": [
0,
0,
0
],
"STIFF": 1000000
}
]
},
"7": {
"ITEMS": [
{
"ID": 1,
"TYPE": "TENS",
"GROUP_NAME": "Service",
"DIR": 6,
"DV": [
0,
-1,
-1
],
"STIFF": 1000000
}
]
}
}
}
Multi-Linear Type
"Assign": {
"8": {
"ITEMS": [
{
"ID": 1,
"TYPE": "MULTI",
"GROUP_NAME": "Service",
"DIR": 4,
"DV": [
0,
0,
0
],
"FUNCTION": 1
}
]
},
"9": {
"ITEMS": [
{
"ID": 1,
"TYPE": "MULTI",
"GROUP_NAME": "Service",
"DIR": 6,
"DV": [
0,
-1,
-1
],
"FUNCTION": 1
}
]
}
}
}
Specifications
No. | Description | Key | Value Type | Default | Required | |
---|---|---|---|---|---|---|
1 |
Point Spring • Insert the data as an object |
"ITEMS" |
Array |
- |
Required |
|
(1) |
Serial Number |
"ID" |
Integer |
0 |
Optional |
|
(2) |
Spring Type • Linear: "LINEAR" • Compression-Only: "COMP" • Tension-Only: "TENS" • Multi-Linear: "MULTI" |
"TYPE" |
String |
- |
Required |
|
(3) |
Boundary Group Name |
"GROUP_NAME" |
String |
Blank |
Optional |
|
(4) |
Create Function Type • by Point Spring Function: 0 • by Surface Spring Function: 1 |
"FormType" |
Integer |
0 |
Optional |
|
Linear Type |
||||||
(5) |
Spring Stiffness • [SDx, SDy, SDz, SRx, SRy, SRz] |
"SDR" |
Array |
- |
Required |
|
(6) |
Fixed Option • [SDx, SDy, SDz, SRx, SRy, SRz] |
"F_S" |
Array |
false |
Optional |
|
(7) |
Damping Constant |
"DAMPING" |
Boolean |
false |
Optional |
|
(8) |
Damping • [Cx, Cy, Cz, CRx, CRy, CRz] |
"Cr" |
Array |
0 |
Optional |
|
Compression/Tension-Only Type |
||||||
(5) |
Stiffness |
"STIFF" |
Number |
- |
Required |
|
(6) |
Direction • Dx (+): 0 • Dx (-): 1 • Dy (+): 2 • Dy (-): 3 • Dz (+): 4 • Dz (-): 5 • Vector: 6 |
"DIR" |
Integer |
- |
Required |
|
(7) |
Normal Vector • When "DIR" is 6 |
"DV" |
Array |
0 |
Optional |
|
Multi-Linear Type |
||||||
(5) |
Defined Forces-Deformation Function ID Number |
"FUNCTION" |
Integer |
- |
Required |
|
(6) |
Direction • Dx (+): 0 • Dx (-): 1 • Dy (+): 2 • Dy (-): 3 • Dz (+): 4 • Dz (-): 5 • Vector: 6 |
"DIR" |
Integer |
- |
Required |
|
(7) |
Normal Vector • When "DIR" is 6 |
"DV" |
Array |
0 |
Optional |
|
By Surface Spring Functions (When "FormType" is 1) |
||||||
(9) |
Width of Frame |
"EFFAREA" |
Number |
0 |
Optional |
|
(10) |
Modulus of Subgrade Reaction • [Kx, Ky, Kz] |
"DK" |
Array |
0 |
Optional |