Model.setmeshparams_byedgecollection#
- Model.setmeshparams_byedgecollection(edge_collection, EdgeAlgType=INT_MAX, EdgeBiasing=DBL_MAX, EdgeBiasStyle=INT_MAX, EdgeChordalDeviation=DBL_MAX, EdgeDensity=DBL_MAX, EdgeDistribution=hwDoubleList(), EdgeElemSize=DBL_MAX, EdgeMaxAngle=DBL_MAX, EdgeMaxSize=DBL_MAX, EdgeMinSize=DBL_MAX)#
Sets 2D meshing edge and face parameters used during surface and element meshing, by providing an edge (line) entity collection.
For surface meshing, the edge definition is by surface edge entity or collection, and the face definition is by surface entity entity or collection.
For element remeshing, the edge definition is by pair of node entities of element edges, and the face definition is by element entity. 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:
edge_collection (Collection) – The collection containing the entities to set parameter for.
EdgeAlgType (int) –
Flag indicating the edge algorithm type. Valid for entity type in
edge_collectionas lines or nodes. Valid values are:1 - Size and biasing
2 - Chordal deviation. When the function is being called for the first time for an edge, or when any of the chordal deviation parameters have been changed, the elem_density parameter is ignored and the edge element density is set to the value required by the chordal deviation parameters. Subsequent calls of the function with the same chordal deviation parameters reset the edge element density to the specified value with the same along edge density distribution. Calling the function with elem_density=0 results in the resetting of the edge element density to the value required by the chordal deviation parameters.
EdgeBiasing (double) – The biasing value of the element length to use along the edge. Valid for entity_type as lines or nodes.
EdgeBiasStyle (int) –
The style of biasing to use. Valid for entity_type as lines or nodes. Valid values are:
0 - Linear
1 - Exponential
2 - Bell curve
EdgeChordalDeviation (double) – The maximum chordal deviation distance for the element for the edge. Valid for entity_type as lines or nodes.
EdgeDensity (double) – The element density for the edge. Valid for entity_type as lines or nodes.
EdgeDistribution (hwDoubleList) – The user-defined internal node distribution (e.g. “{0.1 0.3 0.6 0.9}”) for the edge. Valid for entity_type as lines or nodes.
EdgeElemSize (double) – The element size for the edge. Valid for entity_type as lines or nodes.
EdgeMaxAngle (double) – The maximum turn angle value (in degrees) between adjacent element links for the edge for chordal deviation meshing. Valid for entity_type as lines or nodes.
EdgeMaxSize (double) – The maximum element size for the edge for EdgeAlgType=2. Valid for entity_type as lines or nodes.
EdgeMinSize (double) – The minimum element size for the edge for all EdgeAlgType values. Valid for entity_type as lines or nodes.