|
[Sponsors] |
October 26, 2018, 20:20 |
blockMesh running error
|
#1 |
New Member
Zilong
Join Date: Oct 2018
Posts: 2
Rep Power: 0 |
Hello, guys
I am trying to modify the blockMeshcontrol file from the damBreak case to get a new geometry and mesh. Something strange happened. First, I copy the entire damBreak fold to the run/ directory. And I started with modifying the original copy from the damBreak case and successfully ran it in the end. I got the mesh I want. wever, when I exit the bash and try to run the blockMesh again, the fatal error comes. It seems it delete the mesh I just created. Here is the error and I went to the application file blockMesh.c found some information but still don't understand what caused this error. Hope someone has a solution for this problem. Thank you very much! error.PNG blockMeshC.PNG Capture.PNG |
|
October 29, 2018, 04:09 |
|
#2 |
Senior Member
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8 |
Please also include your blockMesh file
|
|
October 29, 2018, 11:00 |
|
#3 |
New Member
Zilong
Join Date: Oct 2018
Posts: 2
Rep Power: 0 |
Here is the code, thanks.
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1806 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // scale 1; vertices ( (0 0 0) // vertex 0 (2 0 0) // vertex 1 (3 0 0) // vertex 2 (5 0 0) // vertex 3 (0 4 0) // vertex 4 (2 4 0) // vertex 5 (3 4 0) // vertex 6 (5 4 0) // vertex 7 (0 5 0) // vertex 8 (2 5 0) // vertex 9 (3 5 0) // vertex 10 (5 5 0) // vertex 11 (0 6 0) // vertex 12 (2 6 0) // vertex 13 (3 6 0) // vertex 14 (5 6 0) // vertex 15 (0 0 0.1) // vertex 16 (2 0 0.1) // vertex 17 (3 0 0.1) // vertex 18 (5 0 0.1) // vertex 19 (0 4 0.1) // vertex 20 (2 4 0.1) // vertex 21 (3 4 0.1) // vertex 22 (5 4 0.1) // vertex 23 (0 5 0.1) // vertex 24 (2 5 0.1) // vertex 25 (3 5 0.1) // vertex 26 (5 5 0.1) // vertex 27 (0 6 0.1) // vertex 28 (2 6 0.1) // vertex 29 (3 6 0.1) // vertex 30 (5 6 0.1) // vertex 31 ); blocks ( hex (0 1 5 4 16 17 21 20) (20 40 1) simpleGrading (1 1 1) hex (1 2 6 5 17 18 22 21) (10 40 1) simpleGrading (1 1 1) hex (2 3 7 6 18 19 23 22) (20 40 1) simpleGrading (1 1 1) hex (4 5 9 8 20 21 25 24) (20 10 1) simpleGrading (1 1 1) hex (5 6 10 9 21 22 26 25) (10 10 1) simpleGrading (1 1 1) hex (6 7 11 10 22 23 27 26) (20 10 1) simpleGrading (1 1 1) hex (8 9 13 12 24 25 29 28) (20 10 1) simpleGrading (1 1 1) hex (9 10 14 13 25 26 30 29) (10 10 1) simpleGrading (1 1 1) hex (10 11 15 14 26 27 31 30) (20 10 1) simpleGrading (1 1 1) ); edges ( ); boundary ( leftWall { type wall; faces ( (0 16 20 4) (4 20 24 8) (8 24 28 12) ); } rightWall { type wall; faces ( (3 19 23 7) (7 23 27 11) (11 27 31 15) ); } lowerWall { type wall; faces ( (0 1 17 16) (1 2 18 17) (2 3 19 18) ); } atmosphere { type patch; faces ( (12 28 29 13) (13 29 30 14) (14 30 31 15) ); } ); mergePatchPairs ( ); // ************************************************** *********************** // |
|
October 30, 2018, 07:07 |
|
#4 |
Senior Member
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8 |
There seems to be something strange with your installation. That blockMeshDict file runs fine for me (OF5)
|
|
October 31, 2018, 06:53 |
|
#5 |
Senior Member
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 200
Rep Power: 18 |
Hi Zilong,
In your post #1 you said that you modified the blockMeshcontrol file. The file name that you used was really blockMeshcontrol? Kind regards, Paulo |
|
Tags |
blockmeshdict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
checking the system setup and Qt version | vivek070176 | OpenFOAM Installation | 22 | June 1, 2010 13:34 |