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

Writing inlet profile fails with mpi + multiple inlets #1998

Closed
bigfooted opened this issue Apr 3, 2023 · 1 comment · Fixed by #1999
Closed

Writing inlet profile fails with mpi + multiple inlets #1998

bigfooted opened this issue Apr 3, 2023 · 1 comment · Fixed by #1999
Labels

Comments

@bigfooted
Copy link
Contributor

bigfooted commented Apr 3, 2023

Describe the bug
reported here:
https://www.cfd-online.com/Forums/su2/248779-inlet-profile-su2-fluid-mixture.html

With mpi + multiple inlets, writing an initial inlet profile fails. A related issue was solved in #1786, but this only works correctly for a single inlet profile.

It looks like the problem is in CMarkerProfileReaderFVM.cpp. The master node does not gather the information about columnNames ("Velocity-X" etc) and columnValues for all inlets (it only knows about the inlets on the rank). Then, WriteMarkerProfileTemplate fails. I think we have to do for columnNames and columnValues the same as what we do for Marker_Tags and profileTags in MergeProfileMarkers, which is SU2_MPI::Gather the information and store it in a global list for master.

@bigfooted bigfooted added the bug label Apr 3, 2023
@bigfooted bigfooted changed the title writing inlet profile fails with mpi + multiple inlets Writing inlet profile fails with mpi + multiple inlets Apr 3, 2023
@bigfooted
Copy link
Contributor Author

PR #1999

@bigfooted bigfooted linked a pull request Apr 3, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant