def METHOD_NAME(
    dv_num, comp_id, comp_descript, elem_descripts, global_dvs, **kwargs
):
    # Setup (isotropic) property and constitutive objects
    prop = constitutive.MaterialProperties(rho=rho, E=E, nu=nu, ys=ys)
    con = constitutive.IsoRectangleBeamConstitutive(
        prop, t=t, tNum=dv_num, w=w, wNum=dv_num + 1
    )
    refAxis = np.array([0.0, 1.0, 0.0])
    transform = elements.BeamRefAxisTransform(refAxis)
    # pass back the appropriate tacs element object
    elem = elements.Beam2(transform, con)
    return elem