create_boundary_fitted_spline#
- BoundaryFittedSpline.create_boundary_fitted_spline(part_id, cell_zonelet_ids, boundary_fitted_spline_params)#
Create boundary fitted spline for structured hex-mesh.
The hex-mesh can be structured in blocks but must be conformally connected. That is, each block must have six sided volume and must be connected to other blocks through unique face. The degree and number of control points of the spline can be set in the fitting parameter structure.
- Parameters:
- part_id
int
Id of the part.
- cell_zonelet_ids
Iterable
[int
] Ids of the cell zonelets on which spline will be fit.
- boundary_fitted_spline_params
BoundaryFittedSplineParams
Structure containing spline fitting parameters.
- part_id
- Returns:
IGAResults
Returns the IGAResults.
- Return type:
Examples
>>> from ansys.meshing.prime import BoundaryFittedSpline >>> #connect client to server and get model from it >>> client = Client(ip="localhost", port=50060) >>> model = client.model >>> boundary_fitted_spline = BoundaryFittedSpline(model = model) >>> results = boundary_fitted_spline.create_boundary_fitted_spline(part_id, cell_zonelet_ids, boundary_fitted_spline_params)