|
[Sponsors] |
[Other] Unstructured Grids Add-on for Blender |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 29, 2019, 11:24 |
Unstructured Grids Add-on for Blender
|
#1 |
Member
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 57
Rep Power: 16 |
Hello world,
I've been working on a new Blender based 3D mesh editing tool for OpenFOAM (and later on VTK) users: Unstructured Grids (UG) is an add-on for Blender 2.8 for importing, editing and exporting of 3D volume meshes composed of arbitrary polyhedron cells (a.k.a 3D unstructured grids). Editing includes tasks like moving of selected vertices, and assigning selected boundary faces to named patches. The add-on Imports and Exports OpenFOAM PolyMesh format. The add-on is now at proof-of-concept level, and it seems to be working OK, at least for small and medium size meshes. Please feel free to try it out and discuss on this thread, thanks! Here is example of current functionality. Boundary face assignment: And here mesh modification by moving vertices: BR, Tuomo |
|
August 13, 2019, 11:37 |
|
#2 |
Member
Join Date: Nov 2009
Posts: 56
Rep Power: 17 |
Hello, thank you for this addon.
Can you move individual vertices? For example, if you have a faulty cell, you could edit the positions of the vertices of that cell. |
|
August 13, 2019, 12:45 |
|
#3 |
Member
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 57
Rep Power: 16 |
Hi,
yes, you can move any vertex selection (and that's the only thing you can do to geometry currently). So if you know which vertices are bad then you could try to move those by hand. But if there are many bad cells it might be a lot of work. PS. Currently I'm working on adding cell zone and face zone support. |
|
August 22, 2019, 08:37 |
|
#4 |
Member
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 57
Rep Power: 16 |
FYI: Now cell zones are fully supported (using Blender vertex groups). Face zones are read, shown and exported as such, but creation/modification is currently unsupported, since it requires flipMap (face direction) support in GUI.
I also added a GUI: "UG" tab is available in Sidebar of 3D Viewport for mesh objects. |
|
September 30, 2019, 12:51 |
|
#5 |
Member
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 57
Rep Power: 16 |
Some improvements regarding cell editing:
- Deletion of selected cells is now supported - New cells can be extruded from face selection. This is currently WIP and very slow, but it allows interesting body-fit mesh cases. Here is extrusion (followed by Blender mesh twist) example: |
|
May 4, 2020, 01:53 |
Documentation for Unstructured Grids Blender Add-on
|
#6 |
Member
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 57
Rep Power: 16 |
FYI I wrote manual for the Unstructured Grids Blender Add-on, please have a look at https://unstructured-grids.readthedocs.io/
Looks like the images in previous messages are not showing up any more, those can be found also in the docs. BR, Tuomo |
|
October 30, 2022, 09:49 |
Shell extrusion method for boundary layers
|
#7 |
Member
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 57
Rep Power: 16 |
FYI I've added an experimental Shell extrusion method to the add-on. It allows extrusion of thin flat cell layers starting from a surface mesh. I tested it on a mesh generated with SnappyHexMeshGUI, and was able to produce this thin shell of boundary layers on top of Snappy mesh.
Disclaimer: The method fails (creates intersecting faces) when mesh has convex shapes and target thickness is too large, so this method does have limitations. The area marked with red ellipse in the bottom figure below would fail if more layers were added. shell_extrusion_1.jpg shell_extrusion_2.jpg shell_extrusion_3.jpg shell_extrusion_4.jpg BR, Tuomo |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Finite Difference on unstructured grids ? | DoHander | Main CFD Forum | 9 | May 21, 2023 21:58 |
[Other] OpenFOAM - structured or unstructured Grids ? | thomasduerr | OpenFOAM Meshing & Mesh Conversion | 22 | November 25, 2018 00:18 |
unstructured grids, future trend? | Anna Tian | Main CFD Forum | 1 | April 6, 2014 15:54 |
How cell skew affects solution in structured vs unstructured grids | lordvon | Main CFD Forum | 1 | July 3, 2013 07:19 |
Finite volume solution methodology for Unstructured grids | Dhileep T K | Main CFD Forum | 1 | May 4, 2010 07:38 |