|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Aug 2010
Location: Chennai
Posts: 26
Rep Power: 4 ![]() |
I want to mesh a pyramid shape...i am running the following blockMeshDict file but i am getting segmentation fault...can anyone help me !
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.7.0 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (0 0 0) //0 (1 0 0) //1 (1 1 0) //2 (0 1 0) //3 (0.5 0.5 0.5) //4 ); blocks ( pyr 5(0 1 2 3 4) (10 10 10) simpleGrading (1 1 1) ); edges ( ); patches ( ); mergePatchPairs ( ); // ************************************************** *********************** // Output : Creating block mesh from "/home/hariram/Desktop/cone/constant/polyMesh/blockMeshDict" Creating blockCorners Creating curved edges Creating blocks #0 Foam::error: rintStack(Foam::Ostream&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"#1 Foam::sigSegv::sigSegvHandler(int) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: #3 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/blockMesh" #4 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/blockMesh" #5 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/blockMesh" #6 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/blockMesh" #7 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/blockMesh" #8 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #9 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/blockMesh" Segmentation fault |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Aug 2010
Location: Chennai
Posts: 26
Rep Power: 4 ![]() |
Hi,
I could do that using 'hex' keyword with 5 vertices instead of using 'pyr'. Thanx, Hari |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Jan 2012
Posts: 3
Rep Power: 3 ![]() |
Hi,
I am also looking for a way to produce a pyramid in blockMesh. However for me it does not work to use the hex keyword with five entries. I also tried hex (0 1 2 3 4 4 4 4) However that also did not work. How can I get a nice pyramid? Thanks! |
|
|
|
|
|
|
|
|
#4 |
|
Member
Nikunj Raithatha
Join Date: Jul 2012
Location: Washington DC
Posts: 47
Rep Power: 2 ![]() |
just use 01234
|
|
|
|
|
|
![]() |
| Tags |
| blockmesh, cone, pyramid |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| blockMesh error ... | balkrishna | OpenFOAM Pre-Processing | 0 | August 17, 2010 02:39 |
| BlockMesh FOAM warning | gaottino | OpenFOAM Native Meshers: blockMesh | 7 | July 19, 2010 14:11 |
| blockMesh: block with 6 vertexes | dani | OpenFOAM | 3 | June 25, 2009 13:13 |
| Blockmesh cavity error message | tonitoney | OpenFOAM Installation | 2 | March 17, 2008 12:59 |
| Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Native Meshers: blockMesh | 10 | April 2, 2007 14:00 |