CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Units in potentialFoam

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

LinkBack Thread Tools Display Modes
Old   March 4, 2015, 23:07
Default Units in potentialFoam
New Member
Join Date: Oct 2014
Posts: 9
Rep Power: 2
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


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 is offline   Reply With Quote


potentialfoam, 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
Initialization with potentialFoam Sune OpenFOAM Running, Solving & CFD 5 August 27, 2015 11:36
Units problem and boundary conditions with potentialFoam Calu OpenFOAM Running, Solving & CFD 0 February 14, 2014 14:31
Thermophysical Property Units johanz OpenFOAM Pre-Processing 1 January 21, 2014 06:01
units in OpenFOAM megacrout OpenFOAM 4 July 19, 2011 08: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 04:05.