Simple examples demonstrating using continuous frequency range, using the MLFMM for large models, using the LE-PO
(large element physical optics) on subparts of the model and optimising the waveguide pin feed location.
Simple examples demonstrating using Feko application automation, matching circuit generation with Optenni Lab and optimising a bandpass filter with HyperStudy.
Use application automation to perform operations with CADFEKO and POSTFEKO. Typical tasks include repetitive tasks, tasks that require several steps, or calculations.
Increase productivity when dealing with predictable and repeatable POSTFEKO sessions (for example, exporting a report) using application automation. Use an automation script to configure a
session and export a report that highlights the antenna properties of the model.
Feko is a comprehensive electromagnetic solver with multiple solution methods that is used for electromagnetic field analyses
involving 3D objects of arbitrary shapes.
EDITFEKO is used to construct advanced models (both the geometry and solution requirements) using a high-level scripting language
which includes loops and conditional statements.
One of the key features in Feko is that it includes a broad set of unique and hybridised solution methods. Effective use of Feko features requires an understanding of the available methods.
Feko offers state-of-the-art optimisation engines based on generic algorithm (GA) and other methods, which can be used
to automatically optimise the design and determine the optimum solution.
Feko writes all the results to an ASCII output file .out as well as a binary output file .bof for usage by POSTFEKO. Use the .out file to obtain additional information about the solution.
CADFEKO and POSTFEKO have a powerful, fast, lightweight scripting language integrated into the application allowing you to create
models, get hold of simulation results and model configuration information as well as manipulation of data and automate
repetitive tasks.
Simple examples demonstrating using Feko application automation, matching circuit generation with Optenni Lab and optimising a bandpass filter with HyperStudy.
Use application automation to perform operations with CADFEKO and POSTFEKO. Typical tasks include repetitive tasks, tasks that require several steps, or calculations.
The results returned in response to the rectangle query includes
Rectangle (object).
Double-click Rectangle (object).
View the code snippet (example) on how to create a rectangle.
app = cf.GetApplication()
project = app:NewProject()
-- Create a rectangle with its base corner at the specified 'Point'
corner = cf.Point(-0.25, -0.25, 0)
rectangle = project.Geometry:AddRectangle(corner, 0.5, 0.5)
View the Rectangle (object).
Note: Since there can be multiple rectangles in the model, the rectangle object
is part of a collection.
Click the GeometryCollection hyperlink to navigate to
the GeometryCollection description.
Under GeometryCollection you will find
Method list. The list shows the syntax for creating
geometry primitives, including a rectangle.
View the method list and click :AddRectangle(cornerpoint, width,
depth) hyperlink to navigate to a short description for each
parameter.
The parameters width and depth
are both of type, Expression and
cornerpoint is a Coordinate
type.
Click the Coordinate hyperlink to obtain more
information regarding coordinates.
Click Point and navigate to the Point
description.
View the code snippet (example) on how to create a point.
-- Create a default 'Point' at (0,0,0)
p1 = cf.Point.New()
-- Assign values to each component of the point
p1.x = 1
p1.y = 1
p1.z = 1-- Create a 'Point' with number values
p2 = cf.Point(2,2,2)
You can find the Property list on the same help page
that shows the properties of .X, .Y and
.Z are numbers.
Create the corner point using the following syntax:
corner1 = cf.Point(-0.25, -0.25, 0)
You still need the syntax to prepend to the
:AddRectangle method.
Note: The
:AddRectangle method resides under the
Geometry (object) and Project
is the highest level (the .cfx file).
Tip: The my_Rectangle part of the syntax is the
handle or reference in Lua to your newly created geometry part.
If you
create the rectangle manually in the graphical user interface (GUI), you will see that
Rectangle1 will appear in the construct tree.
Run the script created up to this point to view the
progress in the GUI.
Tip: You can change the handle to Rectangle1,
but in the automation script, Rectangle1 refers to
the label of the rectangle object.
For this example, in order to
emphasize the difference between the handle and label of an object,
handle names are created with the “my_” prepending
syntax.