Register Blogs Members List Search Today's Posts Mark Forums Read

 December 28, 2009, 08:49 about Rayleigh numbe #1 New Member   Nabil Join Date: Dec 2009 Posts: 7 Rep Power: 9 Sponsored Links hi all how can i get or calculate Rayleigh number. related docs: http://en.wikipedia.org/wiki/Rayleigh_number best regards

December 28, 2009, 16:07
#2
Senior Member

Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 13
Quote:
 Originally Posted by vilop6 hi all how can i get or calculate Rayleigh number. related docs: http://en.wikipedia.org/wiki/Rayleigh_number best regards
Or try to give us some more details.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"

 December 29, 2009, 10:39 about Rayleigh number #3 New Member   Nabil Join Date: Dec 2009 Posts: 7 Rep Power: 9 hi sega i want an utility tool, or some help to develop once to calculate Rayleigh number as field. to do this i need - rho field - T field - nu and alpha

 December 31, 2009, 05:09 #4 Senior Member     Sebastian Gatzka Join Date: Mar 2009 Location: Frankfurt, Germany Posts: 729 Rep Power: 13 Do you have any knowledge about OpenFOAM programming so far, or are you a beginner? __________________ Schrödingers wife: "What did you do to the cat? It's half dead!"

 December 31, 2009, 09:08 #5 New Member   Nabil Join Date: Dec 2009 Posts: 7 Rep Power: 9 i am new in openfoam programming, do you think that openfoam programming guide is enough to write a small utility.

December 31, 2009, 09:45
#6
Senior Member

Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 13
Quote:
 Originally Posted by vilop6 i am new in openfoam programming, do you think that openfoam programming guide is enough to write a small utility.
No, I don't think so.
I suggest you take a look at the slides from the 4th OpenFOAM Workshop.
Especially the Basic Training slides should be of interest to you.
In particular these:
Have fun!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"

 January 4, 2010, 06:34 #7 New Member   Nabil Join Date: Dec 2009 Posts: 7 Rep Power: 9 thank you sega for your help and time after reading this material i know how -compile an solver -add a new scalartransportproprieties like nu -declaration of fields in creatfields.H i hope to implement my own solver but there is some thing i dont understand when i tray to compile this equation inspired from programming tutorial d(T)/dt + U*grad(T) = nu*laplacian(T) i get some thing like this [caelinux@localhost icoFoam]\$ wmake Making dependency list for source file icoFoam.C SOURCE=icoFoam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/caelinux/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/caelinux/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread -c \$SOURCE -o Make/linuxGccDPOpt/icoFoam.o icoFoam.C: In function ‘int main(int, char**)’: icoFoam.C:83: error: no match for ‘operator==’ in ‘Foam::fvm::laplacian(const Foam::volScalarField&, Foam::GeometricField&) [with Type = double](((Foam::GeometricField&)(& p))) == Foam:perator-(const Foam::tmp >&) [with Type = Foam::Vector, PatchField = Foam::fvPatchField, GeoMesh = Foam::volMesh]()’ /home/caelinux/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/cellModelI.H:124: note: candidates are: bool Foam:perator==(const Foam::cellModel&, const Foam::cellModel&) /home/caelinux/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/edgeI.H:147: note: bool Foam:perator==(const Foam::edge&, const Foam::edge&) make: *** [Make/linuxGccDPOpt/icoFoam.o] Error 1 what that mean, if you know, errors related to operator== operator+

 January 4, 2010, 06:38 #8 Senior Member     Sebastian Gatzka Join Date: Mar 2009 Location: Frankfurt, Germany Posts: 729 Rep Power: 13 Well how did you actually implement the equation? Can you show us some code? How is this related to the Rayleigh number? __________________ Schrödingers wife: "What did you do to the cat? It's half dead!"

 January 4, 2010, 07:08 #9 New Member   Nabil Join Date: Dec 2009 Posts: 7 Rep Power: 9 the goal is to do some simulation for a specified Ra number 10E4 .. 10E7 Ra number is used in dimensionless "no dimonsioned" equations like here http://www-cast3m.cea.fr/cast3m/html...35/node50.html Ra=Gr.Pr but open foam use a dimensioned equations so i have two choice use openfoam dimensioned equations and calculate Ra number after or write a new solver " equation with no dimension by changing dimension parameters in SetDimension.H", i prefer this second coice because i can control Ra numbre and i dont have to calculate it i guess what do you think ragards

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Dave Main CFD Forum 2 October 18, 2016 12:07 kamal Main CFD Forum 2 January 22, 2009 09:57 mauricio FLUENT 2 February 23, 2005 20:43 Hyun Main CFD Forum 0 November 2, 2004 09:11 Thomas P. Abraham Main CFD Forum 4 March 27, 1999 07:39