EXIT Command
Use the EXIT command to break execution of a loop.
This command is useful for checks such as the following:
!!if #a < 2*#b then
!! exit
!!endif
See what's new in the latest release.
The Feko Getting Started Guide contains step-by-step instructions on how to get started with Feko.
The Feko Example Guide contains a collection of examples that teaches you Feko concepts and essentials.
Feko is a comprehensive electromagnetic solver with multiple solution methods that is used for electromagnetic field analyses involving 3D objects of arbitrary shapes.
CADFEKO is used to create and mesh the geometry or model mesh, specify the solution settings and calculation requests in a graphical environment.
POSTFEKO, the Feko post processor, is used to display the model (configuration and mesh), results on graphs and 3D views.
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.
EDITFEKO is a scripting interface for advanced users to construct models using a high-level scripting language, which includes FOR loops and conditional IF-ELSE statements.
View the main elements and terminology in the EDITFEKO graphical user interface (GUI).
The language used to create and modify models in EDITFEKO is the PREFEKO language.
Comments are descriptive text added to the .pre file to help understand and follow the code execution.
The order of the cards in the .pre file specifies the order of the steps during the simulation.
Two card formats are supported namely column-based and colon-separated. This is relevant to users who externally generate Feko input files and can be ignored by users using EDITFEKO to modify the cards.
Variables are parameters that help to create easily adjustable models such as the investigation of structures with varying geometry.
In the PREFEKO language and Feko in general, items in a model are identified by their labels. Operations are performed and electromagnetic properties are applied to the items through their labels.
Conditional statements provide functionality for changing parameters inside a loop, or for a parameter(s) to depend on other parameter(s).
FOR / NEXT loops provide the flexibility of varying parameters inside a loop.
The IF, ELSE and ENDIF constructs allow different control cards to be used under certain conditions.
Use the EXIT command to break execution of a loop.
The PRINT command prints strings, numbers and other information to screen or the .out file to display the solution progress and for debugging purposes.
The FILEREAD function reads data from an arbitrary ASCII file.
Symbolic node names or named points can be constructed as either single points or as an array of points. Arrays of points can then be referenced by only specifying the array name. This is useful when a large number of points are required.
Create geometry in EDITFEKO according to the guidelines to ensure that different mesh parts are electrically connected. Meshes can also be imported to create a model.
EDITFEKO has various default settings that you can configure to customise it to your preference.
View the files associated and generated by EDITFEKO.
View the shortcut keys available for EDITFEKO for faster and easier operation of EDITFEKO.
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.
The Feko utilities consist of PREFEKO, OPTFEKO, ADAPTFEKO, the Launcher utility, Updater and the crash reporter.
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.
A large collection of application macros are available for CADFEKO and POSTFEKO.
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.
Reference information is provided in the appendix.
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.
The language used to create and modify models in EDITFEKO is the PREFEKO language.
Conditional statements provide functionality for changing parameters inside a loop, or for a parameter(s) to depend on other parameter(s).
Use the EXIT command to break execution of a loop.
Use the EXIT command to break execution of a loop.
This command is useful for checks such as the following:
!!if #a < 2*#b then
!! exit
!!endif
© 2022 Altair Engineering, Inc. All Rights Reserved.