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 a GridIn interface to the adapter #67

Open
davidscn opened this issue Nov 10, 2022 · 0 comments
Open

Add a GridIn interface to the adapter #67

davidscn opened this issue Nov 10, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@davidscn
Copy link
Member

davidscn commented Nov 10, 2022

Right now, the grid generation is hard-coded in the solver codes, with some refinement parameters in the parameter file

Solid<dim, NumberType>::make_grid()

However, this is quite intrusive for people, who are not familiar with deal.II and the code. deal.II has the GridIn class in order to read mesh files from the filesystem and we should try to make it compatible with our solver codes. This will only work for hexahedral meshes so far.

In a best case scenario, we could create a separate class, which can be used in both solver codes. As an alternative, one could directly replace the make_grid code by some GridIn function. Important will be the setting of the boundary IDs in order to apply proper boundary conditions. If setting the boundary IDs through the mesh file fails, we can add additional parameters in the parameter file in order to handle this parametrized.

As a first step, we could try to run one of our tutorial cases with an external mesh, e.g., the flap.

@davidscn davidscn added the good first issue Good for newcomers label Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant