CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

problem of streamFunction in buoyantBoussinesqSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2011, 12:39
Default problem of streamFunction in buoyantBoussinesqSimpleFoam
  #1
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 14
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
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$

so anybody can solve my problem?
jignesh_thaker2007 is offline   Reply With Quote

Old   September 28, 2011, 16:16
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
is there phi in your time folder?
you can use paraview or other post processing program to plot streams too
nimasam is offline   Reply With Quote

Old   September 29, 2011, 02:41
Default hi nima
  #3
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 14
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
yes in time folder phi is available.
so how can i write my data of stream function? because in other solver streamFunction command works but in this solver it cant work

i need the value of stream function so how can i run this command?
jignesh_thaker2007 is offline   Reply With Quote

Old   September 29, 2011, 04:49
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
is ur geometry 2D or 3D? streamFunction only works for 2D geometry
nimasam is offline   Reply With Quote

Old   September 29, 2011, 12:25
Default
  #5
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 14
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
ya in 2d. i short-out that problem but
when i give the command of streamFunction then it took the value of phi but it give me msg like

Reading field phi
Zero face: patch: 0 face: 0
..
Exhausted a seed. Looking for new seed (this is correct for multiply connected domains).



& when i plot this value in tecplot it gave me roungh answer
actually my value of vorticity is right but streamfunction value is incorrect so now tel me what can i do?
jignesh_thaker2007 is offline   Reply With Quote

Old   July 9, 2019, 05:58
Default
  #6
New Member
 
Join Date: Jul 2019
Posts: 2
Rep Power: 0
Alya2212 is on a distinguished road
Did you managed to solve the problem?
Alya2212 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with interFoam; Wave/wiggle alpha1 behavior JonW OpenFOAM 10 February 4, 2023 07:27
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 15:40.