mainpyFormex - Support: sr #108250, How to export the meshes generated...

 
 

sr #108250: How to export the meshes generated by the bifmesh tool

Submitter:  Benedict Verhegghe <bverheg>
Submitted:  Wed 06 Feb 2013 07:17:34 PM UTC
   
 
Category:  Plugins Priority:  5 - Normal
Severity:  3 - Normal Privacy:  Public
Assigned to:  bverheg Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 06 Feb 2013 07:17:34 PM UTC, original submission:  

I got the following question by private mail:

"I have an other question about bifmesh code in pyFormex.
How can I transfer the generated mesh file to ANSYS Fluent?
And Is there any document or tutorial for bifmesh code?
Thank you very much!"

First about the documentation: there is (too) little at the moment, but the bifmesh menu has a first item 'Run through example' which will guide you through all steps and create an example mesh.

For the export, I attached a simple example script as a file.
It takes the generated volume and surface meshes, and exports them in Abaqus .inp format.

For most other (text) formats it should not be too difficult to
make the required changes. You basically have to provide the propert writeNodes and writeElems functions. Look at the ones in fe_abq.py in pyformex/plugins to guide you. The f2flu.py contains other versions to export to Gambit (from where you can create the Fluent mesh).

And maybe some other user can add some other way?






Benedict Verhegghe <bverheg>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #27405:  bifmesh_export.py added by bverheg (2KiB - text/x-python - pyFormex script to export the meshes generated by bifmesh tool.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bverheg (Submitted the item)
  • -email is unavailable- added by bverheg
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-02-06 bverheg Attached File- Added bifmesh_export.py, #27405
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code