MeshAdvancedSettings

Properties controlling advanced mesh creation.

Example

app = cf.GetApplication()
project = app:NewProject()

project.SolutionConfigurations[1].Frequency.Start = "1e06"

    -- Obtain the 'MeshAdvancedSettings'
    
advancedMeshSettings = project.Mesher.Settings.Advanced

    -- Set the 'GrowthRate' to 20.0

advancedMeshSettings.GrowthRate = 20.0

    -- Create geometry and mesh

project.Geometry:AddSphere(cf.Point(0,0,0),1)
project.Mesher:Mesh() 

Usage locations (object properties)

The following objects have properties using the MeshAdvancedSettings object:

Property List

CurvilinearSegments
Control the use of wire segment curvilinear meshing. (Read/Write MeshCurvilinearOptionsEnum)
CurvilinearTriangles
Control the use of triangular curvilinear meshing. (Read/Write MeshCurvilinearOptionsEnum)
ElongatedTrianglesAllowed
Allow use of long, thin triangles where required. (Read/Write boolean)
GrowthRate
Controls how quickly the mesh size changes. A dimensionless number in the range [0 (Slow), 100 (Fast)], rounded to the nearest 20. (Read/Write number)
MinElementSize
A lower limit on the size of mesh refinements compared to the average edge length of the part. A dimensionless number in the range [0 (Small),100 (Medium)]. (Read/Write number)
RefinementFactor
Controls how closely mesh conforms to geometry. A dimensionless number in the range [0 (Fine), 100 (Coarse)]. (Read/Write number)
SmallGeometrySuppression
Control how small geometry details are handled. (Read/Write MeshSmallGeometryOptionsEnum)
SmallGeometryThreshold
Specifies the limit of what is considered a small geometry feature as a percentage of the size of the part that it belongs to (%). (Read/Write Expression)
SmoothingEnabled
If enabled, an additional smoothing algorithm is applied which increases mesh quality but also meshing time. (Read/Write boolean)

Property Details

CurvilinearSegments
Control the use of wire segment curvilinear meshing.
Type
MeshCurvilinearOptionsEnum
Access
Read/Write
CurvilinearTriangles
Control the use of triangular curvilinear meshing.
Type
MeshCurvilinearOptionsEnum
Access
Read/Write
ElongatedTrianglesAllowed
Allow use of long, thin triangles where required.
Type
boolean
Access
Read/Write
GrowthRate
Controls how quickly the mesh size changes. A dimensionless number in the range [0 (Slow), 100 (Fast)], rounded to the nearest 20.
Type
number
Access
Read/Write
MinElementSize
A lower limit on the size of mesh refinements compared to the average edge length of the part. A dimensionless number in the range [0 (Small),100 (Medium)].
Type
number
Access
Read/Write
RefinementFactor
Controls how closely mesh conforms to geometry. A dimensionless number in the range [0 (Fine), 100 (Coarse)].
Type
number
Access
Read/Write
SmallGeometrySuppression
Control how small geometry details are handled.
Type
MeshSmallGeometryOptionsEnum
Access
Read/Write
SmallGeometryThreshold
Specifies the limit of what is considered a small geometry feature as a percentage of the size of the part that it belongs to (%).
Type
Expression
Access
Read/Write
SmoothingEnabled
If enabled, an additional smoothing algorithm is applied which increases mesh quality but also meshing time.
Type
boolean
Access
Read/Write