CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   New foamer, help with pipe test (http://www.cfd-online.com/Forums/openfoam/84697-new-foamer-help-pipe-test.html)

delic2 February 6, 2011 23:54

New foamer, help with pipe test
 
OK, I am new to Openfoam. I am trying to get a simple compressible turbulent pipe example working but am failing. I am trying to get english units working. I modified /etc/controlDict to english.

I run rhoSimpleFoam and I get about 5 iterations but the pressure at the inlet immediately rockets to like 1e6 levels. I can't understand what's wrong.

any advice/recomendations would be appreciated. Am I missing something stupid? It's driving me crazy at this point.

Some of the boundary conditions are below. k/omega are being set according to standard equations. Mach is around 0.1.

inlet
U
type flowRateInletVelocity;
flowRate 0.5;
value uniform (0 0 130);

P
type zeroGradient;

T
type totalTemperature;
T0 uniform 531.72;
gamma 1.4;

exit

P
type fixedValue;
value uniform 2116.8;

U
type fluxCorrectedVelocity;
value uniform (0 0 0);
inletValue uniform (0 0 0);

T
type totalTemperature;
T0 uniform 531.72;
gamma 1.4;

MBA February 7, 2011 00:46

Check the mesh unit and make sure it is scaled in English unit

Quote:

Originally Posted by delic2 (Post 293885)
OK, I am new to Openfoam. I am trying to get a simple compressible turbulent pipe example working but am failing. I am trying to get english units working. I modified /etc/controlDict to english.

I run rhoSimpleFoam and I get about 5 iterations but the pressure at the inlet immediately rockets to like 1e6 levels. I can't understand what's wrong.

any advice/recomendations would be appreciated. Am I missing something stupid? It's driving me crazy at this point.

Some of the boundary conditions are below. k/omega are being set according to standard equations. Mach is around 0.1.

inlet
U
type flowRateInletVelocity;
flowRate 0.5;
value uniform (0 0 130);

P
type zeroGradient;

T
type totalTemperature;
T0 uniform 531.72;
gamma 1.4;

exit

P
type fixedValue;
value uniform 2116.8;

U
type fluxCorrectedVelocity;
value uniform (0 0 0);
inletValue uniform (0 0 0);

T
type totalTemperature;
T0 uniform 531.72;
gamma 1.4;


delic2 February 7, 2011 00:55

Mesh was create in pointwise in ft units. The points file is indeed in ft. Is there a mesh unit constant somewhere in openfoam?


All times are GMT -4. The time now is 10:46.