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

Add convergence study example #229

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

fsimonis
Copy link
Member

@fsimonis fsimonis commented Feb 6, 2025

Main changes of this PR

Based on #228

This PR adds a convergence study example using the mapping tester based on unit-square meshes.

Tested are 5 input meshes and 4 mappings. NN, NP, 2 TPS-C2 using PoU.

Current local runtime is 20 seconds and 23 seconds in the CI.

Author's checklist

  • I used the pre-commit hook and used pre-commit run --all to apply all available hooks.
  • I added a test to cover the proposed changes in our test suite.
  • I updated the documentation in docs/README.md.
  • I added a changelog entry in ./changelog-entries/ (create if necessary).
  • I updated potential breaking changes in the tutorial precice/tutorials/aste-turbine.


rm -f *.vtk

parallel python ../../../tools/mesh-generators/generate_unit_square.py -r {} -m {}.vtk ::: 0.1 0.0775 0.055 0.0325 0.01 0.06
Copy link
Member

Choose a reason for hiding this comment

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

Looks like you generate the meshes here. Do you need to push them as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

I included this to more easily change the case in the future. The meshes themselves are pretty small and the generator requires gmsh and meshio. I didn't want to pull these dependencies in the aste CI.

@fsimonis fsimonis self-assigned this Feb 6, 2025
@fsimonis fsimonis force-pushed the add-conv-study-example branch from a03b5f3 to d9a674b Compare February 7, 2025 13:57
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.

2 participants