blockMesh fails with Foam::error::printStack
Hi,
I am trying to generate a mesh using blockMesh. My blockMeshDict looks like this: Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
Creating polyMesh from blockMesh |
Hello,
Cań you please post the complete error message. This error message is not telling anything. BR |
2 Attachment(s)
Dear foamers,
I also met such a 'printStack error' while trying to build a mesh with OpenFOAM_v6 ; the same mesh was built without problem with OpenFOAM_v1806. You will find below the error message, and in attachment the associated blockMeshDict as well as the log of the blockMesh command execution. Does anyone have a clue about this problem ? Error message : #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 ? in "/usr/lib64/libc.so.6" #3 __intel_avx_rep_memset at ??:? #4 Foam::polyMesh::initMesh(Foam::List<Foam::cell>&) at ??:? #5 Foam::polyMesh::polyMesh(Foam::IOobject const&, Foam::Xfer<Foam::Field<Foam::Vector<double> > > const&, Foam::List<Foam::cellShape> const&, Foam::List<Foam::List<Foam::face> > const&, Foam::List<Foam::word> const&, Foam::PtrList<Foam::dictionary> const&, Foam::word const&, Foam::word const&, bool) at ??:? #6 ? at ??:? #7 __libc_start_main in "/usr/lib64/libc.so.6" #8 ? at ??:? /var/spool/slurmd/job266413/slurm_script : ligne 15 : 36516 Erreur de segmentation blockMesh > logBlockMesh_v6_boundary |
1 Attachment(s)
Hello,
I used your blockMeshDict and it ran without any problem. I just reduced the number of elements. You can see the mesh in attachment. Quote:
With your original grading, you would have 260 millions cells (do you really have that big machine). The current mesh (that I have attached below) is having 3 million cells. As far as I remember, as a rule of thumb, 1.5G RAM is required for 1 million element. PS: I used OFv1906 for meshing BR |
Dear mwaqas,
The problem should not be the memory of the used system : I made the run on a fat node with 1.5 TB RAM. Moreover, this exact blockMeshDict with ~260 millions of cells is succesfully used with OpenFOAM_v1806 on the same system, while it leads to the reported error when used with OpenFOAM_v6. Nevertheless, I made the test with OpenFOAM_v6 and a smaller mesh, and the blockMesh commands did work in that smaller case. So their is a mystery there that right now I cannot understand. I'll try to figure out what's going on with the administrators of the used supercomputer, but if you have ideas of what could explain this trouble please let me now ! Best regards, Laurent Orgogozo |
Dear Muhammad, dear foamers,
After verification with my colleagues from the CALMIP supercomputing center, it is likely that the encountered problem is related to a new bug with blockMesh in OpenFOAM_v6. I recall that this mesh is successfully built with OF_v1806, and lead to a 'printStack error' while trying to be built with OpenFOAM_v6. Nevertheless the mesh built with OF_v1806 is usable for computation with OF_v6. Still, if someone solve out this issue, please let me know! Kind regards, Laurent Orgogozo |
All times are GMT -4. The time now is 03:16. |