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

Initial refinement at boundaries #1056

Merged
merged 7 commits into from
Mar 6, 2024
Merged

Conversation

blaisb
Copy link
Contributor

@blaisb blaisb commented Mar 5, 2024

Description of the problem

  • Currently, it is not possible to refine the mesh initially in the vicinity of the boundaries. However, this could be very desirable in some cases to have a coarse boundary layer mesh

Description of the solution

  • Add the capability to refine the mesh in the vicinity of a list of boundary IDs specified by the user

How Has This Been Tested?

  • Added a taylor-couette case that uses this principle as a test. It works just fine

Documentation

  • Documentation has been added to the RST file

Comments

  • This does not seem to work well with the matrix-free solver right now, but most likely because the MF solver still faces challenges with respect to the constraints.

@blaisb blaisb requested a review from lpsaavedra March 5, 2024 15:47
doc/source/parameters/cfd/mesh.rst Outdated Show resolved Hide resolved
doc/source/parameters/cfd/mesh.rst Outdated Show resolved Hide resolved
doc/source/parameters/cfd/mesh.rst Outdated Show resolved Hide resolved
include/core/grids.h Outdated Show resolved Hide resolved
include/core/grids.h Outdated Show resolved Hide resolved
include/core/parameters.h Outdated Show resolved Hide resolved
include/core/parameters.h Outdated Show resolved Hide resolved
include/core/parameters.h Outdated Show resolved Hide resolved
@lpsaavedra
Copy link
Collaborator

I will take a look to the behavior of this within the matrix-free solver...

@blaisb blaisb force-pushed the initial_refinement_at_boundaries branch from 5a724dc to 8b4da4d Compare March 5, 2024 23:01
@blaisb blaisb merged commit fbd6deb into master Mar 6, 2024
8 checks passed
@blaisb blaisb deleted the initial_refinement_at_boundaries branch March 6, 2024 12:05
M-Badri pushed a commit to M-Badri/lethe that referenced this pull request Sep 29, 2024
Description of the problem
Currently, it is not possible to refine the mesh initially in the vicinity of the boundaries. However, this could be very desirable in some cases to have a coarse boundary layer mesh
Description of the solution
Add the capability to refine the mesh in the vicinity of a list of boundary IDs specified by the user
How Has This Been Tested?
Added a taylor-couette case that uses this principle as a test. It works just fine
Documentation
Documentation has been added to the RST file
Comments
This does not seem to work well with the matrix-free solver right now, but most likely because the MF solver still faces challenges with respect to the constraints.
Co-authored-by: Laura Prieto Saavedra <[email protected]>
Former-commit-id: fbd6deb
blaisb added a commit that referenced this pull request Sep 30, 2024
Description of the problem
Currently, it is not possible to refine the mesh initially in the vicinity of the boundaries. However, this could be very desirable in some cases to have a coarse boundary layer mesh
Description of the solution
Add the capability to refine the mesh in the vicinity of a list of boundary IDs specified by the user
How Has This Been Tested?
Added a taylor-couette case that uses this principle as a test. It works just fine
Documentation
Documentation has been added to the RST file
Comments
This does not seem to work well with the matrix-free solver right now, but most likely because the MF solver still faces challenges with respect to the constraints.
Co-authored-by: Laura Prieto Saavedra <[email protected]>
Former-commit-id: fbd6deb
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.

2 participants