CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Blender Calculix he8 polyMesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 3, 2007, 15:29
Default Blender Calculix he8 polyMesh
  #1
Member
 
Doug Baldwin
Join Date: Mar 2009
Posts: 53
Rep Power: 17
gdbaldw is on a distinguished road
Script format was invalidated in the above post. The attached script should work. An example of Blender model and Calculix grid is shown below.

/attach{export-fbd.py}

Enjoy,
Doug

/image{Blender object}

/image{Calculix mesh of SymmetryPlanes}
gdbaldw is offline   Reply With Quote

Old   October 3, 2007, 15:45
Default Try again...first the script
  #2
Member
 
Doug Baldwin
Join Date: Mar 2009
Posts: 53
Rep Power: 17
gdbaldw is on a distinguished road
Try again...first the script

export_fbd.py

Now the images...

Blender object:



Calculix mesh of SymmetryPlanes:


gdbaldw is offline   Reply With Quote

Old   December 12, 2007, 05:50
Default Version 0.2 of script is attac
  #3
Member
 
Doug Baldwin
Join Date: Mar 2009
Posts: 53
Rep Power: 17
gdbaldw is on a distinguished road
Version 0.2 of script is attached. Interface panel is shown here:



Description of this grid generation tool is as follows:

This script exports manifolds to Calculix Format (.fbd).

Usage:

Create a base mesh object, then make a first copy of this object.
After a copy is made vertices of any object may be repositioned, but
vertices, lines, and faces may neither be added nor deleted. Successive
copies should be stretched into ever larger manifolds. This script will create
a 3D Calculix mesh successively from the base mesh to the first copy, then from
the first copy to the second copy, etc.

The Displacement button is useful for stretching the manifolds. This function
displaces the selected vertices of the selected object in the direction
normal to the local surface.

The goal is to displace the vertices of each manifold generally normal to
its preceding mesh, while also reshaping as needed. Graphic plots of
first cell height, aspect ratio, and skew are output to layers 11, 12,
and 13.

Blender Material names of the first and last object will be exported as
Calculix sets for generating patches.

The GUI parameters Target Aspect Ratio and Growth Factor are used for
calculating the hex cell height at the base mesh object, and the ratio
of successive cell heights extending to the outermost manifold. The values
Target Aspect Ratio and Growth Factor are the maximum values for the entire
hex mesh, regardless of any undulations in the manifolds. Aspect Ratio is
calculated to be the square root of the quad surface divided by the first cell
height normal to the quad surface.

Symmetry planes may be toggled on/off and positioned along the X, Y, and
Z axes. If one or more symmetry planes are toggled on, the exported file
will include a set of external surfaces called "symmetry". Symmetry planes
are generally useful only when vertices of the base object and manifolds
lie on the symmetry plane.

Select all objects to be exported, with the outermost object active. Press
the Export button to export, then select the file location and filename.
Press the Exit button to exit the script.
gdbaldw is offline   Reply With Quote

Old   October 2, 2008, 12:33
Default Dear Doug Baldwin, I'd real
  #4
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17
norman1981 is on a distinguished road
Dear Doug Baldwin,

I'd really appreciate to try the version 0.2 of your python script that was not attached to your last post... it seems to be what I was looking for in these days!
Thank you very much

Kind Regards

Norman
norman1981 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
SnappyHexMesh GUI add-on for Blender tkeskita OpenFOAM Pre-Processing 16 March 10, 2024 12:42
[snappyHexMesh] How to define to right point for locationInMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 7 March 13, 2016 15:07
[Other] Mesh Conversion: OpenFoam (polyMesh format) to Calculix gillers18 OpenFOAM Meshing & Mesh Conversion 2 April 24, 2015 04:37
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56
[blockMesh] Tool Block generation with blender wikstrom OpenFOAM Meshing & Mesh Conversion 8 August 12, 2009 18:09


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