Skip to content

Conversation

@anilyil
Copy link
Contributor

@anilyil anilyil commented Jul 8, 2023

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

anilyil and others added 4 commits June 5, 2023 13:28
* 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 <[email protected]>
@anilyil anilyil requested a review from bbrelje July 8, 2023 16:54
@anilyil anilyil requested a review from a team as a code owner July 8, 2023 16:54
@anilyil anilyil requested review from eirikurj and lamkina and removed request for a team and eirikurj July 8, 2023 16:54
@anilyil anilyil marked this pull request as draft September 28, 2023 06:39
@gawng gawng linked an issue Sep 29, 2023 that may be closed by this pull request
@gawng
Copy link
Collaborator

gawng commented Jun 24, 2024

Was there anything more that needed to happen here before merging into the mdolab/slice_mods branch? Is this still a draft because the interface needs to change?

@lamkina
Copy link

lamkina commented Jun 24, 2024

@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.

@gawng
Copy link
Collaborator

gawng commented Jun 24, 2024

Ok, I'm removing this from the 2024 workshop sheet

EDIT: I am working on the user interface side

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.

Discontinuities in post-processed twist and t/c distributions

4 participants