refine Module
- pyNastran.bdf.mesh_utils.refine.refine_model(bdf_filename: BDF | str | StringIO | PurePath, refinement_ratio: int = 2, skip_solids: bool = False) BDF[source]
xref should be turned off TODO: support refinement_ratio != 2
- Handles:
nodal continuity across elements
CBAR, CTRIA3, CQUAD4, CHEXA8…
handles overlapping CQUAD4s (that share the same nodes)
handles rotated/flipped interface between elememts (e.g., CQUAD4/CQUAD4 or CQUAD4/CHEXA8)
Todo
support refinement_ratio != 2…minor
Todo
doesn’t support CPENTA6…high priority, not bad
Todo
doesn’t support CPENTA6/CQUAD4 interface…high priority, not bad
Todo
doesn’t support CPENTA6/CTRIA3 interface…high priority, not bad
Todo
doesn’t support CTETRA4…low priority, not bad
Todo
doesn’t support CTETRA4/CTRIA3 interface…low priority, not bad
Warning
doesn’t handle overlapping solid elements…low priority, pain
Warning
doesn’t handle CBAR wa/wb
Warning
probably doesn’t handle CBAR orientation vector correctly
Note
doesn’t refine SPCs / RBEs