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

 
 

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

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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.

 

(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
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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 boycomon@gmail.com

    Back to the top


    Powered by Savane 3.5