Skip to content
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

Merge NACA0012 optimization #49

Merged
merged 32 commits into from
Dec 19, 2020
Merged

Merge NACA0012 optimization #49

merged 32 commits into from
Dec 19, 2020

Conversation

dougshidong
Copy link
Owner

Contains code:

  • Metrics satisfying GCL
  • Tweaks to shock capturing
  • Lift/drag functional
  • Boundary metric differentiation of a functional
  • NACA0012 optimization test case
  • Faster mesh displacement during optimization
  • Full-space fix of consistent signs for dRdW and Mass matrix

Did not fix the Fedora 33 build, just keeping it commented.
Allow pointing to existing dXvdXs, or recompute it.
Note that it does not give the correct dRdX for h-adaptive tests.

Please refer to issue:
#48 (comment)

for more details.
Allows the use of ld.gold with Ubuntu's MPI bug.
First, use cell volume to determine cell stiffness.
Second, use better linear solver parameters.
Do not be so quick to accept a higher residual. Try out other direction first.

And some snippets of code to test out the h-adaptivity.
At compile time, amplitude isn't necessarily seen.
Inverted cells will results in normals pointing in the same direction instead of opposite direction.

In that scenario, just return a huge residual to signify that the constraints are not satisfied.
…ers.

Also allows to pass a precomputed dXvdXp matrix at construction.
CFL should be negative in this scenario since we use dRdW = -R

In the ODE solver, we current use M/dt - dRdW = R

Therefore, the full-space basically switched sides of dRdW and R, and the mass matrix sign must be changed consequentially.
Allows working dRdX test in case of hanging nodes.
@dougshidong dougshidong merged commit 706f248 into master Dec 19, 2020
@dougshidong dougshidong deleted the merge_naca_optimization branch December 19, 2020 22:38
dougshidong added a commit that referenced this pull request May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant