[MOAB-dev] Polyhedra elements in parallell
Rajeev Jain
jain at mcs.anl.gov
Mon Apr 27 15:25:02 CDT 2015
Can you send your mesh file?
Rajeev Jain
630-252-3176 / 630-252-5986 (fax)
jain at mcs.anl.gov
From: "WARNER, JAMES E. (LARC-D309)" <james.e.warner at nasa.gov>
To: "moab-dev at mcs.anl.gov" <moab-dev at mcs.anl.gov>
Sent: Monday, April 27, 2015 3:12 PM
Subject: [MOAB-dev] Polyhedra elements in parallell
Hello,
I generated a MOAB finite element mesh with polyhedra elements that works fine on one processor. However, when I use mbpart to generate two partitions and run my finite element code in parallel, I get the following error when calling DMMoabLoadFromFile() :
"ParallelComm.cpp:2928: moab::ErrorCode moab::ParallelComm::get_local_handles(moab::EntityHandle*, int, const std::vector<long unsigned int>&): Assertion `ID_FROM_HANDLE(from_vec[i]) < (int) new_ents.size()' failed."
Ultimately, I'd like to use MOAB's polyhedra elements to implement arbitrary user-defined finite elements in the code I work on, but as a simple initial test I am trying to create a mesh with just two 3D bricks using MBPOLYHEDRON rather than MBHEX. I first generate 2D quad elements for the six facets of each 3D element and use an array of these facets as the connectivity for each polyhedron element, according to the documentation. I don't get any warning or error messages when generating the input mesh file or when calling mbpart to partition the mesh, only when trying to read it into the finite element code in parallel. And again, it appears to be working correctly in serial.
It's possible I am overlooking something in my code for generating the mesh, so if you can provide any info about the error above and what may be causing it I'd appreciate it!
Thanks a lot,-Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20150427/f7a1e9ac/attachment.html>
More information about the moab-dev
mailing list