CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] Advice needed (https://www.cfd-online.com/Forums/openfoam-meshing/72745-advice-needed.html)

lindsaywestraadt February 16, 2010 23:53

Advice needed
 
Hi there

Can anyone give a little advice? :)

In the long run, I want to model fluid-sediment dynamics around rock outcrops in rivers. That's in the long run, at the moment I'm trying to generate meshes automtically. Once I've done that, I'll move on to chosing solvers, and so on ...

I've spent the last week installing and using BRL-CAD to create an stl file that I can use in snappyHexMesh, and now I am speding another week learning how to use snappyHexMesh.

Does anyone know if this is the correct route to go for my type of application? How adaptable is this technique? I know one gets different types of meshes (tet, hex, poly ..), but I'm not sure when/if I'll need what, and if this method will be able to do that? Also other words are flying around, like: gridless, legragian, eulerian, ALE, unstructured, structured grids ...

I'm a bit concerned that I may be wasting my time.

Cheers,
Lindsay

brlcad February 17, 2010 12:21

Lindsay,

I'm not familiar with snappyHexMesh but am intimately familiar with BRL-CAD's capabilities. What you're suggesting sounds like a functional workflow but will depend heavily on the complexity of your geometry and the quality of analysis you desire.

Ideally, you'll want to preserve an implicit or parametric geometry form until you're ready to generate a mesh in order to preserve shape and topology best. So going through STL is less-than-ideal as you've already lost geometric information by doing that conversion. Whether that even matters, though, depends on your geometry. snappyHexMesh could be perfectly sufficient without knowing more about your analysis goals.

BRL-CAD does have a converter to CUBIT, a cheap-but-not-free code from the Sandia National Labs that specializes in generating different types of finite element meshes. If I recall correctly, they're a little over $300 USD bucks, but well worth it if you have advanced meshing needs (they're one of the best). That conversion path will preserve the geometry in parametric form for most BRL-CAD entities and result in a very high-quality mesh of a specifiable type. That's a little more complicated arrangement to set up, obviously, since you'd have to get a license and hook up BRL-CAD to work with it, but an option if your problem calls for it.

That said, I would suggest figuring out what you're needs are by trying the more simple route that you've already figured out. When/if you figure out those needs and can be more specific on what the problems are, it should be easier to figure out a direction to go in.

Cheers!
Sean

lindsaywestraadt February 18, 2010 02:20

Thanks Sean

Now I know that I can get any type of mesh I want in the long run :D

Best regards,
Lindsay


All times are GMT -4. The time now is 06:42.