Moving loads#

These classes define the machinery for moving-load analysis: the load travels along a Path and the MovingLoad engine distributes the payload (a LoadModel from load cases and models) to grillage nodes at each position increment.

Factory functions#

create_moving_load(**kwargs)

User interface function to create Moving Load object.

create_moving_path(**kwargs)

User interface function to create Path object for moving load.

Class methods#

set_path(path_obj)

Function to assign/modify the common path variable with a new Path object.

add_load(load_obj[, path_obj])

Function to set a load type (Loads class object) with its path (Path class object).

query(incremental_lc_name, **kwargs)

Function to query properties of moving load

Class reference#

MovingLoad#

class MovingLoad(name, **kwargs)#

Bases: object

Main class of moving load case. MovingLoad class parses and creates multiple loadcase object corresponding to traversing the input load groups - be it compound or single. Moving load is able to set various path (defined by Path class object) to individual load groups.

Parameters:
  • name (str) – Name string of moving load.

  • common_path (Path, optional) – Path object specifying the common path for all loads to traverse.

  • global_increment (int, optional) – Number of increments for discretizing the Path object.

Note

global_increment is used in advanced moving load analysis where a moving load object assigns each load type a corresponding unique Path object (which may differ between load groups).

Path#

class Path(start_point, end_point, increments=50)#

Bases: object

Class for defining and managing moving load paths.

Represents a trajectory along which loads traverse during a moving load analysis. Supports linear paths between start and end points with configurable discretization. Provides methods to generate path points with different levels of refinement.

Initialize a Path instance.

Parameters#

start_pointPoint

Starting position (x, y, z) of the path

end_pointPoint

Ending position (x, y, z) of the path

incrementsint, default 50

Number of discrete steps to divide the path into. Higher values give finer resolution for load positioning.

Notes#

The path is created as a straight line in 3D space from start_point to end_point. Each coordinate is linearly interpolated using numpy.linspace.