Search the Community
Showing results for tags 'jython'.
Found 2 results
Hello, I am performing thermal simulation using Flux2D and I want to import Bertotti losses distribution from magnetostatic model using Python script. When I run the .py script I receive the following error: Unknown argument: Bertotti_losses_distribution_stator_lamination_2D This argument must be defined in your jython session before usage. Do you have any idea about that? Could you help me, please? Thanks.
The macros enable the user to regroup the frequently used commands in an extension integrated into the software. You can build up a macro instead of manually executing a series of repetitive actions in Flux, which you will then be able to call regularly. A macro is interesting because it can encapsulate within a new command a series of repetitive operations and thus improve the quality and efficiency of the user-software interaction. Concretely, a macro file (*.py) is a text file, which defines the macro-function in the PyFlux language. It receives (upon entry) one or more parameters and executes (upon exit) a series of predefined actions. It is possible to use the macros provided with Flux or to create your own macros. All macros provided with Flux are open sources, to help you to create a macro fitting exactly your expectation. The list of macros provided with Flux is available in C:\Altair\Extensions\Macros\macros_list_EN.pdf. The moste recent one are described with more details in the attached document "New_Flux_macros_2016". New_Flux_macros_2016.pdf