-
Notifications
You must be signed in to change notification settings - Fork 843
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] RBF mesh deformation #2240
base: develop
Are you sure you want to change the base?
Conversation
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.
Good work. I am looking forward to testing it :)
Common/include/grid_movement/CRadialBasisFunctionInterpolation.hpp
Outdated
Show resolved
Hide resolved
Common/include/grid_movement/CRadialBasisFunctionInterpolation.hpp
Outdated
Show resolved
Hide resolved
break; | ||
case DEFORM_KIND::ELASTIC: | ||
VolumetricMovement = new CLinearElasticity(geometry, config); | ||
|
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.
I did not see the freeing of the memory of those classes, when and where they were freed.
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.
If I am not mistaken this is done once CommonFinalize()
of CDriverBase
is called here:
https://github.com/FvanSteen/SU2/blob/ea3588013abfb5cf2004fcae546d83cffeab349d/SU2_CFD/src/drivers/CDriverBase.cpp#L127-L137
In case of internal boundaries that are allowed to move freely based on the deformation of moving boundaries, these options enable it to do so.
Requires some clean up work
Co-authored-by: Kürşat Yurt <57598663+kursatyurt@users.noreply.github.com>
Removal of void as input parameter and other minor changes Co-authored-by: Kürşat Yurt <57598663+kursatyurt@users.noreply.github.com>
Proposed Changes
Give a brief overview of your contribution here in a few sentences.
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.