|
[Sponsors] |
[cfMesh] FOAM FATAL ERROR: Negative size requested |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 12, 2019, 09:42 |
FOAM FATAL ERROR: Negative size requested
|
#1 |
New Member
Join Date: Nov 2017
Posts: 11
Rep Power: 8 |
Hello everyone
I'm using cartesianMesh and having mixed feelings about it. I do like the simplicity and performance very much. However there are some show stoppers to efficiently use and rely on it. First i would like to mention, with complex geometries, the mesh on the boundary has to be very (emphasis on very) fine. This results in rather large meshes compared to snappyhexmesh or other (also commercial) tools. Otherwise there are bad faces/cells. More importantly with certain mesh settings (refinement values) i get the error mentioned in the title. The output looks as following (attached picture). cfmesh_neg_size.PNG The mesh is with around 100Mio cells rather large. It is kind of annoying to find settings where the error doesn't occure. I'm not using distributed memory and i'm having 60 cores and 200GB RAM. Sometimes it does work without error. Has anyone experienced something simmilar and what could be the reason? I would like to get rid of this behaviour so I can focus on the mesh itself. Thank you, regards nope Edit: For the interested people, i changed a few things and the above mentioned error hasn't occured again yet. Unfortunately I can't tell what was the reason because the following changes were made alltogether... I know. - Repaired geometry, there was a not so nice surface - Updated to OF v1906 - Compiled OF with 64bit label size Creating a good mesh with a reasonable cell size at the boundary is still a challenge. The workflow is basically starting with a "large" cellsize (around 0.0005m) and make it smaller until the meshing is successfully. Any best practice hints are welcome. Last edited by nope; July 17, 2019 at 03:19. |
|
August 19, 2019, 06:10 |
|
#2 |
Senior Member
Kmeti Rao
Join Date: May 2019
Posts: 145
Rep Power: 8 |
Hi nope,
I was looking at de-featuring the geometry as we have discussed on the other thread genetation of mesh for very thin airfoil propellers, and found this pdf http://www.arek.pajak.info.pl/wp-con...flow_cadOF.pdf. I hope the procedure mentioned here is useful for everyone regardless of the geometry and the meshing tools they are using. Krao |
|
August 19, 2019, 07:13 |
|
#3 |
New Member
Join Date: Nov 2017
Posts: 11
Rep Power: 8 |
Hi Krao
Thank you for sharing. The particular error mentioned in my first post got away with 64bit labels. Even though 32bit labels are enough for the finished mesh, it seems some intermediate state results in a overflow. Cheers, nope |
|
November 2, 2019, 19:08 |
|
#4 | |
New Member
Join Date: Nov 2019
Posts: 13
Rep Power: 6 |
Quote:
What does it means compile with 64 label instead of 32? I suppose you are referign to the Unix enviroment... |
||
November 4, 2019, 08:56 |
|
#5 |
New Member
Join Date: Nov 2017
Posts: 11
Rep Power: 8 |
Hi user007... i guess
I'm using OpenFOAM v1812/v1906 which has cfMesh included. In the etc/bashrc file in the OpenFOAM directory you can set the size of the labels in bits, either 32 or 64. This influences the max. integer number OpenFOAM can use. If your mesh is too big, it can happen that a integer number which exceeds this max. number occurs. Then you can switch to 64 and recompile OpenFOAM. If your Mesh is not particularly big (>>100Mio. cells), then i guess something else is wrong and this is not the solution for your problem. Your geometry (stl or whatever) could be bad and not closed or in the wrong units. Cheers, nope |
|
November 9, 2019, 04:28 |
|
#6 | |
New Member
Join Date: Nov 2019
Posts: 13
Rep Power: 6 |
Quote:
There is no way to assign max and min size to surfaces in order to get refinement just where quality is too low insted of a fixed target size/refinement level only? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh error "Cannot determine normal vector from patches." | lethu | OpenFOAM Meshing & Mesh Conversion | 1 | June 3, 2020 07:49 |
[mesh manipulation] RefineMesh Error and Foam warning | jiahui_93 | OpenFOAM Meshing & Mesh Conversion | 4 | March 3, 2018 11:32 |
[blockMesh] Errors during blockMesh meshing | Madeleine P. Vincent | OpenFOAM Meshing & Mesh Conversion | 51 | May 30, 2016 10:51 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 18:45 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |