CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Forces in compressible internal flow (http://www.cfd-online.com/Forums/openfoam/75332-forces-compressible-internal-flow.html)

 zabar April 22, 2010 07:06

Forces in compressible internal flow

Hi all,

I tried calculate forces that act on cylinder inside a pipe. when i used simplefoam ,i get very good result. but when i switch to rhoporoussimplefoam (with zero porosity - i use it as a template for steady state compressible flow - air) i get wrong direction and component of force greater x150 .
for finding force i used :

functions
(
forces
{
type forces;
patches (buhna); // change to your patch name
rhoInf 1.24; //Reference density for fluid
CofR (0 0 0); //Origin for moment calculations
}
);

Is there anyone who can explain how do it right.
Sasha

 zabar April 24, 2010 17:58

hi all,

anyone have expirience
with force Utility for use it for Compressible Flow Fields ?
i tried look at forum but:( nothing.

thank you

p.s.
i tried also with rhoSimpleFoam, and with rhoTurbFoam and i get similar result as in rhoporoussimplefoam.I work in O.F. 1.5 and geometry from SALOME. If there some indication that problem in mesh? i read that yplus in turbulent flow must be 30<y+<100, in my case average of y+ on cylinder is 1 (flow is turbulent, RE>20000).
Sasha

 zabar April 26, 2010 03:54

i tried refine the mesh - the same result.
what i should to do:confused:

 xisto April 26, 2010 10:13

I' sorry,

But I never need to calculate forces.

What is the turbulence model that you are using? Do you use wall functions?

Because if you do the y+ around 30 and 100 should work fine, but if you don't use wall functions you need a low-Re turbulence model that can solve the boundary layer.

Hope it helps,

CX

 zabar April 26, 2010 10:44

Hi Carlos,
i use k-e model, and not used wall function:confused:
1.where i can specify them? and what the rule?
2.which low-Re model you can suggest, and what's Re limitation for this model.
3.i read that y+ must be between 30 and 100 for fully turbulent flow- is right?
4.if your suggestion valid both for compressible and incompressible flow ?

thank you very much
Sasha.

 xisto April 26, 2010 10:59

I never used a turbulence model in Foam, my experience is with FLUENT.

>>1.where i can specify them? and what the rule?

All high-Re RANS turbulence models include wall-functions because it is inappropriate to use them without. The rule is that for use wall functions you need a valid y+ between 30 and 100 (300 in Fluent).

>>2.which low-Re model you can suggest, and what's Re limitation for this model.

If you want to use a low-Re you need a y+<=1. I could suggest Spalart-Allmaras, k-w or k-w SST.

>>3.i read that y+ must be between 30 and 100 for fully turbulent flow- is right?

Yes I think you are right, but If you want such y+ you need to coarse your mesh, in FLUENT is mandatory to use wall functions I think that in foam is also a need.

 zabar April 26, 2010 11:21

hi,

>>All high-Re RANS turbulence models include wall-functions because it is inappropriate to use them without.

i found them in RASproperties file :)

i will try another RAS model,maybe it will help