CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] pMesh tetMesh fails

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2019, 19:56
Default pMesh tetMesh fails
  #1
New Member
 
Join Date: Nov 2019
Posts: 5
Rep Power: 2
user007 is on a distinguished road
Hi, and thanks for the great tool cfMesh.
I tried some mesh with cartesianMesh since I guess is the fastest one and when I was satisfied with refinement I switch to tetMesh and pMesh, but I encurred in the following error:

Code:
...
 ...
...
 Extracting voronoi mesh
Resizing points!


--> FOAM FATAL ERROR:
Negative size requested.

    From function template<class T, Foam::label Offset>
inline void Foam::LongList<T, Offset>::allocateSize(const label)
    in file lnInclude/OF__LongListI.H at line 73.

  FOAM aborting

If I disable the refinements, the mesh continues without errors, obviously producing a too coarse result, so am I doing something wrong in the definition of refinements?
Has it already been reported that the cartesianMesh is more robust than pMesh and tetMesh?
Is there any way to visualize any areas where geometry can cause problems to the mesher?


I'm using cfMesh 1.1.1 under Windows 10, and in the following the meshDict i'm using:

Code:
surfaceFile "constant/triSurf/Geometry.fms";

enforceGeometryConstraints 0;
keepCellsIntersectingBoundary 0;

maxCellSize 0.128;

localRefinement {

    Main {
        cellSize                    0.012;
        refinementThickness         0.040;
    }

    SubSet_1 {
        cellSize                    0.006;
    }

    SubSet_2 {
        cellSize                    0.006;
    }

    Refinement_1 {
        cellSize                    0.002;
    }
    

    Refinement_2  {
        cellSize                    0.012;
        refinementThickness         0.1;
    }
    
}

objectRefinements {

    Box_Small {
        type        box;
        cellSize    0.016;
        centre      (1.35 0.0 0.0);
        lengthX      5.5;
        lengthY      2.5;
        lengthZ      2.5;
    }

    Box_Medium {
        type        box;
        cellSize    0.032;
        centre      (6.35 0.0 0.0);
        lengthX      10.5;
        lengthY       4.0;
        lengthZ       4.0;
    }

    Box_Large {
        type        box;
        cellSize    0.064;
        centre      (11.35 0.0 0.0);
        lengthX      15.5;
        lengthY       5.0;
        lengthZ       5.0;
    }

}
user007 is offline   Reply With Quote

Old   November 4, 2019, 04:50
Default
  #2
Senior Member
 
Kmeti Rao
Join Date: May 2019
Posts: 105
Rep Power: 3
Krao is on a distinguished road
Hi,

try using additionalRefinementLevels instead of cellSize. If the problem still persists then, more investigation is required
Krao is offline   Reply With Quote

Old   November 9, 2019, 05:32
Default
  #3
New Member
 
Join Date: Nov 2019
Posts: 5
Rep Power: 2
user007 is on a distinguished road
Quote:
Originally Posted by Krao View Post
Hi,

try using additionalRefinementLevels instead of cellSize. If the problem still persists then, more investigation is required
The error got away recompiling Foam with 64bit labels.
user007 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[cfMesh] cfMesh pMesh and tetMesh doesn't work Bastian@MM OpenFOAM Community Contributions 2 June 19, 2019 03:06
[ICEM] Advancing Front fails fabian.schicker ANSYS Meshing & Geometry 0 January 2, 2018 08:31
OF fails after "Create mesh for time = 0" bharatr OpenFOAM Running, Solving & CFD 0 September 17, 2014 21:10
Grid Check Fails in Parallel Processing Mode askance Main CFD Forum 0 October 20, 2010 11:11
fails saying “small gaps” Neser FLUENT 2 February 2, 2004 21:16


All times are GMT -4. The time now is 10:16.