HorribleSanity / Raven.jl

MIT License
3 stars 1 forks source link

HOHQ Mesh import #64

Closed masonamccallum closed 1 year ago

masonamccallum commented 1 year ago

Closes #39

Summary

Here we allow the user to import a mesh generated with HOHQ. The file format must be set in HOHQ to be ABAQUS which is not the default. Once HOHQ has generated the .inp file we can then import with the following interface.

coarse_grid = coarsegrid("out/IceCreamCone.inp")

New interface showcased in: examples/grids/hohqmeshimport.jl

masonamccallum commented 1 year ago

Great! Thanks for the feedback. Ill add some tests.

masonamccallum commented 1 year ago

I added a failing test and fixed problem in the next commit.

lcw commented 1 year ago

Looks great! I just pushed a couple of minor changes. If things pass I'll merge it later today.