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

Dimension of pressure: M/LT2 or L2/T2?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2013, 13:57
Question Dimension of pressure: M/LT2 or L2/T2?
  #1
Member
 
Glenn Carlson, PE, PhD (ret)
Join Date: Oct 2012
Location: US
Posts: 49
Rep Power: 13
gcengineer is on a distinguished road
Sometimes the dimension of pressure is specified differently in 0/p file for different problems:

tutorials/basic/potentialFoam/cylinder
dimensions [0 2 -2 0 0 0 0];

tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff
dimensions [1 -1 -2 0 0 0 0];

What tips me off to the correct dimension to use for a particular problem?

Is there a general rule for the correct dimension of pressure in 0/p file? Is it simply a matter of whether the problem is 2D or 3D? Compressible or incompressible?

I see that (M/LT2)/(M/L3) = L2/T2.

Thanks.

Last edited by gcengineer; August 7, 2013 at 13:59. Reason: Courtesy
gcengineer is offline   Reply With Quote

Old   August 7, 2013, 15:37
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
one is pressure and the other one is pressure divide on density
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   August 7, 2013, 15:44
Default
  #3
Member
 
Glenn Carlson, PE, PhD (ret)
Join Date: Oct 2012
Location: US
Posts: 49
Rep Power: 13
gcengineer is on a distinguished road
Thank you, nimasam, for responding.

As I wrote, "I see that (M/LT2)/(M/L3) = L2/T2."

What I want to know is why does one case require M/LT2, but another requires L2/T2?

Is it 2D v 3D? Compressible v incompressible? Choice of solver?

Last edited by gcengineer; August 7, 2013 at 15:45. Reason: Correction
gcengineer is offline   Reply With Quote

Old   August 7, 2013, 15:59
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
you should check each solver , but its pressure on density in some incompressible solvers
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   August 7, 2013, 16:24
Default
  #5
Member
 
Glenn Carlson, PE, PhD (ret)
Join Date: Oct 2012
Location: US
Posts: 49
Rep Power: 13
gcengineer is on a distinguished road
It appears that the dimension of pressure is M/LT2 for compressible solvers and L2/T2 for incompressible solvers. Here, Boussinesq solvers are incompressible (e.g., buoyantBoussinesqSimpleFoam, buoyantBoussinesqPimpleFoam).

If there is an exception to this rule, I would appreciate knowing about it.

Thanks.
gcengineer is offline   Reply With Quote

Old   August 7, 2013, 16:29
Default
  #6
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
forexample interFoam which is two-phase incompressible solver
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   August 7, 2013, 16:41
Default
  #7
Member
 
Glenn Carlson, PE, PhD (ret)
Join Date: Oct 2012
Location: US
Posts: 49
Rep Power: 13
gcengineer is on a distinguished road
Yes. However, for the cases in /tutorials/multiphase/interFoam, there is no 0/p, but 0/p_rgh has dimension M/LT2.

Thanks again.
gcengineer 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
How to get the total pressure in the UDF? zgzhai Fluent UDF and Scheme Programming 3 September 24, 2018 16:12
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Unsteady pressure differential between inlet and outlet of the pipe for single phase joshi20h FLUENT 0 September 26, 2012 12:41
Difference between pressure, absolute pressure and Total Pressure shaswat CFX 1 September 6, 2012 06:12
Setup/monitor points of pressure and force coefficients siw CFX 3 October 22, 2010 06:07


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