Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plot_contour + [NF] plot_B_mesh #463

Merged
merged 7 commits into from
Oct 29, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[BC] Init A_node at None
Raphaël Pile committed Oct 29, 2021
commit 9b3eb848f2764d5ac65267982675a22f0d67ac98
1 change: 1 addition & 0 deletions pyleecan/Methods/Simulation/MagFEMM/solve_FEMM.py
Original file line number Diff line number Diff line change
@@ -149,6 +149,7 @@ def solve_FEMM(
mu_elem = None
meshFEMM = None
groups = None
A_node = None

# Compute the data for each time step
for ii in range(start_t, end_t):
2 changes: 1 addition & 1 deletion pyleecan/Methods/Simulation/MagFEMM/solve_FEMM_parallel.py
Original file line number Diff line number Diff line change
@@ -129,7 +129,7 @@ def solve_FEMM_single(femm_handler, filename, start_t, end_t):

# Init mesh solution as None since array allocation can only be done once
# number of elements is known, i.e. after first time step resolution
B_elem, H_elem, mu_elem, meshFEMM, groups = None, None, None, None, None
B_elem, H_elem, mu_elem, meshFEMM, groups, A_node = None, None, None, None, None, None

# Loading parameters for readibility
fem_file = self.get_path_save_fem(output)