MeshAdaption3D Object

This object allows you to change the parameters used for the three dimensional adaptive mesh refinement. This procedure is an automatic scheme which uses the results of a performed calculation to estimate a mesh better suited for the given problem. With the refined mesh a new calculation pass will then be started. The whole procedure will be repeated until a convergence is met.

Methods

Errorlimit ( double value )

If the relative deviation of the energy between two passes is smaller than the errorlimit the mesh adaption will terminate.

    

SetType ( enum type )

Sets the type.

key may have one of  the following values:

"EStatic"

"MStatic"

"JStatic"

"LowFrequency"

"HighFrequencyHex"

"HighFrequencyTet"

"Time"

 

 

SetAdaptionStrategy ( enum key )

Specifies the type of mesh adaption strategy.

 

key may have one of  the following values:

"ExpertSystem"

Refines the mesh the mesh by increasing global mesh parameters.

"Energy"

Refines the mesh at locations with high field energy.

 

ErrorEstimatorType ( enum type )

Specifies the error estimator.

type may have one of  the following values:

Automatic

Chooses a default error indicator.

Error indicator 1

Chooses error indicator 1.

Error indicator 2

Chooses error indicator 2.

 

RefinementType ( enum type )

Specifies the refinement type.

type may have one of  the following values:

Automatic

Chooses a default refinement type.

Quality enhancement

Chooses bisection refinement followed by a mesh quality enhancement routine.

Quality enhancement + multiple edge refinement

Chooses the quality enhancement refinement type and allows for multiple edge refinement in the case of discrete edge ports.

Stable bisection

Chooses stable bisection refinement.

Stable bisection + snap new nodes to boundary

Chooses stable bisection refinement with the snapping option, which produces a successively better approximation of curvilinear interfaces throughout the refinement process.

Bisection + quality enhancement

Chooses stable bisection refinement followed by a mesh quality enhancement routine.

Quality enhancement + snap new nodes to boundary

Chooses quality enhancement refinement with the snapping option, which produces a successively better approximation of curvilinear interfaces throughout the refinement process.

 

MinPasses ( int passes )

Specifies the minimum number of passes which will be performed for the adaptive mesh refinement, even if the results do not change significantly.

 

MaxPasses ( int passes )

Specifies the maximum number of passes to be performed for the adaptive mesh refinement, even if the results have not sufficiently converged so far. This setting is useful to limit the total calculation time to reasonable amounts.

 

CellIncreaseFactor ( double factor )

Determines how many new cells are introduced between two subsequent passes of the mesh refinement. A setting of 0.5 means that the number of mesh cells increases about 50 percent from pass to pass.

 

WeightE ( double weight )

Specifies the weight of the electric energy compared to the part of the magnetic energy. Sometimes a structure’s behavior is more critically coupled to changes of the electric field than to changes of the magnetic field so that it is advisable for the refinement control to take this fact into account.

 

WeightB ( double weight )

Specifies the weight of the magnetic energy compared to the part of the electric energy. Sometimes a structure’s behavior is more critically coupled to changes of the magnetic field than to changes of the electric field so that it is advisable for the refinement control to take this fact into account.

 

RefineX ( bool switch )

Decides whether the adaptive mesh refinement will be performed in the x-direction (switch = True) or not (switch= False). This option is useful to avoid refining a mesh along coordinate directions in which the structure’s fields have no dependency.

 

RefineY ( bool switch )

Decides whether the adaptive mesh refinement will be performed in the y-direction (switch = True) or not (switch= False). This option is useful to avoid refining a mesh along coordinate directions in which the structure’s fields have no dependency.

 

RefineZ ( bool switch )

Decides whether the adaptive mesh refinement will be performed in the z-direction (switch = True) or not (switch= False). This option is useful to avoid refining a mesh along coordinate directions in which the structure’s fields have no dependency.

 

MeshIncrement ( int value )

Only for Expert system based strategy. Specifies the number of mesh lines to add to the Mesh.MinimumLineNumber setting after a pass has been completed.

 

Default Settings

Errorlimit (0.005)

MinPasses (2)

MinPasses (6)

CellIncreaseFactor (0.7)

WeightE (1.0)

WeightB (1.0)

RefineX (True)

RefineY (True)

RefineZ (True)

MeshIncrement (5)

Example

With MeshAdaption3D

    .SetType ("Time")

    .SetAdaptionStrategy ("ExpertSystem")

    .MinPasses (2)

    .MaxPasses (6)

    .MeshIncrement (5)

End With