units in potentialfoam
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 |
All times are GMT -4. The time now is 02:37. |