|
[Sponsors] |
October 3, 2007, 14:29 |
Blender Calculix he8 polyMesh
|
#1 |
Member
Doug Baldwin
Join Date: Mar 2009
Posts: 53
Rep Power: 17 |
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} |
|
October 3, 2007, 14:45 |
Try again...first the script
|
#2 |
Member
Doug Baldwin
Join Date: Mar 2009
Posts: 53
Rep Power: 17 |
Try again...first the script
export_fbd.py Now the images... Blender object: Calculix mesh of SymmetryPlanes: |
|
December 12, 2007, 04:50 |
Version 0.2 of script is attac
|
#3 |
Member
Doug Baldwin
Join Date: Mar 2009
Posts: 53
Rep Power: 17 |
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. |
|
October 2, 2008, 11:33 |
Dear Doug Baldwin,
I'd real
|
#4 |
Member
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SnappyHexMesh GUI add-on for Blender | tkeskita | OpenFOAM Pre-Processing | 22 | April 22, 2024 11:45 |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 14:07 |
[Other] Mesh Conversion: OpenFoam (polyMesh format) to Calculix | gillers18 | OpenFOAM Meshing & Mesh Conversion | 2 | April 24, 2015 03:37 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 10:56 |
[blockMesh] Tool Block generation with blender | wikstrom | OpenFOAM Meshing & Mesh Conversion | 8 | August 12, 2009 17:09 |