You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated .definition file does not contain a definition of the electrode area, even though it references a "Ae_" variable. When looking at the example .definition files, either the variable is defined under the "Component parameters" or set directly.
Now, I could just modify the generated .definition file, but wouldn't that beat the purpose of having a generator?
looking at the pregenerated .definition file in the elmag repo
! Parameters in Component 1: Coil1 $ N_Coil1 = 1 ! Number of Turns $ R_Coil1 = 0 ! Coil Resistance $ Ns_Coil1 = 1 ! Sector/Symmetry Coefficient (e.g. 4 is 1/4 of the domain) $ Ae_Coil1 = 0.0025 ! Electrode Area (dummy for now change as required) <--- this parameter
but when I run the main.py script the definition file does not generate the parameter definition
! Parameters in Component 1: Coil1 $ N_Coil1 = 1 ! Number of Turns $ R_Coil1 = 0 ! Coil Resistance $ Ns_Coil1 = 1 ! Sector/Symmetry Coefficient (e.g. 4 is 1/4 of the domain)
Is this intended feature or is it a bug? I can see that the ElmerComponent does not implement a electrode area trait, neither does the generation code generate the necessary parameter.
Steps to reproduce
Run the script in the elmag repository "elmer-elmag\CircuitBuilder\3D\stranded\closed\transient\main.py". The .definition file will reference a parameter called "Ae_Coil1", although it is not defined anywhere.
Note that I am very new to Elmer and circuit builder, so there might be something I'm missing here.
The text was updated successfully, but these errors were encountered:
What is wrong:
The generated .definition file does not contain a definition of the electrode area, even though it references a "Ae_" variable. When looking at the example .definition files, either the variable is defined under the "Component parameters" or set directly.
Now, I could just modify the generated .definition file, but wouldn't that beat the purpose of having a generator?
looking at the pregenerated .definition file in the elmag repo
! Parameters in Component 1: Coil1 $ N_Coil1 = 1 ! Number of Turns $ R_Coil1 = 0 ! Coil Resistance $ Ns_Coil1 = 1 ! Sector/Symmetry Coefficient (e.g. 4 is 1/4 of the domain) $ Ae_Coil1 = 0.0025 ! Electrode Area (dummy for now change as required) <--- this parameter
but when I run the main.py script the definition file does not generate the parameter definition
! Parameters in Component 1: Coil1 $ N_Coil1 = 1 ! Number of Turns $ R_Coil1 = 0 ! Coil Resistance $ Ns_Coil1 = 1 ! Sector/Symmetry Coefficient (e.g. 4 is 1/4 of the domain)
Is this intended feature or is it a bug? I can see that the ElmerComponent does not implement a electrode area trait, neither does the generation code generate the necessary parameter.
Steps to reproduce
Run the script in the elmag repository "elmer-elmag\CircuitBuilder\3D\stranded\closed\transient\main.py". The .definition file will reference a parameter called "Ae_Coil1", although it is not defined anywhere.
Note that I am very new to Elmer and circuit builder, so there might be something I'm missing here.
The text was updated successfully, but these errors were encountered: