|
[Sponsors] |
January 10, 2012, 09:20 |
wall function for twoPhaseEulerFoam
|
#1 |
New Member
Join Date: Nov 2011
Posts: 9
Rep Power: 14 |
Hello Foamers,
as the title says I look for some good wall function using the twoPhaseEulerFoam solver. Right now I deal with y+ values around 0.001 to 10. I tried zeroGradient for k and epsilon, but I was not sure about the results. I tried to get higher values of y+ (above 30) for some walls and use the kqrWallFunction, but when I try to run the solver it says this wall function does not exist. Anyone knows how to add the function to the solver? Also, since I have a small slit with very low y+ values I thought of using a laminar case there. Is there a option in OpenFOAM to use two different solvers (1 laminar 1 turbulent) for the areas or do I have to run the case turbulent first then export the values at the slit inlet and outlet and rerun the slit in another case? Thanks for your time & help, |
|
January 11, 2012, 10:01 |
|
#2 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
January 12, 2012, 10:30 |
|
#3 |
New Member
Join Date: Nov 2011
Posts: 9
Rep Power: 14 |
Thanks Alberto,
I did look up the bubbleFOAM files now. For it seems that the solver always takes a wall function "if (isA<wallFvPatch>(currPatch))" (from the wallFunctions.H) I translated this line with "if a boundary is defined as a wall in the file constant/polyMesh/boundary What is the difference if I change the wall function in the /0 folder? |
|
January 12, 2012, 12:01 |
|
#4 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wall function for velocity? | johnblund | OpenFOAM | 3 | September 6, 2022 08:22 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
Need some wall function approaches! | yka8150 | Main CFD Forum | 0 | September 22, 2009 00:08 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |