-
Notifications
You must be signed in to change notification settings - Fork 99
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
Slice mods #296
base: slice_mods
Are you sure you want to change the base?
Slice mods #296
Conversation
* added new separation constraint * changes * new changes * found the issue and meed to be fixed * fixing * fixed output mode * Fixed the unit vectors * adding slices * adding slices corrections * updated the addslices option * Setting default options * merge fix * mulit US mesh for mphys wrapper * Several fixes and adding test function * Test for separation * multi US mesh option in mphys * doc update and slight tol adjustment for new test * test update * update aoa in ap * update in ap * jason file update * test function fixes * flake8 and black * fixed the test option for new changes * minnor fix * commiting fprettify changes * fixing flake errors * minor Fixes and tests function * tapenade files * style fixes and tolerance update * style fixes * fprettify fixes * option * complex test * changing variable names * fprettify cahnge * error fix * tolerance update * tolerance update * removing multi US mesh * removing separation formulation * tapenade changes * minor fixes --------- Co-authored-by: Galen <68572680+gang525@users.noreply.github.com>
Was there anything more that needed to happen here before merging into the |
@gawng I think this effort is currently stalled and I don't think there's a timeline on anyone continuing this effort at the moment. I think it's best to leave this as a draft for now. |
Ok, I'm removing this from the 2024 workshop sheet EDIT: I am working on the user interface side |
Purpose
This PR adds the first interface that lets users add "active" slices and query the current slice data in ADflow through memory.
addActiveSlice
method in pyADflow is used to define the active slices; one at a time for now.getActiveSliceData
method in pyADflow returns all of the active slice data in a dictionary.Ultimately, we will want to process this data in the dict by directly passing it to the airfoil classes, and we can just bookkeep the airfoil class instances in pyADflow.
I am attaching a script to run the example code. This is a simplified script from our airfoil tutorial, with the relevant naca0012 mesh.
active_slice_test_files.zip