CFEASolver CMeshSolver maintenance by pcarruscag · Pull Request #933 · su2code/SU2 · GitHub
Skip to content

CFEASolver CMeshSolver maintenance#933

Merged
pcarruscag merged 23 commits into
developfrom
grid_deformation_legacy_cleanup
Apr 17, 2020
Merged

CFEASolver CMeshSolver maintenance#933
pcarruscag merged 23 commits into
developfrom
grid_deformation_legacy_cleanup

Conversation

@pcarruscag

@pcarruscag pcarruscag commented Apr 12, 2020

Copy link
Copy Markdown
Member

Proposed Changes

Implements some features that will be necessary to eventually replace the elasticity-based mesh deformation. Namely symmetry boundary condition and the use of the DEFORM_LIMIT option to limit how much of the domain is deformed.

Reduces the discrete adjoint memory usage by disabling the recording of routines that are not relevant or differentiable.

Cleans up some redundant MPI comms in CFEASolver and moves all of them to the methods of that solver (i.e. no more explicit MPI comms in structural integration / iteration).

Makes the structural objective functions available as screen/history output under the name COMBO.

Improves/fixes the incremental load approach when used for multizone problems.

Related Work

#919 #594

PR Checklist

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with the '-Wall -Wextra -Wno-unused-parameter -Wno-empty-body' compiler flags).
  • My contribution is commented and consistent with SU2 style.
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp) , if necessary.

Comment thread SU2_CFD/src/integration/CIntegration.cpp Outdated
Comment thread SU2_CFD/src/iteration_structure.cpp
Comment thread SU2_CFD/src/iteration_structure.cpp Outdated
Comment thread SU2_CFD/src/iteration_structure.cpp Outdated
Comment thread SU2_CFD/src/solvers/CFEASolver.cpp Outdated
Comment thread SU2_CFD/src/solvers/CFEASolver.cpp Outdated
Comment thread SU2_CFD/src/solvers/CSolver.cpp
@talbring

Copy link
Copy Markdown
Member

@pcarruscag

pcarruscag commented Apr 15, 2020

Copy link
Copy Markdown
Member Author

@talbring symmetry it is not the only thing. Can we decide as a group what that is going to look like and discuss the trade-offs? Especially how it will be used, right now the deformation settings are very messy, and the code has no information regarding how/if the different motions can be combined.

@talbring

Copy link
Copy Markdown
Member

Sure! We also have a lot of other things to discuss. Lets organize a more structured meeting. I will open a poll for the date on slack (@ALL: please join if you haven't so far). Furthermore I will prepare an agenda.

@economon economon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the changes!

I think this is ready to go, and we can continue the discussion about the deformation usage as a group on slack / a call / elsewhere.

Comment on lines +478 to +489

@pcarruscag pcarruscag Apr 16, 2020

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am having a third second look at this bit (so I won't merge it just yet).
Although the results did not change from this memory usage tweak, I think some dependencies might be lost here as this is equivalent to assuming the stiffness matrix does not depend on the reference (undeformed) mesh coordinates.
Which is also an approximation made in SU2_DOT.

@pcarruscag pcarruscag merged commit b67c0e8 into develop Apr 17, 2020
@pcarruscag pcarruscag deleted the grid_deformation_legacy_cleanup branch April 17, 2020 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants