CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   PostChannel (https://www.cfd-online.com/Forums/openfoam-post-processing/61445-postchannel.html)

maka January 10, 2007 04:35

postChannel works fine on tuto
 
postChannel works fine on tutorial case. Also it works on a half-channel (2 blocks in y direction), full channel 4 blocks (ordered in y direction). I tried it on half-channel (1 block) and it gave me the following error:

Quote:


Create mesh for time = 0


Reading transportProperties
Collapsing fields for time constant
Collapsing fields for time 0
Collapsing fields for time 1000
Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)
Foam::sigSegv::sigSegvHandler(int)
/lib64/tls/libc.so.6 [0x3072c2e2b0]
postChannel [0x437ed4]
postChannel [0x40e6a1]
__libc_start_main
__gxx_personality_v0
Segmentation fault


I checked the fields:
  • no nan.
  • paraFoam can visualize them.
.

Any idea what does that error message imply?

Best regards,
Maka.

maka January 18, 2007 05:44

error message reproduced on ch
 
error message reproduced on channel395 tutorial

to reproduce the error message on channel395 tutorial:

(1) make a channel of one block. http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif blockMeshDict
(2) remove boundary file.
(3) replace 0 folder with a copy of 0.org (no mapFields related issues).
(4) run and write 5 times step. http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif controlDict
(5) run postChannel

related threads: 1

Thanks.
Best regards,
Maka.

maka February 9, 2007 11:43

Problem solved. That error
 
Problem solved.

That error message was due to a mismatch between postChannelDict entries and the blockMeshDict.

postChannelDict requires entering the no cells in each block (blocks are only allowed normal to y direction), manually and it does not read it automatically from the mesh.

It is typical that you change the grid resolution or number of blocks in blockMeshDict and forget to update the postChannelDict accordingly which results in either bad collapsed profiles or the above error.

Best regards,
Maka.

maka February 9, 2007 11:49

related threads: 1
 
related threads: 1

zebu83 July 16, 2009 08:20

Hi Maka,
i follow your instruction, but I receive this error:

Quote:

Create time

Create mesh for time = 0


Reading transportProperties
Collapsing fields for time 0
Collapsing fields for time 40
Collapsing fields for time 80
Collapsing fields for time 120
Collapsing fields for time 160
Collapsing fields for time 200
Collapsing fields for time 240
Collapsing fields for time 280
Collapsing fields for time 320
Collapsing fields for time 360
Collapsing fields for time 400
Collapsing fields for time 440
Collapsing fields for time 480
Collapsing fields for time 520
Collapsing fields for time 560
Collapsing fields for time 600
Collapsing fields for time 640
Collapsing fields for time 680
Collapsing fields for time 720
Collapsing fields for time 760
Collapsing fields for time 800
Collapsing fields for time 840
Collapsing fields for time 880
Collapsing fields for time 920
Collapsing fields for time 960
Collapsing fields for time 1000
end
and I can't view anythings new with paraview.

Any ideas?

Thank you

MT

zebu83 July 22, 2009 09:15

I solve the problem... I download the OF patch (OpenFOAM-1.5.x) and after remake all, postChannel works fine.

The problem was in the postChannelDict, infact the new version is a little bit different.

Best regards

MT


All times are GMT -4. The time now is 01:08.