# MeshCurvilinearTriangleFace

A mesh entity representing a face meshed using curvilinear triangles.

## Example

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

-- Settings for curvilinear meshing

project.SolutionSettings.SolverSettings.GeneralSettings.BasisFunctionSettings.HOBFEnabled = true

frequency = project.SolutionConfigurations[1].Frequency
frequency.Start = "1e08"

-- Create geometry and mesh

project.Mesher:Mesh()

meshCurvilinearTriangleFaces = project.Meshes["Sphere1_1"].CurvilinearTriangleFaces

-- Retrieve a specific 'MeshCurvilinearTriangleFace' from the collection.

meshCurvilinearTriangleFace = meshCurvilinearTriangleFaces["Face1"]

-- Reverse all the face normals

meshCurvilinearTriangleFace:ReverseElementNormals()


## Inheritance

The MeshCurvilinearTriangleFace object is derived from the MeshEntity object.

## Property List

BackMedium
The surrounding region medium on the back side of the face. (Read/Write Medium)
BasisFunctionSettings
Local basis function solver settings for the face. (Read only BasisFunctionLocalSolverSettings)
Coating
The face coating specified by a predefined Layered dielectric medium. An electrically thin coating is applied on both sides of the face, while an electrically thick coating is applied on the normal side of the face. The face should be set up to have free space on at least one of the sides, while the other side can be free space or PEC. Changing this property will set CoatingEnabled to true. (Read/Write Medium)
CoatingEnabled
Specifies if a coating should be applied to the face. (Read/Write boolean)
CurvilinearTriangles
The list of curvilinear mesh triangles that form the curvilinear mesh face. (Read only MeshCurvilinearTriangles)
FaceMedium
The face medium. (Read/Write Medium)
FrontMedium
The surrounding region medium on the front side of the face. (Read/Write Medium)
IntegralEquation
The type of integral equation for perfectly conducting metallic surfaces. Only applies when SolutionMethod is set to None. (Read/Write IntegralEquationTypeEnum)
Label
The object label. (Read/Write string)
LocalMeshSize
The local mesh size for the face. Changing this property will set LocalMeshSizeEnabled to true. (Read/Write Expression)
LocalMeshSizeEnabled
Specifies if the local mesh size should be used for the face. (Read/Write boolean)
Part
The mesh part that this entity belongs to. (Read only Mesh)
ReferenceDirection
The reference direction used to define the principle direction. Only applies when the Medium is defined as a LayeredAnisotropicDielectric. (Read only ReferenceDirection)
SolutionMethod
The local solution method used for the face. (Read/Write FaceSolutionMethodEnum)
SurfaceCoatingType
The surface coating type for the face. (Read/Write SurfaceCoatingTypeEnum)
Thickness
The face medium thickness. Only applies when the FaceMedium is defined as a Metallic. (Read/Write Expression)
Type
The object type string. (Read only string)
Windscreen
The windscreen solution method settings for the face. Only applies if the SolutionMethod is set to Windscreen. (Read only WindscreenSolutionMethod)

## Method List

Delete ()
Delete the MeshEntity.
GetProperties ()
Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step. (Returns a table object.)
ReverseElementNormals ()
Reverses the element normals of the mesh face.
SetProperties (properties table)
Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.

## Property Details

BackMedium
The surrounding region medium on the back side of the face.
Type
Medium
Access
BasisFunctionSettings
Local basis function solver settings for the face.
Type
BasisFunctionLocalSolverSettings
Access
Coating
The face coating specified by a predefined Layered dielectric medium. An electrically thin coating is applied on both sides of the face, while an electrically thick coating is applied on the normal side of the face. The face should be set up to have free space on at least one of the sides, while the other side can be free space or PEC. Changing this property will set CoatingEnabled to true.
Type
Medium
Access
CoatingEnabled
Specifies if a coating should be applied to the face.
Type
boolean
Access
CurvilinearTriangles
The list of curvilinear mesh triangles that form the curvilinear mesh face.
Type
MeshCurvilinearTriangles
Access
FaceMedium
The face medium.
Type
Medium
Access
FrontMedium
The surrounding region medium on the front side of the face.
Type
Medium
Access
IntegralEquation
The type of integral equation for perfectly conducting metallic surfaces. Only applies when SolutionMethod is set to None.
Type
IntegralEquationTypeEnum
Access
Label
The object label.
Type
string
Access
LocalMeshSize
The local mesh size for the face. Changing this property will set LocalMeshSizeEnabled to true.
Type
Expression
Access
LocalMeshSizeEnabled
Specifies if the local mesh size should be used for the face.
Type
boolean
Access
Part
The mesh part that this entity belongs to.
Type
Mesh
Access
ReferenceDirection
The reference direction used to define the principle direction. Only applies when the Medium is defined as a LayeredAnisotropicDielectric.
Type
ReferenceDirection
Access
SolutionMethod
The local solution method used for the face.
Type
FaceSolutionMethodEnum
Access
SurfaceCoatingType
The surface coating type for the face.
Type
SurfaceCoatingTypeEnum
Access
Thickness
The face medium thickness. Only applies when the FaceMedium is defined as a Metallic.
Type
Expression
Access
Type
The object type string.
Type
string
Access
Windscreen
The windscreen solution method settings for the face. Only applies if the SolutionMethod is set to Windscreen.
Type
WindscreenSolutionMethod
Access

## Method Details

Delete ()
Delete the MeshEntity.
GetProperties ()
Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step.
Return
table
A properties table.
ReverseElementNormals ()
Reverses the element normals of the mesh face.
SetProperties (properties table)
Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.
Input Parameters
properties(table)
A table of properties defining the new state of the object.