|
[Sponsors] |
December 6, 2015, 13:24 |
blockMesh crash with sigFpe
|
#1 |
New Member
hamide hayati
Join Date: Oct 2015
Posts: 28
Rep Power: 11 |
hello friends
i wanna block a simple geometry!!! but i face to a problem, it's: Create time #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::Time::readDict() in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #4 Foam::Time::setControls() in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #5 Foam::Time::Time(Foam::word const&, Foam::argList const&, Foam::word const&, Foam::word const&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #6 in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/blockMesh" #7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #8 in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/blockMesh" Floating point exception (core dumped) i don't know what the problem is!!! would you please help me? |
|
December 6, 2015, 14:01 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: Not enough information to diagnose the origin of the problem. Please follow the instructions given on this thread: http://www.cfd-online.com/Forums/ope...-get-help.html
edit: What you need to do is provide more details about how you got the error in the first place. For example: What is the content of the file "blockMeshDict" that resulted in that crash? Last edited by wyldckat; December 7, 2015 at 04:56. Reason: see "edit:" |
|
December 7, 2015, 06:15 |
|
#3 | |
New Member
hamide hayati
Join Date: Oct 2015
Posts: 28
Rep Power: 11 |
Quote:
this is my blockMeshdict: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (0 0 0) (0.4 0 0) (0 0.02 0) (0.4 0.02 0) (0 0 -0.01) (0.4 0 -0.01) (0 0.02 -0.01) (0.4 0.02 -0.01) ); blocks ( hex (0 1 3 2 4 5 7 6) (100 5 1) simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type patch; faces ( (0 2 6 4) ); } outlet { type patch; faces ( (1 3 7 5) ); } wall { type wall; faces ( (0 4 5 1) (2 6 7 3) ); } frontAndBack { type empty; faces ( (0 2 3 1) (4 6 7 5) ); } ); mergePatchPairs ( ); // ************************************************************************* // Last edited by wyldckat; December 7, 2015 at 07:24. Reason: Added [CODE][/CODE] markers |
||
December 7, 2015, 07:35 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Hamide,
I've gotten a very different result from the one you reported: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.2.0-5be49240882f Exec : blockMesh Date : Dec 07 2015 Time : 11:25:55 Host : "machine" PID : 14207 Case : /home/ofuser/OpenFOAM/ofuser-2.2.0/run/hamide/cavity nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Creating block mesh from "/home/ofuser/OpenFOAM/ofuser-2.2.0/run/hamide/cavity/constant/polyMesh/blockMeshDict" Creating curved edges Creating topology blocks Creating topology patches Creating block mesh topology --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.33333e-05 for face 0 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.33333e-05 for face 1 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.33333e-05 for face 2 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.33333e-05 for face 3 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.33333e-05 for face 4 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.33333e-05 for face 5 --> FOAM Warning : From function blockMesh::createTopology(IOdictionary&) in file blockMesh/blockMeshTopology.C at line 255 negative volume block : 0, probably defined inside-out Check topology Basic statistics Number of internal faces : 0 Number of boundary faces : 6 Number of defined boundary faces : 6 Number of undefined boundary faces : 0 Checking patch -> block consistency Creating block offsets Creating merge list . Creating polyMesh from blockMesh Creating patches Creating cells Creating points with scale 1 Writing polyMesh ---------------- Mesh Information ---------------- boundingBox: (0 0 -0.01) (0.4 0.02 0) nPoints: 1212 nCells: 500 nFaces: 2105 nInternalFaces: 895 ---------------- Patches ---------------- patch 0 (start: 895 size: 5) name: inlet patch 1 (start: 900 size: 5) name: outlet patch 2 (start: 905 size: 200) name: wall patch 3 (start: 1105 size: 1000) name: frontAndBack End Code:
echo $WM_PROJECT_DIR/doc/Guides-a4/UserGuide.pdf Best regards, Bruno
__________________
|
|
December 7, 2015, 09:48 |
|
#5 |
New Member
hamide hayati
Join Date: Oct 2015
Posts: 28
Rep Power: 11 |
thank you very much
but i cant understand what you mean!!!! do you mean i should make the finer mesh? i don't know how improve it!!!!!! |
|
December 7, 2015, 09:55 |
|
#6 |
New Member
hamide hayati
Join Date: Oct 2015
Posts: 28
Rep Power: 11 |
and the other problem is:
i'm new in openFoam. i just can run it's tutorial and change them according to my need... i can block this geometry in pisoFoam algorithm tutorial but not in the simpleFoam!!!!! the error i sent you was in simpleFoam algorithm tutorial |
|
December 7, 2015, 13:38 |
|
#7 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Hamide,
Quote:
The problem you have is with the way the vertices are ordered: Code:
vertices ( (0 0 0) (0.4 0 0) (0 0.02 0) (0.4 0.02 0) (0 0 -0.01) (0.4 0 -0.01) (0 0.02 -0.01) (0.4 0.02 -0.01) ); Code:
faces ( (0 2 6 4) ); Quote:
Then you should take one step at a time. One small change and then test. Practice with each tutorial case. Learn how each detail works. Only then you should try and change to another tutorial. Best regards, Bruno |
|||
December 13, 2015, 14:51 |
|
#8 | |
Senior Member
|
Quote:
As wyldcat said you have to be careful with vertices order. I have completely taught the basics of blockMesh using the famous cavity problem OF in here. If you had any other questions, you may ask here to get more detailed answers. Soon there will be a Persian book out regarding "Meshing in OpenFOAM". Best.
__________________
Learn OpenFOAM in Persian SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 | bjdarrer | OpenFOAM Installation | 7 | August 25, 2020 20:15 |
reactingFoam sigFPE crash | WiIIWiII | OpenFOAM Running, Solving & CFD | 0 | April 21, 2018 11:11 |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 15:53 |
[blockMesh] set of xyz data in blockMesh | psk | OpenFOAM Meshing & Mesh Conversion | 12 | August 27, 2013 09:37 |
Blockmesh cavity error message | tonitoney | OpenFOAM Installation | 2 | March 17, 2008 12:59 |