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

Add export_c_matrix in addition to export_rl_matrix #5693

Open
IreneWoyna-HE opened this issue Jan 24, 2025 · 1 comment
Open

Add export_c_matrix in addition to export_rl_matrix #5693

IreneWoyna-HE opened this issue Jan 24, 2025 · 1 comment
Assignees
Labels
enhancement New features or code improvements

Comments

@IreneWoyna-HE
Copy link

Description of the feature

Dear PyAEDT team!

To post-process my capacitance matrix, I need to export it, but it seems that a PyAEDT function is missing. A function to export RL matrix exists, and I think the same function could be used to export also C matrix, but currently the function checks if the solution type is EddyCurrent, and stops if my design is ElectroStatic.

Could you please check this and make the function usable also for electric solvers, or create another function to handle capacitance matrices?

Thanks
Irene

Steps for implementing the feature

IronPython code:

oModule = oDesign.GetModule("AnalysisSetup")
oModule.ExportSolnData("Setup1 : LastAdaptive", "capacitances", False, "", "C:/Users/capacitances.txt")

Useful links and references

No response

@IreneWoyna-HE IreneWoyna-HE added the enhancement New features or code improvements label Jan 24, 2025
@gmalinve gmalinve self-assigned this Feb 3, 2025
@gmalinve
Copy link
Contributor

gmalinve commented Feb 7, 2025

move export_rl_matrix an new method to maxwell.py and add a new method in solve_setup (SetupMaxwell) called export_matrix that call the two methods depending on the matrix type. @gmalinve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
Development

No branches or pull requests

2 participants