|
[Sponsors] |
How are people getting on with current open source meshing software? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 29, 2023, 06:25 |
|
#21 | |
Senior Member
andy
Join Date: May 2009
Posts: 323
Rep Power: 18 |
Quote:
What came out of my brief look 6 months ago was that current freely available meshing software was not appropriate for engineering work except in a few specific cases. I also have some doubts about the appropriateness of some commercial meshing software but that is a separate topic. I briefly looked at working with one or two of the existing open projects but failed to get a positive response (which had also been the case in the past with a number of solvers I wanted to "fix"). The reality of open source seems to be rather different to the general perception of inclusivity though I expect there are some pretty good reasons for it. My response has been to start working on a mesh generator I would want to use for engineering simulation work in the future. Unfortunately due to ill health progress has been glacial (I am experienced but getting old) and whether production-ready code will ever result is uncertain. It is an interesting topic though considering how best to handle adaptation and optimisation of the geometry and mesh given the range of boundary conforming and nonconforming elements likely to be in use by solvers. |
||
October 1, 2023, 05:34 |
Demand for another mesh generator?
|
#22 |
Member
Bob Tipton
Join Date: Apr 2020
Posts: 35
Rep Power: 7 |
We're doing some research on an NSF grant and budgets are tight. It's pushing the boundaries of all CFD tools so I've made some requests for "donated" tools. I'm not hopeful.
I'm working on the new mesher now and one question is, is there enough demand to recoup the time? Our focus is external flow of highly curved shapes with vorticity, slots, ejectors and porosity. I'm not sure how many others will need it. |
|
October 1, 2023, 05:52 |
|
#23 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,291
Rep Power: 35 |
Quote:
What is the thing that is changing from one study to another? Do you have to remesh it every time? Is there any detail you can share. I just want to see if there is any efficient solution to your problem using Wildkatze. If there is something possible it might save you lots of efforts. |
||
October 1, 2023, 05:55 |
Lots
|
#24 |
Member
Bob Tipton
Join Date: Apr 2020
Posts: 35
Rep Power: 7 |
It's matrix
Angle of attack to the flow, slot size, spacing between sections, curvature of a lofted surface etc. The base model is changing geometry, and the boundary layers have to be rebuilt each time. |
|
October 1, 2023, 05:59 |
|
#25 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,291
Rep Power: 35 |
Quote:
How about if you used immersed boundary method and gave up on meshing in the start. Then based on the results from immersed boundary you only did final calculations with only few cases with proper boundary layer etc. |
||
October 2, 2023, 14:07 |
|
#26 | ||
Senior Member
andy
Join Date: May 2009
Posts: 323
Rep Power: 18 |
Quote:
Quote:
Sounds fairly similar to the sorts of things I used to be involved with many decades ago for flows related to gas turbine combustion chambers. When in academia the software was owned by the university and/or industrial sponsors and so was only ever written for the research group to use. Academics sometimes believe they have the same rights to "their" software as they do to "their" publications but this is almost never the case. If you do want your software to be used by others outside your group I would strongly recommend checking your contract first. |
|||
Yesterday, 11:55 |
|
#27 |
New Member
Umut
Join Date: May 2011
Posts: 24
Rep Power: 15 |
Dear tortured souls,
I joined the ranks of digital masochists by trying to generate a mesh for multi-region part with thin bodies. Any update on open-source 3D hybrid mesher? So far, I tried usual suspects of SHM, cfmesh, salome, gmsh. Here is how each of them fails (by my experience): SHM: Insists on uniform hexas, resulting in a mesh several orders of magnitude larger than necessary. CfMesh: Can’t generate multiRegion mesh. (I doubt even paid version would handle thin bodies gracefully) Salome: Basically Gmsh with (arguably) a better UI but consistently worse results. (Geometry creation is way better for sure) Gmsh: Almost there, works for 2D or embarrassingly simple 3D cases. But for geometries slightly passing simple, cells in the vicinity of pyramids are beyond fixable/usable quality. (Please check: Hybrid Mesh Generation in Gmsh) (I must admit I didn't try this enough perhaps) I’ve given each tool my time, patience, a non-trivial portion of my soul. I couldn’t find a reliable way for hybrid 3D mesh in open-source. If anyone has stumbled upon a hidden gem, a secret workflow, or even a mildly effective ritual sacrifice to the meshing gods—please share. I’m all ears (with rapidly declining sanity). |
|
Yesterday, 20:06 |
|
#28 |
Member
Bob Tipton
Join Date: Apr 2020
Posts: 35
Rep Power: 7 |
I've been doing high end FEA/CFD/CAD/CAE work since 1984 for big outfits like McDonnell Douglas and DOD. The secret sauce is often writing your own custom mesh generator on a case by case basis. That's how most 2d airfoil meshes are made.
Meshes like this are not generated by a general purpose tool. I'm working some PITA 3D cases where the meshers fail miserably. I've got a lot of C++ code in place already. Enough to layout the block mesh, view it, edit it, write the OF polymesh files and define boundaries. The plan is to grow that to a new tool which is way in the future, but if you're up for writing your own code - it's better than starting from nothing. |
|
Today, 04:16 |
|
#29 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,291
Rep Power: 35 |
Quote:
I recently did a calculation that had 14 regions and many mesh to mesh interfaces in Wildkatze. However the mesh was generated by CfMesh or by Snappy (I do not remember because i got it in openfoam format). What i did was converted the mesh for each region using openfoam to fluent converters and then combined them all into one mesh using Wildkatze and did my simulation. Doing this in openfoam would be really painful so, company just decided to use Wildkatze for this purpose otherwise they mostly use openfoam. |
||
Today, 05:11 |
|
#30 | |
New Member
Umut
Join Date: May 2011
Posts: 24
Rep Power: 15 |
Quote:
Thank you for your reply, I truly appreciate the insight you shared from hand-on experience. However, I’d argue that 2D bluff bodies are hardly complex geometries. In my view, there are scenarios where unstructured meshes are preferred and others where they are absolutely required. Allow me to elaborate:
I want to use non-commercial tools for industrial applications. Therefore I want to prepare streamlined workflows for various mesh scenarios. I believe a reliable hybrid mesh generating open-source tool would be invaluable. (Yet I failed to find one ) |
||
Today, 05:28 |
|
#31 | |
New Member
Umut
Join Date: May 2011
Posts: 24
Rep Power: 15 |
Quote:
That is an interesting workflow, thank you for sharing it. I’m not sure if I fully understand it because I never used Wildkatse. So, there was already a polyMesh folder with 14 cellZones (or regions) with acceptable quality. Was the mesh at the region-to-region interfaces were not conformal? Why required interfaces? This may not be a remedy for my situation at hand though. I’m having trouble to generate a mesh with acceptable quality. Imagine there is a thin and wide body in the computational domain where the whole geometry is too complex to generate block-structured mesh. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
[swak4Foam] funkySetFields compilation error | tayo | OpenFOAM Community Contributions | 39 | December 3, 2012 06:18 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |