CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Alter turbulence parameters (https://www.cfd-online.com/Forums/openfoam-solving/60044-alter-turbulence-parameters.html)

newbee August 28, 2006 06:20

Hi all, Is it theoretically
 
Hi all,

Is it theoretically correct to alter the turbulece parameters in order to get better resemlence to experemental data and if so what guidelines are there for doing this.

I doent seem to get results close enough to real values.

/Erik

olwi August 28, 2006 07:12

No, it's not correct! Of cours
 
No, it's not correct! Of course, it depends on your application, you may of course stumble on a very special case for which your model is not appropriate. If you are still talking about a simple channel flow, however, then it's a very bad idea to change constants. Standard turbulence ARE tuned to do that very well. It may give you a "better" result, but for the wrong reason. Two wrongs do not make one right. You should try to focus on what is so special with your case, if there are things you didn't think of:
- Compressible?
- Do you have buoyancy effects?
- Is it single phase?
- Chemical reactions/combustion?
- Swirling flows?
- Permeable walls?
- Wall jets?
- Is it really steady-state? If you think it is, do you get the same solution at the end of a transient run?
- Are you using symmetries where you shouldn't?
- Are your measurements really that good? Do they agree with other results in the literature?
- Are your inlet and outlet conditions placed in a good position upstream/downstream? Are they placed well in the experiment?!

If you want to read more about how the model constants are chosen you could check "Turbulence modeling for CFD" by David C Wilcox, or "Turbulent Flows" by Stephen Pope. Wilcox is good for this question, I think.

/Ola


/Ola

newbee August 28, 2006 07:35

Thank you Ola for the thorough
 
Thank you Ola for the thorough answer. It got me thinking of some new things i shall try. I am modelling a air flow with a incompressible because im hopeful to use the model for water flow aswell. will also try a compressible solver

Thanks again
/Erik

olwi August 28, 2006 07:51

Hi again, Air will indeed b
 
Hi again,

Air will indeed be incompressible, as long as you have a Mach number of less than 0.2-0.3. That means it's ok for speeds below 100 m/s, if you're at ambient pressure. Feel free to tell us a bit more about your case, and about the expriment you compare with. Maybe that will give us some ideas...

/Ola

newbee August 28, 2006 10:24

Thanks a lot! This is the g
 
Thanks a lot!

This is the geometry of the case that I run my simulations on:

http://www.cfd-online.com/OpenFOAM_D...ges/1/2957.jpg

It is 1/12 of the circumference of a rod. the three other sides are symmetry sides. I have used wallFunctions for the rod boundary, inlet for the inlet and inletOutlet for the outlet. The channel is 11.5 meter long and has a inside air flow velocity of 20.57 m/s. The Re number is 64590.
I count the air flow as incompressible and steady state.


this attached papper explains the experiment that I attempt to reconstruct:

http://www.cfd-online.com/OpenFOAM_D...ges/1/2958.jpg

As the papper mentions the next step is to heat the flow through the wall with the following implemented code:
solve
(
fvm::div(phi, T)
- fvm::laplacian(alphaEff, T)
- S*q/(rho*Cp)
- (mu*(gradU + gradU.T()) && gradU)/(rho*Cp)
- turbulence().epsilon()()/Cp
);

where S is the cell wallarea divided by the cell volume. q is the applied heat/area. The last two term hopefully models vilcous dissipation heating.

I hope I havent shoveled too much uninteresting information on you.

Thankful
/Erik

newbee August 28, 2006 10:47

the papper was to big to send.
 
the papper was to big to send. I will also lay up my graph results once iv'e finnished my last turbmodel.

newbee August 28, 2006 11:38

The flow is oriented thou ward
 
The flow is oriented thou wards the screen in the colored picture above.

here are my graph results:

sampling on the narrow symmetry side to the left
http://www.cfd-online.com/OpenFOAM_D...ges/1/2960.jpg
sampling on the wide symmetry side to the right
http://www.cfd-online.com/OpenFOAM_D...ges/1/2961.jpg

where the red crosses are from the experement and the other signs are from the models

Should I expect better coherence?

olwi August 29, 2006 02:31

I would expect velocity curves
 
I would expect velocity curves to be a lot more smooth... You sure it's properly converged? I wouldn't be surprised to see a difference between the lines, but their shape should be even and smooth, as in the experiment.

Do you model the whole 11.5 meters of the rod bundle? Do you make the grid using blockMesh? You can make cells very long in the streamwise direction (200-300 mm, maybe even longer), that would save speed and improve convergence. Feel free to send the blockMeshDict to my private mail address, maybe I can have a look: olwix@yahoo.com

/Ola


All times are GMT -4. The time now is 04:39.