Skip to main content
JSON Manual Created Edited

Elastic Link

Input URI

{base url} + db/ELNK



Active Methods

POST, GET, PUT, DELETE



JSON Schema

Details

{
    "ELNK": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "NODE": {
                "description": "NODES",
                "type": "array",
                "items": {
                    "type": "integer",
                    "maxItems": 2
                }
            },
            "LINK": {
                "description": "SubOption",
                "type": "string"
            },
            "ANGLE": {
                "description": "Angle",
                "type": "number"
            },
            "R_S": {
                "description": "R_SDxR_SDyR_SDzR_SRxR_SRyR_SRz",
                "type": "array",
                "items": {
                    "type": "boolean",
                    "maxItems": 6
                }
            },
            "SDR": {
                "description": "SDxSDySDzSRxSRySRz",
                "type": "array",
                "items": {
                    "type": "number",
                    "maxItems": 6
                }
            },
            "bSHEAR": {
                "description": "SHEAR",
                "type": "boolean"
            },
            "DR": {
                "description": "DRyDRz",
                "type": "array",
                "items": {
                    "type": "number",
                    "maxItems": 2
                }
            },
            "BNGR_NAME": {
                "description": "BoundaryGroupName",
                "type": "string"
            },
            "DIR": {
                "description": "Direction",
                "type": "integer"
            },
            "MLFC": {
                "description": "Function",
                "type": "integer"
            },
            "RLFC": {
                "description": "RailTrackInteractionFunction",
                "type": "integer"
            },
            "DRENDI": {
                "description": "DistRatioEndI",
                "type": "number"
            }
        }
    }
}


Examples

General Type

{
    "Assign": {
        "1": {
            "NODE": [
                1,
                2
            ],
            "LINK": "GEN",
            "ANGLE": 0,
            "R_S": [
                false,
                false,
                false,
                false,
                false,
                false
            ],
            "SDR": [
                1100,
                1200,
                1300,
                1100000,
                1200000,
                1300000
            ],
            "bSHEAR": true,
            "DR": [
                0.5,
                0.5
            ],
            "BNGR_NAME": "Service"
        },
        "2": {
            "NODE": [
                2,
                3
            ],
            "LINK": "GEN",
            "ANGLE": 0,
            "R_S": [
                true,
                true,
                true,
                true,
                true,
                true
            ],
            "SDR": [
                1100,
                1200,
                1300,
                1100000,
                1200000,
                1300000
            ],
            "bSHEAR": true,
            "DR": [
                0.5,
                0.5
            ],
            "BNGR_NAME": "Service"
        }
    }
}

Rigid Type

{
    "Assign": {
        "3": {
            "NODE": [
                3,
                4
            ],
            "LINK": "RIGID",
            "ANGLE": 0,
            "BNGR_NAME": "Service"
        }
    }
}

Tension-Only Type

{
    "ELNK": {
        "4": {
            "NODE": [
                4,
                5
            ],
            "LINK": "TENS",
            "ANGLE": 0,
            "SDR": [
                1100,
                0,
                0,
                0,
                0,
                0
            ],
            "BNGR_NAME": "Service"
        }
    }
}

Compression-Only Type

{
    "Assign": {
        "5": {
            "NODE": [
                5,
                6
            ],
            "LINK": "COMP",
            "ANGLE": 0,
            "SDR": [
                1100,
                0,
                0,
                0,
                0,
                0
            ],
            "BNGR_NAME": "Service"
        }
    }
}

Multi-Linear Type

{
    "Assign": {
        "6": {
            "NODE": [
                6,
                7
            ],
            "LINK": "MULTILINEAR",
            "ANGLE": 0,
            "BNGR_NAME": "Service",
            "DIR": 1,
            "MLFC": 1,
            "DRENDI": 0.5
        }
    }
}

Saddle Type

{
    "Assign": {
        "7": {
            "NODE": [
                7,
                8
            ],
            "LINK": "SADDLE",
            "ANGLE": 0,
            "BNGR_NAME": "Service"
        }
    }
}

Rail Track Interaction Type

{
    "Assign": {
        "8": {
            "NODE": [
                8,
                9
            ],
            "LINK": "RAILINTERACT",
            "ANGLE": 0,
            "bSHEAR": true,
            "BNGR_NAME": "Service",
            "DIR": 1,
            "RLFC": 1
        }
    }
}


Specifications

No. Description Key Value Type Default Required

1

Assigned Node Number

 • [i Node, j Node]

"NODE"

Array
[Integer,2]

-

Required

2

Boundary Group Name

"BNGR_NAME"

String

Blank

Optional

3

Beta Angle

"ANGLE"

Number

0

Optional

General Type

4

Elastic Link type

 • General: "GEN"

"LINK"

String

-

Required

5

Stiffness

 • [SDx, SDy, SDz, SRx, SRy, SRz]

"SDR"

Array
[Number, 6]

-

Required

6

Stiffness Rigid

 • [SDx, SDy, SDz, SRx, SRy, SRz]

"R_S"

Array
[Boolean, 6]

false

Optional

7

Shear Spring Location

"bSHEAR"

Boolean

false

Optional

8

Distance Ratio from End I

 • [SDy, SDz]

"DR"

Array
[Number, 2]

0

Optional

Rigid/Saddle Type

4

Elastic Link type

 • Rigid: "RIGID"

 • Saddle: "SADDLE"

"LINK"

String

-

Required

Tension/Compression-Only Type

4

Elastic Link type

 • Tension-Only: "TENS"

 • Compression-Only: "COMP"

"LINK"

String

-

Required

5

Stiffness

 • [SDx, 0, 0, 0, 0, 0]

"SDR"

Array
[Number, 6]

-

Required

Multi-Linear Type

4

Elastic Link type

 • Multi-Linear: "MULTI LINEAR"

"LINK"

String

-

Required

5

Direction

 • Dx: 0

 • Dy: 1

 • Dz: 2

 • Rx: 3

 • Ry: 4

 • Rz: 5

"DIR"

Integer

0

Optional

6

Defined Force-Deformation Function ID Number

"MLFC"

Integer

-

Required

7

Shear Spring Location

 • Direction: Dy, Dz, Ry, Rz only

"bSHEAR"

Boolean

false

Optional

8

Distance Ratio from End I

"DRENDI"

Number

0

Optional

Rail Track Interaction Type

4

Elastic Link type

 • Rail Track Interaction: "RAIL INTERACT"

"LINK"

String

-

Required

5

Direction

 • Dy: 1

 • Dz: 2

"DIR"

Integer

0

Optional

6

Defined Rail-Track Interaction Function ID Number

"RLFC"

Integer

-

Required

7

Shear Spring Location

 • Direction: Dy, Dz, Ry, Rz only

"bSHEAR"

Boolean

false

Optional

8

Distance Ratio from End I

"DRENDI"

Number

0

Optional



MIDAS CIVIL NX only

0
Was this article helpful?