CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   StreamFunction Utility in OF1.6 (http://www.cfd-online.com/Forums/openfoam/74032-streamfunction-utility-of1-6-a.html)

maruthamuthu_venkatraman March 23, 2010 05:19

StreamFunction Utility in OF1.6
 
Dear Foamers,
I can able to write data by using this utility "StreamFunction". When i upload this data as point Fields in paraFoam, it doesnt display.

The following message shows up.

/usr/local/OpenFOAM/OpenFOAM-1.6.x/bin/paraFoam: line 109: 4687 Segmentation fault paraview --data="$caseFile"

Any hint will be useful.

Thanks

maruthamuthu_venkatraman April 12, 2010 10:41

Dear Foamers,
Actually internal mesh has to be checked out, only boundaries should be included when we open data in paraview. Then we can see the streamfunction predicted by OpenFoam.

May be its useful to somebody.

ternik April 13, 2010 13:55

Quote:

Originally Posted by maruthamuthu_venkatraman (Post 254328)
Dear Foamers,
Actually internal mesh has to be checked out, only boundaries should be included when we open data in paraview. Then we can see the streamfunction predicted by OpenFoam.

May be its useful to somebody.

Hi Maruthamuthu,

I have the same problem with OF-1.5; I am able to run streamFunction utility, but I can not load (view) results with ParaView, even if I "check out" the internal mesh! Do you (or anyone else) have any hints on this?

Thanks and enjoy,
Primoz

maruthamuthu_venkatraman April 13, 2010 14:27

Hi,
You should include StreamFunction data aswell, Its there in point fields. Except internal mesh checkin all the rest . Atleast in OF1.6 it works .

Just try it out and reply me if it works..

Regards

ternik April 13, 2010 15:21

Quote:

Originally Posted by maruthamuthu_venkatraman (Post 254462)
Hi,
You should include StreamFunction data aswell, Its there in point fields. Except internal mesh checkin all the rest . Atleast in OF1.6 it works .

Just try it out and reply me if it works..

Regards

Hi,

unfortunately I can not see the "streamFunction" data in the "Point Field Status" (in ParaView)!

Anyway, thanks for your reply!

Cheers,
Primoz

jignesh_thaker2007 September 28, 2011 09:28

hi every one
 
i m using openfoam 201
i have problem to plot streamFunction i solved problem for laminar nonisothermal cavity flow with buoyantBoussinesqSimpleFoam.

when i run streamfunction then it gave me error but when i run another solver like icoFoam,SimpleFoam then streamfunction works but in buoyantBoussinesqSimpleFoam it cant work so what can i do?

plz tel me how can i plot streamFunction?

tel me how to plot streamFunction using buoyantBoussinesqSimpleFoam.
i found error like,

Create mesh, no clear-out for time = 0


Time: 0
--> FOAM Warning :
From function streamFunction
in file streamFunction.C at line 456
Flux field does not exist. Stream function not calculated

Time: 100

Reading field phi
Zero face: patch: 0 face: 0
#0 Foam::error:printStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3
in "/opt/openfoam201/platforms/linuxGccDPOpt/bin/streamFunction"
#4 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#5
in "/opt/openfoam201/platforms/linuxGccDPOpt/bin/streamFunction"
Floating point exception
abcz@abcz-desktop:~/Desktop/sample$


All times are GMT -4. The time now is 14:59.