CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Forces in compressible internal flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 22, 2010, 07:06
Default Forces in compressible internal flow
  #1
New Member
 
sasha
Join Date: Feb 2010
Posts: 10
Rep Power: 16
zabar is on a distinguished road
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;
functionObjectLibs ("libforces.so"); //Lib to load
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.
thanks in advance
Sasha
zabar is offline   Reply With Quote

Old   April 24, 2010, 17:58
Default
  #2
New Member
 
sasha
Join Date: Feb 2010
Posts: 10
Rep Power: 16
zabar is on a distinguished road
hi all,

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

please help, becouse i have very strange result ,and i don't understand where is problem
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).
wait for your suggestion .
thank in advance
Sasha

Last edited by zabar; April 25, 2010 at 14:52.
zabar is offline   Reply With Quote

Old   April 26, 2010, 03:54
Default
  #3
New Member
 
sasha
Join Date: Feb 2010
Posts: 10
Rep Power: 16
zabar is on a distinguished road
i tried refine the mesh - the same result.
what i should to do
zabar is offline   Reply With Quote

Old   April 26, 2010, 10:13
Default
  #4
Member
 
Carlos Xisto
Join Date: Nov 2009
Location: Covilhã, Portugal
Posts: 53
Rep Power: 16
xisto is on a distinguished road
Send a message via MSN to xisto
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
xisto is offline   Reply With Quote

Old   April 26, 2010, 10:44
Default
  #5
New Member
 
sasha
Join Date: Feb 2010
Posts: 10
Rep Power: 16
zabar is on a distinguished road
Hi Carlos,
thank you for your answer,
i use k-e model, and not used wall function
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.
zabar is offline   Reply With Quote

Old   April 26, 2010, 10:59
Default
  #6
Member
 
Carlos Xisto
Join Date: Nov 2009
Location: Covilhã, Portugal
Posts: 53
Rep Power: 16
xisto is on a distinguished road
Send a message via MSN to xisto
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.
xisto is offline   Reply With Quote

Old   April 26, 2010, 11:21
Default
  #7
New Member
 
sasha
Join Date: Feb 2010
Posts: 10
Rep Power: 16
zabar is on a distinguished road
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
thank you for your help.
sasha
zabar is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incompressible and compressible flow. Confused student. Main CFD Forum 27 March 18, 2017 12:25
Boundary Conditions for Internal compressible Flow xisto OpenFOAM Pre-Processing 26 May 17, 2016 02:30
About compressible flow at low mach hit Main CFD Forum 2 October 26, 2009 21:21
urgent help needed with 2d compressible flow James FLUENT 2 June 20, 2007 04:22
compressible channel flow.. R.D.Prabhu Main CFD Forum 0 July 17, 1998 17:23


All times are GMT -4. The time now is 02:25.