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

Units question

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 8, 2011, 11:55
Default Units question
  #1
New Member
 
Humberto
Join Date: Nov 2011
Posts: 5
Rep Power: 5
tokotico is on a distinguished road
Hello everybody, I am using pisoFoam to run an external flow over an obstacle, I can not understand the units field in the tutorials where p has dimensions of [0 2 -2 0 0 0 0] instead of what I would expect [1 -1 -2 0 0 0 0].

can anybody point me in the right direction?


Thanks.
tokotico is offline   Reply With Quote

Old   November 8, 2011, 12:03
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
The equations are solved for p/rho, so that rho only appears in the kinematic viscosity. This explains the different units.
Bernhard is offline   Reply With Quote

Old   November 8, 2011, 12:08
Default
  #3
New Member
 
Humberto
Join Date: Nov 2011
Posts: 5
Rep Power: 5
tokotico is on a distinguished road
Thanks for replying so fast Bernhard,

so the results I get for pressure need to be multiplied by rho to make them Pascals?

żdoes it make a difference if I declare units of [1 -1 -2 0 0 0 0] ?
tokotico is offline   Reply With Quote

Old   November 8, 2011, 12:10
Default
  #4
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
Yes, then they will be pascals, but be certain from the source code if it is indeed the kind of pressure you think it is.

If you change the units, the dimensions for the different terms are inconsistent. This will throw you a fatal error.
Bernhard is offline   Reply With Quote

Reply

Tags
units

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
units in OpenFOAM megacrout OpenFOAM 4 July 19, 2011 08:04
internal field question - PitzDaily Case atareen64 OpenFOAM Running, Solving & CFD 2 January 26, 2011 16:26
Question about Table applicaiton. universez OpenFOAM Running, Solving & CFD 0 January 12, 2010 21:31
question about uds tanven FLUENT 1 October 27, 2009 09:55
Poisson Solver question Suresh Main CFD Forum 3 August 12, 2005 04:37


All times are GMT -4. The time now is 00:32.