CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[Other] Unstructured Grids Add-on for Blender

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree7Likes
  • 6 Post By tkeskita
  • 1 Post By tkeskita

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2019, 11:24
Default Unstructured Grids Add-on for Blender
  #1
New Member
 
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 17
Rep Power: 11
tkeskita is on a distinguished road
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
wyldckat, fusij, jherb and 3 others like this.
tkeskita is offline   Reply With Quote

Old   August 13, 2019, 11:37
Default
  #2
Member
 
Join Date: Nov 2009
Posts: 56
Rep Power: 12
fusij is on a distinguished road
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.
fusij is offline   Reply With Quote

Old   August 13, 2019, 12:45
Default
  #3
New Member
 
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 17
Rep Power: 11
tkeskita is on a distinguished road
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.
tkeskita is offline   Reply With Quote

Old   August 22, 2019, 08:37
Default
  #4
New Member
 
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 17
Rep Power: 11
tkeskita is on a distinguished road
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.
tkeskita is offline   Reply With Quote

Old   September 30, 2019, 12:51
Default
  #5
New Member
 
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 17
Rep Power: 11
tkeskita is on a distinguished road
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:

Daniel_Khazaei likes this.
tkeskita is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[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 Difference on unstructured grids ? DoHander Main CFD Forum 8 September 7, 2011 15:35
Finite volume solution methodology for Unstructured grids Dhileep T K Main CFD Forum 1 May 4, 2010 07:38


All times are GMT -4. The time now is 14:04.