ospgrillage.osp_grillage.create_grillage#
- create_grillage(**kwargs)#
User interface to create
OspGrillage
object.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”
kwargs – See below
- Keyword:
ext_to_int_dist: (Int or Float, or a List of Int or Float) distance between internal beams and
- exterior main beams. If list is provided (usually size 2), apply each distinct distance to left and right
side respectively.
Depending on the
model_type
argument, this function returns the relevant concrete class ofOspGrillage
.- Returns: