MeshRefinementRule

A mesh refinement rule.

Example

app = cf.GetApplication()
project = app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/Dipole_Example.cfx]])

    -- Add an adaptive refinement rule
    
project.MeshRefinementRules:AddPointRefinement(cf.Point(0,0,0),0.01,0.01)

    -- Obtain the 'MeshRefinementRulesCollection'
    
meshRefinementRules = project.MeshRefinementRules

    -- Obtain the mesh refinement rule and change mesh size to 0.02
    
meshRefinementRule = meshRefinementRules[1]  
meshRefinementRule.MeshSize = 0.02

Inheritance

The following objects are derived (specialisations) from the MeshRefinementRule object:

Property List

Label
The object label. (Read/Write string)

Method List

Delete ()
Delete the mesh refinement rule.

Property Details

Label
The object label.
Type
string
Access
Read/Write

Method Details

Delete ()
Delete the mesh refinement rule.