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

Units in potentialFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2015, 23:07
Default Units in potentialFoam
  #1
New Member
 
Join Date: Oct 2014
Posts: 9
Rep Power: 12
xiaofishnus is on a distinguished road
I am a newer in potentialFoam. Could you please let me know whether the following understandings are correct:

The potentialFoam solves the laplacian equation
laplacian(p)=0, in which p is the velocity potential.

However, in the source code potentialFoam.c and the initial field
the dimension of p is (0,2,-2,0,0), which stands for the "density normalized" pressure p/density.

the unit in the pEqn

left hand side:
fvm::laplacian(dimensionedScalar("1", dimTime/p.dimensions()*dimensionSet(0, 2, -2, 0, 0), 1), p)

laplacian dimTime/p.dimensions()*dimensionSet(0, 2, -2, 0, 0), 1) p
(1/m2 ) s m2/s2

which is 1/s

right hand side

fvc::div(phi)

div phi
1/m m3/s

which is m2/s


This means the unit is not consistent???!!!


can anyone tell me what's wrong with my understanding? thanks.

xiaofishnus
xiaofishnus is offline   Reply With Quote

Reply

Tags
potentialfoam, units


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
Thermophysical Property Units johanz OpenFOAM Pre-Processing 2 December 16, 2018 11:08
Initialization with potentialFoam Sune OpenFOAM Running, Solving & CFD 6 March 2, 2016 13:18
Units problem and boundary conditions with potentialFoam Calu OpenFOAM Running, Solving & CFD 0 February 14, 2014 14:31
units in OpenFOAM megacrout OpenFOAM 4 July 19, 2011 09:04
units of geometrical parameters lost SoobY ANSYS Meshing & Geometry 2 January 10, 2011 04:58


All times are GMT -4. The time now is 13:36.