Model.setmeshparams_byfacecollection#

Model.setmeshparams_byfacecollection(face_collection, FaceAlgType=INT_MAX, FaceElemType=INT_MAX, FaceElemType2=INT_MAX, FaceMeshAlgorithm=INT_MAX, FaceMeshMapPoint1=Entity(), FaceMeshMapPoint2=Entity(), FaceMeshMapPoint3=Entity(), FaceMeshMapPoint4=Entity(), FaceMeshMapPoint5=Entity(), FaceSizeControl=INT_MAX, FaceSkewControl=INT_MAX, FaceSmoothMethod=0, FaceSmoothTolerance=DBL_MAX)#

Sets 2D meshing edge and face parameters used during surface and element meshing. For surface meshing, the edge definition is by surface edge entity ID or mark, and the face definition is by surface entity ID or mark. For element remeshing, the edge definition is by pair of node IDs of element edges, and the face definition is by element ID. While remeshing, topology is built with the user-defined feature option. A topological edge is assigned a user given edge parameter if it is part of a user given element edge, and similarly for face parameters.

Parameters:
  • face_collection (Collection) – The collection containing the input entities.

  • FaceAlgType (int) –

    Flag indicating the face algorithm type. Valid for face_collection containing surfaces or elements. Valid values are:

    0 - Standard surface meshing

    1 - Meshing with flow “align” control

    3 - Meshing with flow “align” and “size” control

  • FaceElemType (int) –

    Flag indicating the elements generated for mapped meshing algorithms. Valid for face_collection containing as surfaces or elements. Valid values are:

    0 - Trias

    1 - Quads

    2 - Mixed

    3 - Right trias

    4 - Quads only

    5 - No meshing

  • FaceElemType2 (int) –

    Flag indicating the elements generated for free meshing algorithms. Valid for face_collection containing surfaces or elements. Valid values are:

    0 - Trias

    1 - Quads

    2 - Mixed

    3 - Right trias

    4 - Quads only

    5 - No meshing

  • FaceMeshAlgorithm (int) –

    Determines the surface-based mesh generation algorithm to use when creating elements on the face. Valid for face_collection containing surfaces or elements. Valid values are:

    1 - Auto-decide

    2 - Map as rectangle

    3 - Map as triangle

    4 - Map as pentagon

    5 - Map as circle

    6 - Free shape

  • FaceMeshMapPoint1 (Entity) – The object describing the point1 entity.

  • FaceMeshMapPoint2 (Entity) – The object describing the point2 entity.

  • FaceMeshMapPoint3 (Entity) – The object describing the point3 entity.

  • FaceMeshMapPoint4 (Entity) – The object describing the point4 entity.

  • FaceMeshMapPoint5 (Entity) – The object describing the point5 entity.

  • FaceSizeControl (int) –

    Flag indicating whether to create uniformly sized elements. Valid for face_collection containing surfaces or elements. Valid values are:

    0 - Do not create uniformly sized elements

    1 - Create uniformly sized elements

  • FaceSkewControl (int) –

    Flag indicating whether to create optimally shaped elements when using mapping algorithms. Valid for face_collection containing surfaces or elements. Valid values are:

    0 - Do not create optimally shaped elements

    1 - Create optimally shaped elements

  • FaceSmoothMethod (int) –

    The smoothing method to use. Valid for face_collection containing surfaces or elements. Valid values are:

    0 - Auto-decide

    1 - Size corrected

    2 - Shape corrected

  • FaceSmoothTolerance (double) – Applies the smoothing algorithm until the largest adjustment made to a nodal position is less than this value. Valid vales are > 0.0. Valid for face_collection containing surfaces or elements.