MeshUnmeshedCylinderRegion
A mesh entity representing one or more unmeshed cylinders. This type of mesh is typically solved using a solution method that does not require fine subdivision, like the uniform theory of diffraction.
Example
app = cf.GetApplication() project = app:NewProject() -- Set the frequency project.SolutionConfigurations[1].Frequency.Start = "1e08" -- Create geometry, set the solution method to UTD cylinder = project.Geometry:AddCylinder(cf.Point(-0.25,-0.25,0), 0.5, 1.0) cylinder.Regions["Region1"].SolutionMethod = cf.Enums.RegionSolutionMethodEnum.UTD -- Mesh project.Mesher:Mesh() project.Geometry["Cylinder1"]:UnlinkMesh() meshUnmeshedCylinderRegions = project.Meshes["Cylinder1_1"].UnmeshedCylinderRegions for i in ipairs(meshUnmeshedCylinderRegions) do -- Obtain the 'MeshUnmeshedCylinderRegion' meshUnmeshedCylinderRegion = meshUnmeshedCylinderRegions[i] -- Store the number of cylinders in this mesh unmeshed region numberOfCylinders = meshUnmeshedCylinderRegion.Cylinders.Count end
Inheritance
The MeshUnmeshedCylinderRegion object is derived from the MeshEntity object.
Property List
Method List
- Delete ()
- Delete the MeshEntity.
Property Details
- Cylinders
- The list of unmeshed cylinders that form the mesh region.
- Type
- MeshCylinders
- Access
- Read only
- Label
- The object label.
- Type
- string
- Access
- Read/Write
- Part
- The mesh part that this entity belongs to.
- Type
- Mesh
- Access
- Read only
- Type
- The object type string.
- Type
- string
- Access
- Read only
Method Details
- Delete ()
- Delete the MeshEntity.