-
Notifications
You must be signed in to change notification settings - Fork 96
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
Third party mesh importing #89
Comments
I've actually done a bit of work on this already as part of importing meshes from the FEM workbench. As long as OpenFOAM has a way to use the imported mesh (ie Fluent to Foam, for example) it is pretty straightforward to do EXCEPT one needs to tie the patches used in the imported mesh into what is used in CfdOF. What I did was add another meshing type called Import Fem to the list of available meshing engines. I then changed the Write Mesh button to Import Mesh. |
The biggest FreeCAD structural issue with importing meshes is that the meshing object should be changed to add an importing meshing engine for each kind of mesh that will be imported - FEM, Fluent, etc. At the same time the mesh object could be modified to use remote hosts. As it sits right now the mesh object assumes everything is done locally. |
One more comment... I understand why users want to create their geometries and mesh them in external tools and then run them CfdOF. Especially now that we have CfdOF-RP. But... I've been running the Real Thunder release of FreeCAD and it is fantastic. The only thing missing in FreeCAD to give the users on other platforms a total solution is a better meshing engine. cfmesh+ seems to be doing some fantastic things these days. And if gmsh did surface refinements in 3D, it would be good too. So while I agree that importing external meshes would be neat, another approach to this problem is to improve the meshing capabilities of cfmesh and gmsh OR allow users to write plug ins to use external meshers like ANSYS, cfmesh+, etc. in FreeCAD. |
@oliveroxtoby probably already knows this, but here is the list of mesh conversion functions available for OpenFOAM for the rest of us.
https://www.openfoam.com/documentation/user-guide/a-reference/a.2-standard-utilities |
In GitLab by @icojb25 on Apr 16, 2022, 04:00
It seems basic mesh importing from 3rd party sources (fluent, CGNS, Star etc) is something users want, and would be useful.
It seems at this stage, that it would be best to have either 1) mesh from part or 2) mesh import exclusive to one another, for the following reasons
It seems then that Mesh Import should only be available if no existing mesh is present, and no mesh from part option should be available if a mesh import has occured. Also then that the Import mesh object will not live under the Part Mesh object.
The text was updated successfully, but these errors were encountered: