create_grillage#

create_grillage(**kwargs)#

Create a bridge deck grillage model.

The constructor takes the following arguments:

Parameters:
  • model_type (str) – Name string of model type - default is “beam”

  • bridge_name (str) – Name of bridge model and output .py file

  • long_dim (int or float) – Length of the model in the longitudinal direction (default: x axis)

  • width (int or float) – Width of the model in the transverse direction (default: z axis)

  • skew (int or float) – Skew angle of the start and end edges of model

  • num_long_grid (int) – Number of grid lines in longitudinal direction

  • num_trans_grid (int) – Number of grid lines in the transverse direction.

  • edge_beam_dist (int or float) – Distance of edge beam node lines to exterior main beam node lines

  • mesh_type (string) – Type of mesh either “Ortho” or “Oblique” - default “Ortho”

  • ext_to_int_dist (int, float, or list of int/float) – Distance between internal beams and exterior main beams. If a list of size 2 is provided, the two values are applied to the left and right side respectively.

Depending on the model_type argument, this function returns the relevant concrete class of OspGrillage.

Returns:

OspGrillageBeam or OspGrillageShell