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

about Rayleigh numbe

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 28, 2009, 07:49
Default about Rayleigh numbe
  #1
New Member
 
Nabil
Join Date: Dec 2009
Posts: 7
Rep Power: 16
vilop6 is on a distinguished road
hi all

how can i get or calculate Rayleigh number.

related docs: http://en.wikipedia.org/wiki/Rayleigh_number

best regards
vilop6 is offline   Reply With Quote

Old   December 28, 2009, 15:07
Default
  #2
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Quote:
Originally Posted by vilop6 View Post
hi all

how can i get or calculate Rayleigh number.

related docs: http://en.wikipedia.org/wiki/Rayleigh_number

best regards
User your calculator.
Or try to give us some more details.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   December 29, 2009, 09:39
Default about Rayleigh number
  #3
New Member
 
Nabil
Join Date: Dec 2009
Posts: 7
Rep Power: 16
vilop6 is on a distinguished road
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
vilop6 is offline   Reply With Quote

Old   December 31, 2009, 04:09
Default
  #4
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
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!"
sega is offline   Reply With Quote

Old   December 31, 2009, 08:08
Default
  #5
New Member
 
Nabil
Join Date: Dec 2009
Posts: 7
Rep Power: 16
vilop6 is on a distinguished road
i am new in openfoam programming, do you think that openfoam programming guide is enough to write a small utility.
vilop6 is offline   Reply With Quote

Old   December 31, 2009, 08:45
Default
  #6
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Quote:
Originally Posted by vilop6 View Post
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!"
sega is offline   Reply With Quote

Old   January 4, 2010, 05:34
Default
  #7
New Member
 
Nabil
Join Date: Dec 2009
Posts: 7
Rep Power: 16
vilop6 is on a distinguished road
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<Type, Foam::fvPatchField, Foam::volMesh>&) [with Type = double](((Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&)(& p))) == Foam:perator-(const Foam::tmp<Foam::GeometricField<Type, PatchField, GeoMesh> >&) [with Type = Foam::Vector<double>, 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+
vilop6 is offline   Reply With Quote

Old   January 4, 2010, 05:38
Default
  #8
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
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!"
sega is offline   Reply With Quote

Old   January 4, 2010, 06:08
Default
  #9
New Member
 
Nabil
Join Date: Dec 2009
Posts: 7
Rep Power: 16
vilop6 is on a distinguished road
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
vilop6 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
Fanno Rayleigh flow in pipes Dave Main CFD Forum 4 August 1, 2021 04:52
Rayleigh Number Thomas P. Abraham Main CFD Forum 7 November 13, 2017 03:23
Rayleigh Taylor simulation in fluent kamal Main CFD Forum 2 January 22, 2009 08:57
natural convection at high Rayleigh mauricio FLUENT 2 February 23, 2005 19:43
About Rayleigh parameter Hyun Main CFD Forum 0 November 2, 2004 08:11


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