Solution output in CGNS format#1387
Solution output in CGNS format#1387pcarruscag merged 11 commits intosu2code:developfrom baldang:feature_outputCGNS
Conversation
|
This pull request introduces 2 alerts when merging 963e7c7 into 58c580b - view on LGTM.com new alerts:
|
pcarruscag
left a comment
There was a problem hiding this comment.
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. |
pcarruscag
left a comment
There was a problem hiding this comment.
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:
|
pcarruscag
left a comment
There was a problem hiding this comment.
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.
Co-authored-by: Pedro Gomes <[email protected]>
|
This pull request introduces 1 alert when merging 8b0ae98 into 58c580b - view on LGTM.com new alerts:
|
| } | ||
| #endif | ||
|
|
||
| /*--- Check if SU2 was build with CGNS support, as that is required for CGNS output. ---*/ |
|
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
CGNSandSURFACE_CGNSin theOUTPUT_FILESoptionPR Checklist