mod

package
v0.0.0-...-7143788 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(exp, act []hd.LoadCase, eps float64) error

Compare reactions and displacement, return nil is load cases are same or return error for other cases.

func LoadUniform

func LoadUniform(m *hd.Model, beamIndex int, projection bool, uf [2]float64) (ln []hd.LoadNode, err error)

LoadUniform - convert uniform load on single beam to node load and return slice of node load or error if input data not valid. Use for selfweight - not-projection load.

uf is uniform load in global system direction
[0] - X , Unit: N
[1] - Y , Unit: N

Example of projection uniform load on beam with different location:
uf = [2]float64{ 0.0 , -1.0 }
+--+--+
|  |  |
V  V  V
•                •          +-----+-----+
 \               |          |     |     |
  \              |          V     V     V
   \             |          •-----------•
    \            |
     \           |
      •          •

Example of not-projection uniform load on beam with different location:
uf = [2]float64{ 0.0 , -1.0 }
|\
V \
•  \             •          +-----+-----+
 \ |\            | |        |     |     |
  \V \           | V        V     V     V
   \  |          |          •-----------•
    \ |          | |
     \V          | V
      •          •

TODO (KI) : add specific for pin ends, because that function specific only for rigit ends.

func SplitBeam

func SplitBeam(m *hd.Model, beamIndex, amountIntermediantPoints int) (err error)

SplitBeam is split beam on small parts. Rules of splitting:

  • beamIndex will beam connected to start beam point
  • all new point add at the end of point list
  • all new beam add at the end of beam list

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL