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

Interface for Python 1d flow code to axisymmetric EM solver #295

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

jbigmanUT
Copy link

Created an interface class with Python bindings. Handles expansion of 1d plasma conductivity to 2d values and reduction of 2d Joule heating to 1d values.

Created a LineInterpolator class to help perform radial integrals of the Joule heating FE solution.

@jbigmanUT jbigmanUT force-pushed the qms-python branch 2 times, most recently from d6fb470 to 508dd7c Compare August 22, 2024 21:32
vectors to be read/write from Python as NumPy arrays.
conductivity is set from the 1d values based on an assumed
radial profile.
when setting the 2d plasma conductivity and created a Python function to
update the plasma conductivity then solve the EM field.
overwriting error in the implementation.

Changed how the LineInterpolator is implemented in the interface
and fixed a memory leak due to internal data remaining in FindPointsGSLib.

Added additional methods to control the interface behavior from Python.

Added various comments and descriptions to methods visible from Python.
jbigmanUT and others added 3 commits August 26, 2024 18:16
verify the code executes without error and matches a reference solution.
It does not check for accuracy to a known or manufactured solution.
Latest doesn't seem to want to build in this environment.
@jbigmanUT jbigmanUT marked this pull request as ready for review August 27, 2024 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants