-
Notifications
You must be signed in to change notification settings - Fork 842
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
[WIP] Change for sliding plane when relative frame is used #2311
base: develop
Are you sure you want to change the base?
[WIP] Change for sliding plane when relative frame is used #2311
Conversation
…when rotating frame is used.
…otating frame zone.
…s adopted for unsteady simulation.
…otating frame zone.
…otating frame zone.
…otating frame zone.
…s adopted for unsteady simulation.
So we merge the mods on it to its real destination. Merge branch 'master' into turbo_features_fabian
|
||
unsigned short nDim = target_geometry->GetnDim(); | ||
|
||
su2double Theta, Phi, Psi, cosTheta, sinTheta, cosPhi, sinPhi, cosPsi, sinPsi; |
Check notice
Code scanning / CodeQL
Unused local variable Note
|
||
unsigned short nDim = target_geometry->GetnDim(); | ||
|
||
su2double Theta, Phi, Psi, cosTheta, sinTheta, cosPhi, sinPhi, cosPsi, sinPsi; |
Check notice
Code scanning / CodeQL
Unused local variable Note
|
||
unsigned short nDim = target_geometry->GetnDim(); | ||
|
||
su2double Theta, Phi, Psi, cosTheta, sinTheta, cosPhi, sinPhi, cosPsi, sinPsi; |
Check notice
Code scanning / CodeQL
Unused local variable Note
|
||
unsigned short nDim = target_geometry->GetnDim(); | ||
|
||
su2double Theta, Phi, Psi, cosTheta, sinTheta, cosPhi, sinPhi, cosPsi, sinPsi; |
Check notice
Code scanning / CodeQL
Unused local variable Note
|
||
unsigned short nDim = target_geometry->GetnDim(); | ||
|
||
su2double Theta, Phi, Psi, cosTheta, sinTheta, cosPhi, sinPhi, cosPsi, sinPsi; |
Check notice
Code scanning / CodeQL
Unused local variable Note
|
||
unsigned short nDim = target_geometry->GetnDim(); | ||
|
||
su2double Theta, Phi, Psi, cosTheta, sinTheta, cosPhi, sinPhi, cosPsi, sinPsi; |
Check notice
Code scanning / CodeQL
Unused local variable Note
% Author: S. Vitale % | ||
% Institution: Delft University of Technology % | ||
% Date: Feb 28th, 2017 % | ||
% File Version 5.0.0"cardinal" % |
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.
Change authorship and get the credit that you deserve... Can you also add all new testcases to the regression tests, at least put it into parallel_regression.py
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.
Can you make this a config option as I mentioned before?
The large solution files need to be in the TestCases repo instead of together with the code.
Proposed Changes
In some cases we use relative frame for rotor zone to perform URANS, e.g., in aeroelasticity analysis, we want the grid movement comes only from blade deformation. The problem is that the sliding plane in SU2 works only for absolute frame. In relative frame, the grid is not rotating, so the interpolation at sliding interface is not changed as time step is marching. The proposed changes rotate the sliding interface in accordance with physical time steps to perform interpolation. This function is activated only for relative frame. The grid itself is not rotating.
Currently, this is only implemented in CNearestneighbor class, other interpolation method should be changed as well in the near future.
Related Work
Resolve any issues (bug fix or feature request), note any related PRs, or mention interactions with the work of others, if any.
PR Checklist
Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.
pre-commit run --all
to format old commits.