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

MACH (aero) example won't run #45

Closed
chrislupp opened this issue Jan 27, 2021 · 2 comments
Closed

MACH (aero) example won't run #45

chrislupp opened this issue Jan 27, 2021 · 2 comments
Labels
question Further information is requested

Comments

@chrislupp
Copy link
Collaborator

I've been trying to run the MACH aero example (examples/mach_tutorials/aero). However, while the solver is being set up, idwarp complains that the options specified in the example are not idwarp options. Are there specific ADflow/idwarp versions that are compatible with mphys at this point (I am running ADflow 2.3)?

Attached is the detailed error log. Any pointers would be appreciated.

Thanks.

adflow_error.txt

@chrislupp chrislupp added the question Further information is requested label Jan 27, 2021
@anilyil
Copy link
Collaborator

anilyil commented Jan 27, 2021

@chrislupp thanks for this issue. We recently changed how options are handled internally. Previously, we could just use the aero options with the mesh object and it would pick up the correct grid file. Now we have to only have the idwarp-specific options in the dictionary that is passed to idwarp. I will fix this soon. If you want to run with the latest version of the code, you will need to make small changes to mphys_adflow. In particular, in the initialization of idwarp: https://github.com/OpenMDAO/mphys/blob/master/mphys/mphys_adflow.py#L1029 instead of passing the full dictionary, you can extract the 'gridFile' entry and pass it in with a separate dictionary for idwarp. Hope this helps

@chrislupp
Copy link
Collaborator Author

Thanks, that helped a lot. I was able to get it working with 2.2.4 and a corresponding version of idwarp and baseclasses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants