CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   dimension error in result of volPointInterpolate(p) (http://www.cfd-online.com/Forums/openfoam-pre-processing/71939-dimension-error-result-volpointinterpolate-p.html)

mgolbs January 20, 2010 10:04

dimension error in result of volPointInterpolate(p)
 
Hello,

i have a problem by dimension in result of volPointInterpolate(p). In Result are factor 1000. The result of volPointInterpolate(U) - velocity distribution - are plausible. What can be my mistake? Whats the problem? About informations I'm very happy.

Greeting Markus
http://picfu.net/83d2bc

http://picfu.net/83d2bc

hjasak January 21, 2010 10:03

You are probably using a solver like icoFoam or simpleFoam, in which the pressure is a dynamic pressure in m^2/s^2, rather than in Pascal.

Have a look at 0/p under dimensions: [mass length time ...] to see if I'm right.

If so, AND your fluid density is ~1000 km/m^3, all is clear.

Good luck,

Hrv

mgolbs January 21, 2010 11:28

Hello,

thanks for the informations. I use openFoam 1.4.1 and solver turbFoam.

Quote:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4.1 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "/opt/OpenFOAM/caelinux-1.4.1/run";
case "2010-01-11-hd90";
instance "0.005";
local "";
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField nonuniform List<scalar>



/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4.1 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "/opt/OpenFOAM/caelinux-1.4.1/run";
case "2010-01-11-hd90";
instance "0.005";
local "";
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField nonuniform List<vector>



/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4.1 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "/opt/OpenFOAM/caelinux-1.4.1/run";
case "2010-01-11-hd90";
instance "0.005";
local "";
class surfaceScalarField;
object phi;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 3 -1 0 0 0 0];
internalField nonuniform List<scalar>

Here the part of /p, /u and /phi. Is this the problem whis ~1000 km/m^3? I dont understand, because I think I work in 1 or 2:

1 2
Mass kg To
Weg m mm
Time sec sec
Force N N
Temper K K
Power W mW
Work J mJ
Stress N/m2 N/mm2
Density kg/m3 To/mm3

Greeting Markus


All times are GMT -4. The time now is 11:26.