dvxrel Module
- pyNastran.bdf.mesh_utils.dvxrel.get_dvprel_ndarrays(model: BDF, nelements: int, pids: np.ndarray, fdtype: str = 'float32', idtype: str = 'int32') dict[str, Any][source]
Creates arrays for dvprel results
- Parameters:
- nelementsint
the number of elements
- pids(nelements,) int ndarray
properties array to map the results to
- fdtypestr; default=’float32’
the type of the init/min/max arrays
- idtypestr; default=’int32’
the type of the design_region
- Returns:
- dvprel_dict[key](design_region, dvprel_init, dvprel_min, dvprel_max)
- keystr
the optimization string
- design_region(nelements,) int ndarray
the DVPRELx id
- dvprel_init(nelements,) float ndarray
the initial values of the variable
- dvprel_min(nelements,)float ndarray
the min values of the variable
- dvprel_max(nelements,)float ndarray
the max values of the variable