-
Notifications
You must be signed in to change notification settings - Fork 849
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
Solution output in CGNS format #1387
Conversation
This pull request introduces 2 alerts when merging 963e7c7 into 58c580b - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍 The code looks generally ok, but there is room to simplify.
Thank you for all the suggestions. Now, they should be all included in the code. Furthermore, I added the check when SU2 is not built with CGNS support as done in the Tecplot case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the changes.
More suggestions below, you should be able to apply them directly in GitHub, also see the questions below and please add const
to all the variables where that is possible.
This pull request introduces 1 alert when merging 74ce20b into 58c580b - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 9ec9fe2 into 58c580b - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to SU2 and thank you for the contribution! Give it some more time (~1 week) for people to review and test your contribution and then merge.
This pull request introduces 1 alert when merging 8b0ae98 into 58c580b - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@@ -3237,6 +3237,16 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i | |||
} | |||
#endif | |||
|
|||
/*--- Check if SU2 was build with CGNS support, as that is required for CGNS output. ---*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Hi @baldang, it seems we have some problems with Windows builds -> /~https://github.com/su2code/SU2/runs/3836680912?check_suite_focus=true |
Hi @pcarruscag, it sounds strange this error since before opening the PR I ran the same tests on my repository and it compliled correctly. Here you can have a look at it /~https://github.com/baldang/SU2/runs/3778439078?check_suite_focus=true . I will let you know if I find a solution. |
Hmm ok I'm re-running the tests, maybe something went wrong because I merged without merging develop first. |
The win build failed again but I have just ran the same tests on my forked repository and it builds correctly. |
Hi @pcarruscag, I went trough the error in the Windows build and it is related to |
Hi @baldang, problem solved: bba499e |
Proposed Changes
Added CGNS output format. Master node writes the output files and receives data from other processes (one at a time for each field to avoid memory limit problems). Some suggestions from feature_CGNS_output are included in the code. However, this first version produce a new file, mesh and solution, at each call as in the Paraview format. The code support
CGNS
andSURFACE_CGNS
in theOUTPUT_FILES
optionPR Checklist