MeshAdvancedSettings
Properties controlling advanced mesh creation.
Example
application = cf.Application.GetInstance() project = application:NewProject() project.Contents.SolutionConfigurations.GlobalFrequency.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.Contents.Geometry:AddSphere(cf.Point(0,0,0),1) project.Mesher:Mesh()
Inheritance
The MeshAdvancedSettings object is derived from the CompositeValue object.
Usage locations
The MeshAdvancedSettings object can be accessed from the following locations:
- Properties
- MeshSettings object has property Advanced.
- LocalMeshSettings object has property Advanced.
- GlobalMeshSettings object has property Advanced.
- Methods
- MeshAdvancedSettingsList object has method Append().
- MeshAdvancedSettingsList object has method Get(number).
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)
- InsufficientMemoryProtectionEnabled
- Stops meshing if there is insufficient memory based on the estimated requirements. (Read/Write boolean)
- 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)
- PreserveAllEntitiesEnabled
- Preserve all entities during meshing. (Read/Write boolean)
- RefinementFactor
- Controls how closely mesh conforms to geometry. A dimensionless number in the range [0 (Fine), 100 (Coarse)]. (Read/Write number)
- SmallFeatureSize
- Minimum element size. (Read/Write ParametricExpression)
- SmallFeatureSizeRatio
- Minimum element size to maximum size ratio. (Read/Write ParametricExpression)
- SmallFeatureSuppression
- Control how small feature details are handled. (Read/Write MeshSmallFeatureOptionsEnum)
- 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 ParametricExpression)
- 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
- InsufficientMemoryProtectionEnabled
- Stops meshing if there is insufficient memory based on the estimated requirements.
- Type
- boolean
- 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
- PreserveAllEntitiesEnabled
- Preserve all entities during meshing.
- Type
- boolean
- 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
- SmallFeatureSize
- Minimum element size.
- Type
- ParametricExpression
- Access
- Read/Write
- SmallFeatureSizeRatio
- Minimum element size to maximum size ratio.
- Type
- ParametricExpression
- Access
- Read/Write
- SmallFeatureSuppression
- Control how small feature details are handled.
- Type
- MeshSmallFeatureOptionsEnum
- 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
- ParametricExpression
- 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