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

load geo file #80

Open
rveltz opened this issue Aug 15, 2024 · 1 comment
Open

load geo file #80

rveltz opened this issue Aug 15, 2024 · 1 comment

Comments

@rveltz
Copy link

rveltz commented Aug 15, 2024

Hi,

Is it possible to load a geometry file and refine it?

I noticed that your test folder contains .geo and .msh files but I assume that you do not need .geo in GridapGmsh. However, it would be convenient to just have the lightweight geo file loaded and let GridapGmsh mesh it into a big .msh file.

@JordiManyer
Copy link
Member

JordiManyer commented Sep 24, 2024

Hi @rveltz. I don't think we have this on the pipeline for now, and I don't think we will until someone needs it for their own research. We are always happy to accept contributions.

On another note: This seems like a Gmsh API-related feature, so isn't this something that should be in a fully Gmsh-related package? If it's just .geo / .msh manipulation, I fail so see how this is in any way dependent on Gridap.jl.

Maybe you should have a look at how to do this with gmsh_jll through their API, in the same way we now create .geo files in GridapGmsh. See this test.

Another possibility that is now available is to create a basic mesh with gmsh, then load it into Gridap and refine it using our (relatively) new Adaptivity module. The capabilities are still somewhat limited, but it might suit your needs.

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

No branches or pull requests

2 participants