CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   enGrid (https://www.cfd-online.com/Forums/engrid/)
-   -   Trouble exporting from Blender to EnGrid (https://www.cfd-online.com/Forums/engrid/155010-trouble-exporting-blender-engrid.html)

iceBird10 June 23, 2015 21:08

Trouble exporting from Blender to EnGrid
 
Hi,

I am trying to export a blender file as a .begc (Blender-Engrid file), but I cannot find the the option on the export menu in Blender (currently using v2.70, but have tried in older versions). I've heard elsewhere that special scripts need to be installed, but I cannot find these. Can someone help? Thanks.

KateEisenhower June 26, 2015 06:11

Hi,

I used the scripts you find here: https://github.com/enGits/engrid/tre..._scripts/2.63a

Best regards,

Kate

iceBird10 June 27, 2015 16:27

Thanks!
 
Quote:

Originally Posted by KateEisenhower (Post 552239)
Hi,

I used the scripts you find here: https://github.com/enGits/engrid/tre..._scripts/2.63a

Best regards,

Kate

Thanks so much! Got everything to work.

KateEisenhower June 27, 2015 18:28

You're welcome.

Does anyone know what the io_export_snappy.py Script is for? Description from the code:
Code:

"description": "Export objects suitable for snappyHexMesh (snappyHexMeshDict)"
I mean how does it differ from io_export_engrid.py?

Best regards,

Kate

wyldckat June 28, 2015 17:40

Quote:

Originally Posted by KateEisenhower (Post 552406)
I mean how does it differ from io_export_engrid.py?

Quick answer: Sadly this script was only started to be developed and it seems that it was never finished. The differences are only aesthetic and there is no difference in the core code.

If you're looking for something with the desired functionality, check this wiki page: http://openfoamwiki.net/index.php/SwiftSnap

RANSES February 2, 2016 20:40

Importing in blender
 
In this regard, I seize the opportunity for submitting a different, but still comparable question. If, rather than exporting, I wanted to import in blender a fluent mesh (namely a .msh file) in order to subsequently rendering it...do you think it would be possible?

wyldckat February 6, 2016 07:17

Greetings to all!

Quote:

Originally Posted by RANSES (Post 583464)
In this regard, I seize the opportunity for submitting a different, but still comparable question. If, rather than exporting, I wanted to import in blender a fluent mesh (namely a .msh file) in order to subsequently rendering it...do you think it would be possible?

I'm going to assume you want to do this, because you want to later import it to enGrid. Otherwise, you should have asked about this... er... not sure where... maybe here: http://www.cfd-online.com/Forums/mesh-generation/

To answer your question: Blender is meant to handle the surface mesh. This means that you will need to extract the surface mesh from the Fluent mesh into a importable format and only then you can import to Blender.
If I had to do this myself, I would use OpenFOAM to import the Fluent mesh and then export the surface mesh to STL. The STL file could then be imported in Blender, although the downside of this is that the surface mesh would be composed of triangles... which if your original surface mesh was composed of 4 sided polygons, isn't a totally bad solution.

Best regards,
Bruno


All times are GMT -4. The time now is 23:38.