-
Notifications
You must be signed in to change notification settings - Fork 847
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
Wrong spanwise sections calculation in Turbomachinery simulation #2203
Comments
I am not so familiar with turbomachinery but it looks like all spanwisesection initialization is done in CPhysicalGeometry.cpp. I think it initializes in the function ComputeNSpan. This function is called in CDriver like this:
So you should get an initialized value for inflow and outflow. |
Hi Nijso! Thanks for your suggestion. Currently I just hardcoded a section of that script as follows:
This modification was firstly suggested by @MKursatUzuner but I'm pasting it in here to have another source in case the topic opened in CFD Online gets deleted. |
Adding here for future reference, I have also encountered this before and ususally it is a mesh issue, I have solved this by regenerating my mesh and running the .cgns to .su2 conversion again and this resolved the issue. I have also experienced an issue where the NSpan is calculated is much larger (maybe max value of unisgned short I'm not sure). @LorenzoFabris if you notice this issue with any meshes try regenerating but keep the original and we can try and determine the difference between the two? I will also keep an eye out for this problem and do the same. |
Sure, we'll keep an eye on that. |
Describe the bug
A general centrifugal compressor multi-zone case is simulated.
The computational domain is composed by the following zones (for this case, no return channel geometry is included):
The code prints out the following error:
However, spanwise nodes are indeed 57 (checked manually and on Autogrid).
A possible solution is indicated here, but it is not a definitive one as it's dependent on the spanwise nodes number hard-coding.
Different SU2 version were tested, both on Win10 and Ubuntu 20.04, but the issue persisted only to be resolved similarly to the way showed here below.
Additional files
error.txt -> SU2 initialization up to the error
Bug report checklist
Desktop:
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: