Skip to content

Latest commit

 

History

History
207 lines (159 loc) · 18.5 KB

File metadata and controls

207 lines (159 loc) · 18.5 KB
title BaseLoad

BaseLoad

Functions

createBaseLoad(load_type, no, load_case, index_list, comment, params)Object

Creates load based on its type

createSimplyValueLoad(load_type, no, load_case, nodes, force, moment, mass, load_direction, comment, params)Object

Creates load with one only value (force, mass and so on)

showLoadAssert(load_type, load_distribution)

Shows assert (private)

setLoadValues(arguments)

Set load parameters

setAxis(load, value)Boolean

Sets axis for rotary motion load type

setAxisAndOrientation(load, value)Boolean

Sets axis and orientation for rotary motion load type

setLineLoadDistribution(load, load_type, load_distribution, load_values)Object

Function assigns parameters to line / line set load depend of load type and load distribution (private)

setMemberLoadDistribution(load, load_type, load_distribution, load_values)Object

Function assigns parameters to member / member set load depend of load type and load distribution (private)

setSurfaceLoadDistribution(load, load_type, load_distribution, load_values)Object

Function assigns parameters to surface / surface set load depend of load type and load distribution (private)

setSolidLoadDistribution(load, load_type, load_distribution, load_values)Object

Function assigns parameters to solid / solid set load depend of load type and load distribution (private)

setCommonFreeLoadsValues(load, load_projection, load_direction, load_acting_region_from, load_acting_region_to)Object

Updates common parameters for free loads

createBaseLoad(load_type, no, load_case, index_list, comment, params) ⇒ Object

Creates load based on its type

Kind: global function
Returns: Object - Created load

Param Type Description
load_type Number Load type
no Number Index of load, can be undefined
load_case Object Load case
index_list Array List of assigned objects (indexes), can be empty
comment String Comment, can be undefined
params Object Load parameters, can be undefined

createSimplyValueLoad(load_type, no, load_case, nodes, force, moment, mass, load_direction, comment, params) ⇒ Object

Creates load with one only value (force, mass and so on)

Kind: global function
Returns: Object - Created load

Param Type Description
load_type Number Load type
no Number Index of nodal load, can be undefined
load_case Object Load case
nodes Array List of node indexes, can be undefined
force Number Load force value, can be undefined
moment Number Load moment value, can be undefined
mass Number Load mass value, can be undefined
load_direction String Load direction, can be undefined
comment String Comment, can be undefined
params Object Load parameters, can be undefined

showLoadAssert(load_type, load_distribution)

Shows assert (private)

Kind: global function

Param Type Description
load_type String Load type
load_distribution String Load distribution, can be undefined

setLoadValues(arguments)

Set load parameters

Kind: global function

Param Type Description
arguments Array Arguments: arg[0] - load, arg[1] - load parameters, arg[2] - load parameters to be set

setAxis(load, value) ⇒ Boolean

Sets axis for rotary motion load type

Kind: global function
Returns: Boolean - True if axis and orientation was successfully set

Param Type Description
load Object Load
value String Parallel axis (X, Y, Z)

setAxisAndOrientation(load, value) ⇒ Boolean

Sets axis and orientation for rotary motion load type

Kind: global function
Returns: Boolean - True if axis and orientation was successfully set

Param Type Description
load Object Load
value String Parallel axis (+X, -X, ...)

setLineLoadDistribution(load, load_type, load_distribution, load_values) ⇒ Object

Function assigns parameters to line / line set load depend of load type and load distribution (private)

Kind: global function
Returns: Object - Returns modified load

Param Type Description
load Object Load
load_type String Load type
load_distribution String Load distribution
load_values Array Load parameters depend on load type and load distribution - (load type / load distribution: [valid values]) - "Force" / "Uniform": [p] - "Force" / "Uniform - Total": [P] - "Force" / "Concentrated - 1": [P, A, is_a_relative] - "Force" / "Concentrated - n x": [P, n, A, B, is_a_relative, is_b_relative] - "Force" / "Concentrated - 2 x 2": [P, A, B, C, is_a_relative, is_b_relative, is_c_relative] - "Force" / "Concentrated - 2 x": [P1, A, P2, B, is_a_relative, is_b_relative] - "Force" / "Concentrated - Varying": [P1, x1, P2, x2 ... Pn, xn] - "Force" / "Trapezoidal": [p1, B, p2, A, is_b_relative, is_a_relative] - "Force" / "Tapered": [p1, p2, A, B, is_a_relative, is_b_relative] - "Force" / "Parabolic": [p1, p2, p3] - "Force" / "Varying": [p1, x1, p2, x2 ... pn, xn] - "Force" / "Varying in Z": [p1, z1, p2, z2 ... pn, zn] - "Moment" / "Uniform" (load type / load distribution): [m] - "Moment" / "Concentrated - 1": [M, A, is_a_relative] - "Moment" / "Concentrated - n x": [M, n, A, B, is_a_relative, is_b_relative] - "Moment" / "Concentrated - 2 x 2": [M, A, B, C, is_a_relative, is_b_relative, is_c_relative] - "Moment" / "Concentrated - 2 x": [M1, A, M2, B, is_a_relative, is_b_relative] - "Moment" / "Concentrated - Varying": [M1, x1, M2, x2 ... Mn, xn] - "Moment" / "Trapezoidal": [m1, B, m2, A, is_b_relative, is_a_relative] - "Moment" / "Tapered": [m1, m2, A, B, is_a_relative, is_b_relative] - "Moment" / "Parabolic": [m1, m2, m3] - "Moment" / "Varying": [m1, x1, m2, x2 ... mn, xn] - "Mass" / "Uniform": M

setMemberLoadDistribution(load, load_type, load_distribution, load_values) ⇒ Object

Function assigns parameters to member / member set load depend of load type and load distribution (private)

Kind: global function
Returns: Object - Returns modified load

Param Type Description
load Object Load
load_type String Load type
load_distribution String Load distribution, can be undefined
load_values Array Load parameters depend on load type and load distribution - (load type / load distribution: [valid values]) - "Force" / "Uniform": [p] - "Force" / "Uniform - Total": [P] - "Force" / "Concentrated - 1": [P, A, is_a_relative] - "Force" / "Concentrated - n x": [P, n, A, B, is_a_relative, is_b_relative] - "Force" / "Concentrated - 2 x 2": [P, A, B, C, is_a_relative, is_b_relative, is_c_relative] - "Force" / "Concentrated - 2 x": [P1, A, P2, B, is_a_relative, is_b_relative] - "Force" / "Concentrated - Varying": [P1, x1, P2, x2 ... Pn, xn] - "Force" / "Trapezoidal": [p1, B, p2, A, is_b_relative, is_a_relative] - "Force" / "Tapered": [p1, p2, A, B, is_a_relative, is_b_relative] - "Force" / "Parabolic": [p1, p2, p3] - "Force" / "Varying": [p1, x1, p2, x2, ... pn, xn] - "Force" / "Varying in Z": [p1, z1, p2, z2 ... pn, zn] - "Moment" / "Uniform" (load type / load distribution): [m] - "Moment" / "Concentrated - 1": [M, A, is_a_relative] - "Moment" / "Concentrated - n x": [M, n, A, B, is_a_relative, is_b_relative] - "Moment" / "Concentrated - 2 x 2": [M, A, B, C, is_a_relative, is_b_relative, is_c_relative] - "Moment" / "Concentrated - 2 x": [M1, A, M2, B, is_a_relative, is_b_relative] - "Moment" / "Concentrated - Varying": [M1, x1, M2, x2 ... Mn, xn] - "Moment" / "Trapezoidal": [m1, B, m2, A, is_b_relative, is_a_relative] - "Moment" / "Tapered": [m1, m2, A, B, is_a_relative, is_b_relative] - "Moment" / "Parabolic": [m1, m2, m3] - "Moment" / "Varying": [m1, x1, m2, x2, ... mn, xn] - "Mass" / "Uniform": M - "Temperature" / "Uniform": [Tt, Tb] - "Temperature" / "Trapezoidal": [Tt1, B, Tb1, Tt2, Tb2, A, is_b_relative, is_a_relative] - "Temperature" / "Tapered": [Tt1, Tb1, Tt2, Tb2, A, B, is_a_relative, is_b_relative] - "Temperature" / "Parabolic": [Tt1, Tb1, Tt2, Tb2, Tt3, Tb3] - "Temperature" / "Varying": [Tt1, Tb1, x1, Tt2, Tb2, x2 ... Ttn, Tbn, xn] - "Temperature Change" / "Uniform": [Tc, ΔT] - "Temperature Change" / "Trapezoidal": [Tc1, B, ΔT1, Tc2, ΔT2, A, is_b_relative, is_a_relative] - "Temperature Change" / "Tapered": [Tc1, ΔT1, ΔT2, ΔT2, A, B, is_a_relative, is_b_relative] - "Temperature Change" / "Parabolic": [Tt1, ΔT1, Tt2, ΔT2, Tt3, ΔT3] - "Temperature Change" / "Varying": [Tc1, ΔT1, x1, Tc2, ΔT2, x2 ... Tcn, ΔTn, xn] - "Axial Strain" / "Uniform": [ε] - "Axial Strain" / "Trapezoidal": [ε1, B, ε2, A, is_b_relative, is_a_relative] - "Axial Strain" / "Tapered": [ε1, ε2, A, B, is_a_relative, is_b_relative] - "Axial Strain" / "Parabolic": [ε1, ε2, ε3] - "Axial Strain" / Varying": [ε1, x1, ε2, x2, ... εn, xn] - "Axial Displacement" / "Uniform": Δl - "Precamber" / "Uniform": [κ] - "Precamber" / "Trapezoidal": [κ1, B, κ2, A, is_b_relative, is_a_relative] - "Precamber" / "Tapered": [κ1, A, κ2, B, is_a_relative, is_a_relative] - "Precamber" / "Parabolic": [κ1, κ2, κ3] - "Precamber" / "Varying": [κ1, x1, κ2, x2, ... κn, xn] - "Initial Prestress" / "Uniform": V - "Displacement" / "Uniform": [δ] - "Displacement" / "Concentrated - 1": [Δ, A, is_a_relative] - "Displacement" / "Concentrated - n x": [Δ, n, A, B, is_a_relative, is_b_relative] - "Displacement" / "Concentrated - 2 x 2": [Δ, A, B, C, is_a_relative, is_b_relative, is_c_relative] - "Displacement" / "Concentrated - 2 x": [Δ1, Δ2, A, B, is_a_relative, is_b_relative] - "Displacement" / "Concentrated - Varying": [Δ1, x1, Δ2, x2 ... Δn, xn] - "Displacement" / "Trapezoidal": [δ1, B, δ2, A, is_b_relative, is_a_relative] - "Displacement" / "Tapered": [δ1, δ2, A, B, is_a_relative, is_b_relative] - "Displacement" / "Parabolic": [δ1, δ2, δ3] - "Displacement" / "Varying": [δ1, x1, δ2, x2, ... δn, xn] - "Rotation" / "Uniform": [φ] - "Rotation" / "Concentrated - 1": [φ, A, is_a_relative] - "Rotation" / "Concentrated - n x": [φ, n, A, B, is_a_relative, is_b_relative] - "Rotation" / "Concentrated - 2 x 2": [φ, A, B, C, is_a_relative, is_b_relative, is_c_relative] - "Rotation" / "Concentrated - 2 x": [φ1, A, φ2, B, is_a_relative, is_b_relative] - "Rotation" / "Concentrated - Varying": [φ1, x1, φ2, x2 ... φn, xn] - "Rotation" / "Trapezoidal": [φ1, B, φ2, A, is_b_relative, is_a_relative] - "Rotation" / "Tapered": [φ1, φ2, A, B, is_a_relative, is_b_relative] - "Rotation" / "Parabolic": [φ1, φ2, φ3] - "Rotation" / "Varying": [φ1, x1, φ2, x2, ... φn, xn] - "Pipe Content - Full" / "Uniform": γ - "Pipe Content - Partial" / "Uniform": [γ, d] - "Pipe Internal Pressure" / "Uniform": p - "Rotary Motion": [axis_definition, ω, α, [Node1, Node2]

setSurfaceLoadDistribution(load, load_type, load_distribution, load_values) ⇒ Object

Function assigns parameters to surface / surface set load depend of load type and load distribution (private)

Kind: global function
Returns: Object - Returns modified load

Param Type Description
load Object Load
load_type String Load type
load_distribution String Load distribution, can be undefined
load_values Array Load parameters depend on load type and load distribution - (load type / load distribution: [valid values]) - "Force" / "Uniform": [p] - "Force" / "Linear": [Node1, Node2, Node3, p1, p2, p3] - "Force: / "Linear in X": [Node1, Node2, p1, p2] - "Force" / "Linear in Y": [Node1, Node2, p1, p2] - "Force" / "Linear in Z": [Node1, Node2, p1, p2] - "Force" / "Radial": [axis_definition, p1, p2, Node1, Node2, [Node1, Node2]

setSolidLoadDistribution(load, load_type, load_distribution, load_values) ⇒ Object

Function assigns parameters to solid / solid set load depend of load type and load distribution (private)

Kind: global function
Returns: Object - Returns modified load

Param Type Description
load Object Load
load_type String Load type
load_distribution String Load distribution, can be undefined
load_values Array Load parameters depend on load type and load distribution - (load type / load distribution: [valid values]) - "Force" / "Uniform": [p] - "Temperature" / "Uniform": [T] - "Temperature" / "Linear in X": [Node1, Node2, T1, T2] - "Temperature" / "Linear in Y": [Node1, Node2, T1, T2] - "Temperature" / "Linear in Z": [Node1, Node2, T1, T2] - "Strain" / "Uniform": [εx, εy, εz] - "Strain" / "Linear in X": [Node1, Node2, ε1x, ε1y, ε1z, ε2x, ε2y, ε2z] - "Strain" / "Linear in Y": [Node1, Node2, ε1x, ε1y, ε1z, ε2x, ε2y, ε2z] - "Strain" / "Linear in Z": [Node1, Node2, ε1x, ε1y, ε1z, ε2x, ε2y, ε2z] - "Buoyancy" / "Uniform": [p] - "Rotary Motion": [axis_definition, p1, p2, Node1, Node2, [Node1, Node2]

setCommonFreeLoadsValues(load, load_projection, load_direction, load_acting_region_from, load_acting_region_to) ⇒ Object

Updates common parameters for free loads

Kind: global function
Returns: Object - Updated free load

Param Type Description
load Object Load
load_projection String Load projection, can be undefined
load_direction String Load direction, can be undefined
load_acting_region_from Number Start of load acting region, can be undefined
load_acting_region_to Number End of load acting region, can be undefined