- No, I don't. This is why it may be hard to create a script to format the BC the way PFLOTRAN wants it. Romain,
Make sure you overwrite the cubit ID’s (uncheck export cubit Id’s if you’re using the GUI). Then the abaqus .inp file appears to exactly follow exodus format.
Payton
From: pflotra...@googlegroups.com [mailto:pflotra...@googlegroups.com]
On Behalf Of Gautam Bisht
Sent: Friday, September 13, 2013 9:15 AM
To: pflotra...@googlegroups.com
Subject: [EXTERNAL] Re: [pflotran-users: 904] Re: Abaqus to pflotran format
Hi Romain,
The grid.mesh for PFLOTRAN is not in correct format. The mesh has 96 hexahedrons with 264 vertices; but ids of vertices forming each hexahedron exceeds 264. The mesh in Abaqus format has vertices ids from 264-528; which will need to be renumbered from 1-264. Did PFLOTRAN run successfully with your grid.mesh file? If yes, could you send your inputfile and we need to add an error check in the code.
Secondly, you may consider reordering vertices forming a control volume. The exodus format is available at http://wikikrause.ins.uni-bonn.de/cgi-bin/viewfile/Main/ExodusII-Format?rev=1;filename=exodusII.pdf
Exodus format for hex: 1-2-3-4-5-6-7-8; while your format has 8-5-1-4-7-6-2-3. Both ordering are correct, but vertices forming top-face of hex are different between to two ordering (2-6-5-1 vs 5-6-7-8)
Regarding identifying boundary for your mesh: It appears to me that control volumes(CV) in your mesh are arranged in a well-defined order: CVs 1,4,7, etc are on the top; CVs 2,5,8, etc are in the middle; and CVs 3,6,9 etc are on the bottom. Thus, for generating top boundary .ss file, you would traverse only CVs 1,4,7,.. and find vertices forming the top face. For bottom .ss file traverse only CVs 3,6,9 etc; For, north/south boundary traverse all CVs. West boundary is formed by only CVs 1-3; and East boundary is formed by CVs 262-264.
-Gautam.
On Fri, Sep 13, 2013 at 1:44 AM, gastonphoebus8 . <romain.pa...@gmail.com> wrote:
Hi Gautam and Glenn,
Thank you for your answers.
What types of control volumes are present in your mesh (hexahedrons, wedge, etc)?
- The mesh consists only in hexahedra.
Can you identify from your abaqus mesh, the control volumes in PFLOTRAN *.mesh that are on boundary and the face of each control volume on which you want to apply BC?
- No, I don't. This is why it may be hard to create a script to format the BC the way PFLOTRAN wants it.
For vertical and horizontal surfaces I could identify vertices on a particular face by searching for a constant value in a given column.
This gets harder to identify which vertices belong to a inclined plane with no constant x,y or z.
Create a simple mesh with a couple cells/elements and a BC in Abaqus format. Then, we could hopefully provide some pointers. A python script should be able to knock this out.
- I attached an example Abacus .inp file and the equivalent .mesh as I converted it using python. (pflotran can run with this grid, but I have no way to specify BC:s)
Can Abaqus export ExodusII meshes?
- As I understand it Abaqus file that i created with cubit respects the exodusII format.
Best regards
/Romain
Steve,
Take a look at PFLOTRAN_DIR/src/python/abaqus2pflotran.py. You have to export from CUBIT in abaqus format.
Otherwise, Emily Stein converts CUBIT meshes to PFLOTRAN format all the time. She is out until next week, but ping this email list if you don’t hear back from her by next Monday. I am unsure whether she uses abaqus2pflotran.py or something else.
Glenn