Virtual prototyping by Electrostatic Geometry-aware Analysis
VEGA is a plugin for Rhino developed by Graz University of Technology and TAILSIT GmbH. The homonymous project was funded by the Österreichische Forschungsförderungsgesellschaft (FFG) and carried out in collaboration with GIPRO GmbH.
This document provides an overview and user guide for VEGA, a plugin that enables virtual prototyping by performing electrostatic analysis within Rhino. VEGA integrates advanced simulation capabilities based on geometry-aware Boundary Element Methods (BEM).
Nikolaiplatz 4
8020 Graz, Austria
https://www.tailsit.com
info@tailsit.com
Institute of Applied Mechanics
Technikerstraße 4/II
8010 Graz, Austria
http://www.mech.tugraz.at/
iam@tugraz.at
VEGA comes with an integrated help system to guide you through its
features. To access the documentation, type VEGAHelp and choose
Documentation in the Rhino command line. It opens
this file in your browser. Additionally, when invoking VEGA
commands, the context-sensitive documentation is shown in the help panel
of Rhino.
This documentation provides you with example Python scripts for beginners, an industrial example that shows all features and capabilities of VEGA, the documentation of each available command as well as some technical background.
For beginners, we strongly recommend to execute and read the source code of the first three Python scripts.
Need more help? Reach out to the developers!
VEGA is shipped with example Python-scripts that show the
capabilities of the plugin and validate its accuracy. The Python
examples VEGAExample1.py, VEGAExample2.py and
VEGAExample3.py are intended primarily as introductory
examples for beginners. The commands contained therein can also be
executed manually. VEGAExample4.py contains almost every
feature and command of VEGA and should serve as an aid for more complex
problems.
The examples along with other resources are located in the folder
Python of the plugin’s install location. To open the
containing folder, use the command VEGAHelp selecting
Examples.
| File | Description |
|---|---|
VEGAExample1.py |
Electrostatic interaction between two conducting spheres with a given voltage. |
VEGAExample2.py |
Electrostatic interaction between a conducting sphere with a known potential and a bi-cone with unknown (floating) potential. |
VEGAExample3.py |
Capacitor consisting of two conducting plates and a dielectric isolator region in between |
VEGAExample4.py |
High-voltage bushing) |
VEGAExample4.3dm |
Geometry of the high-voltage bushing example |
To run these examples, invoke RunPythonScript from the
Rhino command line.
File: VEGAExample1.py
This, very basic example simulates the electrostatic interaction
between two conducting spheres with a given voltage. The results are
compared to the analytical solution (see Wikipedia).
The user can choose which actions are performed by the script:
Note, that these steps should be enabled in consecutive order. Additionally, the script lets you choose the level of refinement (Level 0-3) and if the mesh should be non-conforming along surface edges or not.
File: VEGAExample2.py
Simulates the electrostatic interaction between a conducting sphere with a known potential and a bicone with an unknown, floating potential. The results are compared with the data reported in Ref.5.
Like in the conducting sphere example, the user can enable different actions and discretization levels performed by the script.
File: VEGAExample3.py
Simulates a capacitor consisting of two conducting plates and a
dielectric isolator region in between. The results are compared to the
analytical solution.
Note that due the fringe effect, causes the calculated
capacitance to be slightly higher than the value calculated using the
idealized formula provided, e.g. in Wikipedia).
To minimize the effect, the relative
permittivity has been chosen relatively large.
Like in the conducting sphere example, the user can enable different actions and discretization levels performed by the script.
File: VEGAExample4.py
This industrial example is based on VEGAExample4.py,
which simulates a high-voltage bushing that has been reported in Ref.1.
Like in the conducting sphere example, the user can enable different actions and discretization levels performed by the script.
Remark:
The following sections provide a how-to for all manual steps that have
to be performed by the user in order to mimic the outcome of the script.
Almost all VEGA features and commands are used. Thus, it is not intended
to serve as an introductory tutorial. For this purpose, we recommend
studying the Python examples 1-3.
The geometry of the example may be generated with the aforementioned
Python script or can alternatively be loaded from
VEGAExample4.3dm located in the examples directory that can
be accessed via the command VEGAHelp. The following sketch is also
found in Ref.2:
The bushing is made of epoxyd with and a cable and its extension that carry a voltage of . Inside the dielectric (epoxyd), there are 5 cylindrical foils: 4 of them are floating conductors with zero surface charge , the outermost one is grounded .
Based on this example, the subsequent sections detail the workflow in VEGA for making a 3D analysis:
Step 1 employs conventional Rhino commands, steps 2-4 result in VEGA entities which represent the analysis model, step 5 generates the analysis mesh, and step 6 addresses the communication with the BEM (Boundary Element Method) solver INDES.
Pay attention to the remarks in each section since they contain crucial details to obtain accurate analysis results.
VEGAExample4.3dm from the Python examples directory orRunPythonScript VEGAExample4.py and just select
Create geometry.The example geometry and the Python scripts are located at the plugin’s installation path. To navigate there, call:
VEGAHelp Examples
Remark: VEGA utilizes the SI unit system. If the
unit system of a Rhino document is different from meter
,
the geometry is scaled for the electrostatic solver. The displayed
results are projected to the original geometry in the document.
VEGAExample4.py uses centimeter
as the length unit for the creation of the sketched geometry.
The bushing is rotationally symmetric and each rotated entity consists of two Rhino surfaces. This applies to the following entities listed by their Rhino surface names (lengths are in ):
Cable: This is the cable inside the epoxy of the
bushing,
,
,
CableExtensionTop: The cable that is outside at the
top of the bushing,
,
CableExtensionBottom: The cable that is outside at
the bottom of the bushing,
,
BushingTop: The top boundary of the bushing,
,
,
BushingMid: The mid boundary of the bushing,
,
BushingBottom: The bottom boundary of the bushing,
,
,
Foil1 … Foil4: The floating conductor
foils starting with the largest radius,
,
,
,
,
,
,
,
Ground: The grounding foil close to the bushing
boundary,
,
All the surfaces in the example geometry are named with respect to their entity. Electrodes are colored in gold, floating conductors in turquoise and the boundary of the epoxy in brown.
We have created two ClippingPlane
on the Default layer in such a way that the inside of the bushing
becomes visible. Additionally, you may change the visibility of the
layers which are named by the entities they contain.
Remark: As noted above, all entities consist of two surfaces, even though they could be represented by a single closed one, like cylinders. This choice is due to the fact that VEGA currently cannot automatically treat closed surfaces.
Once the geometry is loaded, initialize the plugin:
VEGAReset yes
To use Rhino surfaces for a VEGA analysis, users must assign surfaces to so-called VEGA Groups.
For the given example, we first group all outer boundary surfaces
into an open VEGA group — meaning the group’s surfaces do not
enclose a closed domain. Since the required surfaces are already named
in the document, you can select them using the Rhino command
SelName. You can use SelNone to clear all
selections.
SelNone
SelName BushingBottom BushingMid BushingTop CableExtensionTop CableExtensionBottom
VEGAAddOpenGroup OuterBoundary
These commands create the VEGA
group VEGA-OuterBoundary.
Select the surfaces for the part Cable and create the
VEGA group VEGA-Cable with:
SelNone
SelName Cable
VEGAAddOpenGroup Cable
Each VEGA group is a Rhino group with additional connectivity data between the shared edges of the group’s surfaces. When setting up a VEGA group, only two surfaces can share an edge. If you want to assign more surfaces to an edge, you can join VEGA groups, as described next.
VEGA-OuterBoundary and VEGA-Cable meet at
triple junctions on the outer side of BushingBottom and
BushingTop. To consider this connection, the plugin must
generate additional connectivity information by merging these two groups
along user-provided edges. When calling the VEGAJoinGroups
command, the surface edges of the smaller group are labelled by letters
(A,B,C,…). The user is asked to specify which edges shall be
joined to the other group.
The screenshot shows the labelled edges of VEGA-Cable
and the corresponding user dialog. Note that the edges A and
C are not connected to VEGA-OuterBoundary. Thus,
the edges B, D, E and F define the
two triple junctions, which can be established by:
SelNone
SelGroup VEGA-OuterBoundary
VEGAJoinGroups _SelGroup VEGA-Cable Enter B D E F Enter
All foils are placed in their own separate VEGA group. The corresponding surfaces of the parts are selected with respect to their name again.
SelNone
SelName Foil1
VEGAAddOpenGroup Foil1
SelNone
SelName Foil2
VEGAAddOpenGroup Foil2
SelNone
SelName Foil3
VEGAAddOpenGroup Foil3
SelNone
SelName Foil4
VEGAAddOpenGroup Foil4
SelNone
SelName Ground
VEGAAddOpenGroup Ground
These commands create the VEGA groups VEGA-Foil1,
VEGA-Foil2, VEGA-Foil3,
VEGA-Foil4 and VEGA-Ground, each consisting of
two surface objects.
In order to inspect the established connectivity data, you can call
VEGAVisualizeEdgeConformance
This command fetches all surfaces assigned to VEGA groups
and introduces a layer called VEGAEdgeConformance. On this
layer, connectivity labels are introduced at the mid points of edge
segments joined during setting up the VEGA groups and
VEGAJoinGroups calls. Each connectivity label
Si->Sj shows the parent surface Si, i.e.,
the surface the edge segment belongs to, and the child surface
Sj, i.e., the surface adjacent to the edge segment. The
label’s Properties page provides further details.
The screenshot shows the text dot labels at the upper triple
junctions. Note that clicking the highlighted connectivity labels opens
a Selection Menu with six labels since there are 6 labels on top of each
other. These overlapping labels represent the bi-directional
connectivity between the 3 surfaces at the triple junction, i.e.,
Si->Sj with
.
Remark: The VEGA surface id of a surface is given in the VEGA Properties Page.
Remark: Do not change the surfaces’ geometry after they have been added to a VEGA group, since this corrupts the established connectivity data.
In this section, we add the required materials to the electrostatic model and assign surfaces to them.
VEGAAddMaterial Electrode Cable 100000.0
VEGAAddMaterial Electrode Ground 0.0
VEGAAddMaterial Dielectric Epoxyd 4.0
VEGAAddMaterial Floating Foil1 0.0
VEGAAddMaterial Floating Foil2 0.0
VEGAAddMaterial Floating Foil3 0.0
VEGAAddMaterial Floating Foil4 0.0
In the Rhino command line log, VEGAListMaterial shows you if
everything worked out correctly:
VEGAListMaterial
Materials and boundary conditions for the electrostatic model in this document:
Electrodes:
- 'Cable': id=1, voltage=100000, surfaces=[]
- 'Ground': id=2, voltage=0, surfaces=[]
Dielectric material:
- 'Air': id=0, epsR=1, surfaces=[], orientations=[]
- 'Epoxyd': id=3, epsR=4, surfaces=[], orientations=[]
Floating conductors:
- 'Foil1': id=4, charge=0, surfaces=[]
- 'Foil2': id=5, charge=0, surfaces=[]
- 'Foil3': id=6, charge=0, surfaces=[]
- 'Foil4': id=7, charge=0, surfaces=[]
Note that the material ‘Air’ for the exterior domain is listed by
default. The fields surfaces and orientations
are currently empty, since the VEGA surface are not yet assigned to the
materials.
Let’s begin with the epoxyd bushing by assigning its bounding surfaces
to the dielectric material “Epoxyd”:
SelNone
SelName BushingTop BushingMid BushingBottom Cable
VEGAAssignToMaterial Dielectrics Epoxyd I I O O I I I I
Remark: Note that for dielectric materials, the user
is asked to provide the orientation of the normal vectors shown:
I - normal points inward to the domain, O -
normal points outward of the domain. This information sets the surface
orientation in the material list; i.e., -1 for inward normal and 1 for
outward normal.
When we now call VEGAListMaterial again, we obtain the
updated material list where the surface IDs correspond to the order
surfaces have been added to VEGA groups
...
Dielectric material:
- 'Air': id=0, epsR=1, surfaces=[], orientations=[]
- 'Epoxyd': id=3, epsR=5, surfaces=[1, 2, 11, 12, 7, 8, 9, 10], orientations=[-1, -1, 1, 1, -1, -1, -1, -1]
...
Next, select the cable electrode surfaces in the same way: The
surfaces Cable, CableExtensionTop and
CableExtensionBottom together comprise six surfaces. Apply
the electrode voltage with:
SelNone
SelName Cable CableExtensionTop CableExtensionBottom
VEGAAssignToMaterial Electrodes Cable No
For electrode and floating materials, the final step is to tell the
plugin if the assigned surfaces are inside a dielectric
material. Note that the surfaces Cable are part of the
boundary of the dielectric material ‘Epoxyd’ but not inside.
Let’s continue by assigning material properties to the inner foils of the bushing:
SelNone
SelGroup VEGA-Foil1
VEGAAssignToMaterial Floating Foil1 Yes Epoxyd
Again, the VEGA plugin needs to know that these surfaces are located
in the epoxyd of the bushing. Consulting the
VEGAListMaterial provides
...
Dielectric material:
- 'Air': id=0, epsR=1, surfaces=[], orientations=[]
- 'Epoxyd': id=3, epsR=5, surfaces=[1, 2, 11, 12, 7, 8, 9, 10, 13, 14], orientations=[-1, -1, 1, 1, -1, -1, -1, -1, 0, 0]
Floating conductors:
- 'Foil1': id=4, charge=0, surfaces=[13, 14]
...
Note that the surfaces 13 and 14 of ‘Foil1’ are listed in ‘Epoxyd’ as well, with the orientation 0.
Likewise, the remaining foils are added by
SelNone
SelGroup VEGA-Foil2
VEGAAssignToMaterial Floating Foil2 Yes Epoxyd
SelNone
SelGroup VEGA-Foil3
VEGAAssignToMaterial Floating Foil3 Yes Epoxyd
SelNone
SelGroup VEGA-Foil4
VEGAAssignToMaterial Floating Foil4 Yes Epoxyd
SelNone
SelGroup VEGA-Ground
VEGAAssignToMaterial Electrodes Ground Yes Epoxyd
Finally, we need to define the exterior air domain by means of its outward normal:
SelNone
SelGroup VEGA-OuterBoundary
VEGASetExteriorDomain Air O O O O I I O O O O
Calling VEGAListMaterial should give
VEGAListMaterial
Materials and boundary conditions for the electrostatic model in this document:
Electrodes:
- 'Cable': id=1, voltage=100000, surfaces=[11, 12, 3, 4, 5, 6]
- 'Ground': id=2, voltage=0, surfaces=[21, 22]
Dielectric material:
- 'Air': id=0, epsR=1, surfaces=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], orientations=[1, 1, 1, 1, -1, -1, 1, 1, 1, 1]
- 'Epoxyd': id=3, epsR=5, surfaces=[1, 2, 11, 12, 7, 8, 9, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], orientations=[-1, -1, 1, 1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Floating conductors:
- 'Foil1': id=4, charge=0, surfaces=[13, 14]
- 'Foil2': id=5, charge=0, surfaces=[15, 16]
- 'Foil3': id=6, charge=0, surfaces=[17, 18]
- 'Foil4': id=7, charge=0, surfaces=[19, 20]
Remark: The surface IDs may differ depending on the order of the commands. You can select VEGA surfaces and check their surface ID via the VEGA Properties Page.
Remark: Instead of using SelName and
SelGroup, the user can just click on the VEGA groups. To
cherry-pick specific surfaces within a group hold
Ctrl-Shift.
For the analysis, VEGA surfaces require a mesh. The number of elements and the meshing
algorithm can be configured individually for each surface. See VEGASetMeshingParameter
for all available options.
As an example, the mesh of the bushing mid-surface is configured with:
SelNone
SelName BushingMid
VEGASetMeshingParameter CombinedQuads Scripted DetailedOptions AdvancedOptions MaxEdgeLength 2.5 MinEdgeLength 1.25 _Enter _Enter
After all options are set, the user is prompted to apply the mesh settings. At this stage, the mesh is previewed on the selected VEGA surfaces.
For improved visibility of this screenshot, the Rhino display mode
has been set to “Wireframe” and only the bushing boundary layer has been
set to visible. To increase the visibility of the mesh-preview, the
line-thickness can be increased with VEGASettingsDisplay.
Remark: Surfaces on invisible layers are not listed
when calling SelName.
To confirm the settings enter
Yes
Let’s define the meshing settings for the bushing’s remaining outer surfaces
SelNone
SelName BushingTop BushingBottom
VEGASetMeshingParameter CombinedQuads Scripted DetailedOptions AdvancedOptions MaxEdgeLength 3.75 MinEdgeLength 1.875 _Enter _Enter Yes
For the cable and the foils, we use a different meshing scheme (see meshing algorithm for details).
SelNone
SelName Cable
VEGASetMeshingParameter Automatic Scripted PolygonDensity 1 _Enter Yes
SelNone
SelName CableExtensionTop CableExtensionBottom
VEGASetMeshingParameter Automatic Scripted PolygonDensity 4 _Enter Yes
SelNone
SelName Foil1 Foil2 Foil3 Foil4 Ground
VEGASetMeshingParameter Automatic Scripted PolygonDensity 20 _Enter Yes
With
VEGAMeshAll Linear
all VEGA surfaces are meshed with linear quadrilaterals and triangles.
In order to check the meshes the user can select the concerned VEGA
surface and call VEGASetMeshingParameter without setting
anything again. Another option is to “bake” the meshes into the Rhino document.
E.g. for the VEGA group OuterBoundary:
SelNone
SelGroup VEGA-OuterBoundary
VEGABakeMeshes Yes
The individual meshes are placed on dedicated layers with the prefix VEGAMesh_. These layers mimic the layer structure of the meshed surfaces. With the final Yes/No option the user can decide if the individual meshes are grouped or not.
This screenshot displays the baked mesh where the different colors indicate the surface id related to the individual meshes.
Remark: Note that the meshes are non-conforming along surface edges. This is not a bug but an intended feature of VEGA: it enables BEM simulations on non-conforming meshes, provided the VEGA groups are configured correctly.
Settings for the analysis can be configured with the VEGASettingsAnalysis command. To invoke the electrostatic solver, call
VEGAAnalyze
The current stage of the analysis is shown in the log window.
If the analysis has been successfully completed, the results must be imported into Rhino for postprocessing.
VEGAImportResults
Surface-wise results like the energy, total charge
or voltage are displayed in the VEGA properties page. A colored display
of these results may be obtained by setting up via VEGASettingsResults. E.g.
for showing the surface voltage:
VEGASettingsResults ShowResults=On ShowColorBar=On ResultType=Voltage Colorsteps=10 _Enter
The next screenshot shows the visualized voltage over the surfaces
and the result information provided by VEGA’s Properties
panel.
To remove the result visualization call:
VEGASettingsResults ShowResults=Off _Enter
Baking results to a colored Rhino mesh is done with the VEGABakeResults command:
VEGABakeResults Voltage
Settings for coloring of baked meshes are taken from VEGASettingsResults.
When more advanced postprocessing is needed, the best option is to export the results to a VTK file, which can be viewed using ParaView.
VEGAExportResultsToVTK
The default paths and the automatic creation of VTK files is set with
the command VEGASettingsAnalysisPostprocessing.
The voltage or electric field at any point within the domain can be evaluated by providing the plugin with a mesh, where the quantities are computed at the vertices of an evaluation mesh. In our case, we define a planar evaluation domain by a closed polyline
SelNone
Polyline
with points
4, 0, 14
13, 0, 14
13, 0, -14
4, 0, -14
9, 0, -3
9, 0, 3
4, 0, 14
and generate a surface mesh with approximately 200 quadrilaterals
SelLast
MeshPolyline
SelLast
QuadRemesh TargetQuadCount=200 Delete Input Objects=true
Remark: The SelLast command picks the
previous selected objects. In our example, these are the polyline and
the intermediate surface mesh enclosed by the polyline,
respectively.
To evaluate the result at the mesh vertices, select the mesh and call:
VEGASetEvaluationMesh
VEGAEvaluate
After evaluation, you can display the domain voltage at the mesh vertices by
VEGASettingsResults ShowResults=On ShowColorBar=On ResultType=DomainVoltage Colorsteps=1 _Enter
To bake these results to the Rhino document call
VEGABakeResults DomainVoltage
The output of the surface results to a VTK file (default filename is
VEGAPostProcess.vtk) is done with:
VEGAExportResultsToVTK
If turned on in VEGASettingsAnalysisPostprocessing,
the results inside the domain are written to a VTK file during VEGAEvaluate (the default filename
is VEGAPostProcess.post.vtk).
The following screenshot shows the voltage decay of the bushing as well as the electric field at the evaluation mesh in ParaView.
Opens Rhinos properties panel and switches to the VEGA properties
page
The VEGA Properties Page in Rhino displays information about
VEGA plugin data in Rhino’s properties panel. After running an analysis,
you can also view results related to VEGA surfaces here. To access it,
select any VEGA surface and run the Rhino command
PropertiesPage. Then, choose VEGA or click on
the VEGA logo.
The following screenshot shows the properties of the selected VEGA group for Foil 4 of the high-voltage-bushing example:
Lets the user open
documentation and examples
InfoDocumentationExamplesCommandsFor an overview, start at the top of this document.
Resets the
electrostatic model
Clears the VEGA database in the document and resets the plugin to its initial state.
The electrostatic model is composed of distinct material domains. These domains can be electrodes, floating conductors, or dielectric media. The commands below set up the material properties and boundary conditions for these domains. Once materials are defined, VEGA surfaces can be assigned to specify each domain’s geometric boundaries.
Adds and defines a material in the electrostatic model.
Adds an electrode, a dielectric material,
or a floating conductor to the VEGA database by
subsequently calling the corresponding commands:
VEGAAddElectrode: Adds an electrode to the
electrostatic model.
Defines an electrode in the VEGA database by
its applied voltage
(electric potential) and a unique name.
VEGAAddDielectric: Adds a dielectric material to
the electrostatic model.
The dielectric is defined by its relative
permittivity
and a unique name.
VEGAAddFloating: Adds a floating conductor to
the electrostatic model.
A floating conductor is a conductive
object that is not electrically connected to ground or a fixed voltage.
Unlike electrodes, its electric potential
is unknown and will be computed during analysis. This command adds a
floating conductor in the VEGA database with a unique name and a total
surface charge
(use zero for electrically neutral objects).
Modifies the properties of an existing material region in the
electrostatic model.
Updates the properties of an electrode, a
dielectric material, or a floating conductor
stored in the VEGA database by subsequently calling the corresponding
commands:
VEGAEditElectrode: Changes electrode properties
in the electrostatic model.
Allows the user to update the name and
the applied voltage
of an electrode stored in the VEGA database.
VEGAEditDielectric: Changes properties of
dielectric materials in the electrostatic model.
Allows the user to
rename and to set the relative permittivity
of a registered dielectric material.
VEGAEditFloating: Changes properties of floating
conductors in the electrostatic model.
Allows the user to change
the name and to set the charge
on a floating conductor.
Deletes a material region from the electrostatic model.
Removes an electrode, a dielectric
material, or a floating conductor entry from the VEGA
database by subsequently calling the corresponding commands:
⚠️ Important Usage Remark: - To delete a material, all its assigned VEGA surfaces must be removed from it by the command VEGARemoveFromMaterial.
Lists all material regions in the electrostatic model.
Displays all electrodes, dielectric media, and floating conductors
stored in the VEGA database. For each entry, the assigned VEGA surface
IDs are shown together with their orientation relative to the surface
normal: - +1: Normal vector points outward from the domain
- -1: Normal vector points inward toward the domain -
0: Orientation not specified
A VEGA group is a collection of surfaces that represent a connected part of the analysis model. Groups can be either: - Closed: Surfaces that entirely enclose a volume - Open: Connected surfaces that don’t enclose a volume
VEGA Group Properties: - VEGA groups differ from
conventional Rhino groups by automatically detecting and storing
connectivity information along shared edges, which is needed for
analysis. - VEGA groups are stored as a Rhino group with a unique name,
such that they can be selected with the SelGroup command. -
In closed and open VEGA groups, no more than two surfaces share an edge.
However, you may join groups to allow
edges where more than two surfaces are connected.
VEGA Surfaces:
Each surface added to a VEGA group automatically becomes a VEGA surface; that is, it is registered in the VEGA database with a unique ID and contains connectivity information to other VEGA surfaces.
⚠️ Important Usage Remarks:
Preserve group integrity: Do not modify geometry objects once they have been added to a VEGA group. While VEGA surfaces point to the original geometric object, the stored connectivity data becomes invalid.
Solids: Currently, only surfaces (not solids) can be added to VEGA groups. Convert solids to surfaces first, e.g.:
Box → Use Explode to separate facesSphere → Use Split at an
Isocurve (spheres cannot be exploded)
Registers a closed domain to the electrostatic model.
Select all surfaces that define the closed domain. They are automatically added to a named group in Rhino and the edges shared between them are detected. The user must then define if the surface normals point outward or inward to the closed domain.
If a surface has been already added to a VEGA group, the user is asked to overwrite the connectivity information.
Registers open surfaces to the electrostatic model.
The user has to select a single or multiple surfaces that do not enclose a volume completely. If multiple surfaces are selected, they are automatically grouped, and the shared edges are automatically detected. Open groups may be part of electrodes or floating conductors.
It is possible to select single surfaces of a closed group and assign them to other material, e.g., for applying a voltage or defining the electric potential to them.
If a surface has been already added to a group, the user is asked to overwrite the enriched geometry information.
Joins two VEGA groups in the electrostatic model along common
edges
The primary purpose of this command is to allow for model edges where more than two VEGA surfaces meet, which is prohibited when adding closed or open VEGA groups.
Therefore, the user selects first two VEGA groups and then one or more edges they share. All VEGA surfaces along these edges are updated to connect with the surfaces of the other VEGA group as well. The VEGA groups themselves remain separate.
Once materials are defined and VEGA groups are created, the VEGA surfaces must be assigned to materials to complete the electrostatic model setup. The commands below manage these assignments.
Note that these VEGA surfaces must have been added as a closed or open group.
When only a part of a VEGA group shall be assigned to a material,
press Ctrl + Shift when selecting the VEGA
surfaces.
Assigns VEGA surfaces to an electrode,
a dielectric material or a floating conductor
Lets the user choose to assign VEGA surfaces to an
electrode, a dielectric material, or a
floating conductor, which subsequently calls the
corresponding command:
VEGAAssignToElectrode: Assigns selected VEGA surfaces to an electrode.
VEGAAssignToDielectric: Assigns selected VEGA
surfaces to a dielectric material.
The user is prompted for the
orientation of the surface normal (outward or inward to the dielectric
volume).
VEGAAssignToFloating: Assigns selected VEGA
surfaces to a floating conductor.
If the floating conductor is
enclosed by a dielectric, the user is asked to specify the dielectric
name.
Removes VEGA surfaces from an
electrode, a dielectric material or a floating conductor
Lets the user remove VEGA surfaces from an electrode, a
dielectric material, or a floating conductor,
which subsequently calls the corresponding command:
Defines the exterior region in the
electrostatic model.
The exterior domain represents the infinite dielectric material outside the model, typically air with . The material air is included in the electrostatic model by default.
To define the exterior domain, select all VEGA surfaces that form the outer boundary of the model and specify the outward normal direction pointing toward the exterior. These surfaces should form a closed boundary surrounding the electrostatic model.
VEGA meshes provide the geometry description of the electrostatic model throughout the analysis. VEGA meshes are based on Rhino meshes, but contain connectivity data of element edges along shared VEGA surface edges. In contrast to Rhino meshes, VEGA meshes can also be higher order.
Meshing workflow: 1. Set up all VEGA groups and assign them to materials. 2. Define the mesh parameters of all VEGA surfaces. 3. Start the meshing process.
Sets the meshing properties for
selected VEGA surfaces
This command lets the user set which algorithm is used to create an analysis mesh for the selected VEGA surfaces. Algorithm parameters like mesh width and element type and shape are set up here.
If you want to apply the settings to whole VEGA groups, pre-select
them via SelGroup before calling
VEGASetMeshingParameter.
Rhino offers the following meshing algorithms which are utilized by VEGA:
AutomaticTrianglesCombineQuadsQuadRemeshExcept for the QuadRemesh algorithm, the user may set up
the meshing options with a Simple or Advanced
GUI dialog or Scripted. The latter is particularly useful
when calling VEGA commands from a Python script.
Meshes
all VEGA surfaces
This command meshes all VEGA surfaces respecting the provided meshing parameter. The user has to
set the mesh order to Linear or Quadratic.
Linear meshes are default Rhino meshes, while quadratic meshes are generated utilizing degree elevation of linear meshes and a subsequent fitting to the surface geometry. Since the data of quadratic meshes is not represented by Rhino objects, they cannot be displayed in Rhino but may be exported to a VTK-file
Creates a Rhino mesh which represents the mesh of selected VEGA
surfaces
Here, we describe the key commands to run an electrostatic analysis using the default analysis settings. These settings can be adopted by the command VEGASettingsAnalysis.
Performs
the electrostatic analysis
Before starting the analysis, make sure that the following steps have been completed:
VEGAAnalyze calls the BEM (Boundary Element Method)
solver INDES for the analysis. It logs the solver process to
the Rhino console. Have a look there to check if the analysis succeeded
or something went wrong.
Cancels the analysis
Signals the solver to cancel the analysis. Note, that the solver listens to this signal only between the steps indicated in the output log.
Waits for the analysis to be completed
VEGA starts the analysis in its own thread. Thus, after calling VEGAAnalyze results are not
available immediately. VEGAAnalyzeWait is useful if the
simulation process is scripted and processing the results is
involved.
After a successful analysis, VEGA provides the user with access to the results through several options: - a display conduit in Rhino, - colored meshes created directly in the Rhino document, or - a VTK file in ASCII format, which can be viewed using ParaView.
The plugin can also evaluate the electrostatic field and voltage at interior points, defined by the vertices of a Rhino mesh set by the user. Evaluation points can be specified before or after the analysis; in the latter case, VEGA performs only a quick evaluation step without rerunning the full analysis.
Imports results of the analysis into the document
This command reads the result data provided by the electrostatic
solver and stores it in the current Rhino document. Region-wise results
and metadata are attached to the corresponding VEGA surfaces by means of
Attribute User Text, which can be displayed in Rhino by calling
the Properties command.
Creates a Rhino mesh that is colored with respect to analysis
results
Creates colored meshes for one of the following result types:
VoltageChargeinChargeoutDomainVoltageElectricField Exports results to a VTK
file
Define evaluation points in the
volume
To evaluate the voltage
and electric field
in a volume or the exterior domain, the user can define evaluation
points using the vertices of a Rhino mesh.
VEGASetEvaluationMesh can be called either before starting
the analysis or afterward. In the latter
case, only a quick evaluation step has to be
started without rerunning the full analysis.
Evaluates the voltage and electric field in the volume
The voltage and the electric field are evaluated on the evaluation points that have been defined by the user. Note, that the analysis has to be already completed. After that, the command may be called multiple times.
View and
change settings
Changes the settings for the Display,
Analysis and Results.
Enables or disables a preview of the analysis mesh
The mesh of a VEGA surface can be directly shown in Rhino’s display pipeline by means of a display conduit.
Access to settings for the analysis with the electrostatic solver
Allows to change General settings,
the set up for the Boundary Element Method (BEM), the Solver of the linear
system of equations and for the Postprocessing of
results.
Set the number of threads for the analysis
Sets up the approximation order and the Fast Multipole Method
FEOrderFMMDegree (for experts)Leafsize (for experts)LeafQuadrature (for experts)Settings for the iterative solver
rTolaTolmaxIterverboseSets up the postprocessing within the analysis step
VTKFilenameEnables and disables the display of the results
Sets up the display of the analysis results in Rhino’s display pipeline by means of a display conduit.
ShowResultsShowColorBarColorBarSizeColorBarPositionResultTypeVoltage
on the VEGA surfaces, Chargein - the surface charge
on the inner side, Chargeout - the surface charge
on the outer side, the DomainVoltage
and the magnitude of the ElectricField
at the evaluation points.
ColorMinColorMaxAutorangeOff, the
Min and Max values can be entered by the user.
ColorstepsIntroduces labels in the Rhino model to inspect the connectivity data established between VEGA surfaces
This command fetches all surfaces assigned to VEGA groups
and introduces a layer called VEGAEdgeConformance. On this
layer, connectivity labels are introduced at the mid points of edge
segments joined during setting up the VEGA groups and VEGAJoinGroups
calls. Each connectivity label Si->Sj shows the parent
surface Si, i.e., the surface the edge segment belongs to,
and the child surface Sj, i.e., the surface adjacent to the
edge segment. The label’s Properties page provides further
details.
The Rhino plugin VEGA is a simulation tool for rapid virtual prototyping in electrostatics, focusing on electric field computation of CAD-based device designs. The figure shows an insulator and the corresponding solution of its interior electric field determined by the Finite Element Method (FEM).
Epoxy insulator geometry and the FEM solution for the electric field
(GIPRO GmbH)
The main challenge before applying FEM is the conversion from CAD
boundary representations (b-reps) to high quality volumetric meshes.
Additionally, CAD b-reps often contain trimmed surfaces whose
parametrization do not match the visualized geometry. These issues lead
to geometric inconsistencies like small gaps, overlaps and trimming
artifacts that make meshing time-consuming and error-prone.
Moreover, in conventional FEM analysis of electromagnetic fields, the
surrounding air must be included in the model and its mesh is truncated
at artificial boundaries, which introduces errors due to the infinite
extent of the fields.
VEGA implements a CAD-integrated simulation approach for virtual prototyping in electrostatics that substantially reduces the meshing effort while maintaining numerical accuracy. The numerical simulation is based on a Boundary Element Method (BEM) formulation that requires only a surface discretization of the model. As a result, volume meshes and the artificial truncation of the infinite exterior domain are completely avoided.
A key feature is the application of a Discontinuous Galerkin BEM formulation that utilizes shape functions that permit non-conforming surface meshes, particularly at interfaces between trimmed NURBS surfaces. The geometric data along these interfaces is enriched by explicit mappings between the participating surfaces, enabling completely independent mesh generation on each surface. This approach significantly simplifies modeling and reduces the sensitivity to the aforementioned CAD inconsistencies.
The plugin is tailored to the design of electrical devices such as insulators, bushings and capacitors with linear dielectric behavior.
The electrostatic field equations follow from Maxwell’s equations by removing time derivatives:
Thus, the electric field and displacement are decoupled from the magnetic field strength and the magnetic flux density . Using the scalar potential with
we obtain Poisson’s equation
$ -( u ) = $
where is the vacuum permittivity, the dielectric permittivity and the relative permittivity, respectively.
On the interface between two regions, the transmission conditions, tangential continuity of and normal continuity of , hold. That is, for the scalar potential
where is the so-called Dirichlet trace and the Neumann trace limited from outside () and inside () of the domain boundary .
VEGA considers charge-free volumes () and defines the surface charge density
On electrodes, a constant voltage is applied. VEGA’s electrostatic BEM-solver INDES calculates the unknown surface charge density on electrodes and dielectric interfaces, as well as the unknown voltage on dielectric interfaces. On floating potentials (e.g. foils) the total charge is known and the unknown but constant voltage is calculated.
For further details, please take a look at the references.