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”
beam_spacing (list of int or float) – Custom spacing of longitudinal members (global z-direction). A list of distances where the first and last entries are edge-beam overhangs and middle entries are between-main-beam distances. Supersedes
num_long_gridandedge_beam_distwhen provided.
Beam-link model (
model_type="beam_link"):- Parameters:
beam_width (float, optional) – Width of longitudinal members. Half this value defines the z-direction offset for transverse rigid links.
web_thick (float, optional) – Web thickness (reserved for future use).
centroid_dist_y (float, optional) – Vertical (y-direction) offset applied to longitudinal beam elements via the geometric-transform joint offset.
Shell-beam model (
model_type="shell_beam"):- Parameters:
offset_beam_y_dist (float, optional) – Vertical distance between the offset beam nodes and the shell plane.
beam_width (float, optional) – Width between the left and right rigid-link attachment points in the global z-direction.
max_mesh_size_z (float, optional) – Maximum shell element mesh size in the z-direction.
max_mesh_size_x (float, optional) – Maximum shell element mesh size in the x-direction.
Depending on the
model_typeargument, this function returns the relevant concrete class ofOspGrillage.- Returns: