|
[Sponsors] |
August 29, 2006, 03:49 |
I want to specify a inlet flow
|
#1 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
I want to specify a inlet flow with backround turbulence. For this reason I have defined a inlet bc with fixed value for k and epsilon (I am using the k-e epsilon turbulence model). But the following error occurs:
--> FOAM FATAL ERROR : fixedValue is the wrong k patchField type for wall-functions on patch inlet should be zeroGradient I know I am using a high-Re turbulence model with wallfunctions and because of that I have to use zeroGradient at the walls. But in my case I want to define a turbulent inlet. Does anybody know what is going wrong or what I have to do? |
|
August 29, 2006, 03:55 |
Yes. You have specified patch
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Yes. You have specified patch type wall for your inlet, which is not clever. You will find this either in your blockMeshDict or in the boundary file, depending where you got the mesh from.
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
August 29, 2006, 04:03 |
Hrv,
I have defined my inle
|
#3 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
Hrv,
I have defined my inlet patch as type 'patch' not as wall? |
|
August 29, 2006, 04:09 |
solved http://www.cfd-online.c
|
#4 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
solved
The problem was caused due an old boundary file in polymesh (blockmesh does not update it?). |
|
August 29, 2006, 04:11 |
The code says:
forAll(p
|
#5 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
The code says:
forAll(patches, patchi) { const fvPatch& curPatch = patches[patchi]; if (isType<wallfvpatch>(curPatch)) { # include "checkPatchFieldTypes.H" and in checkPatchFieldTypes.H if (!isType<zerogradientfvpatchscalarfield>(k_.bounda ryField()[patchi])) { FatalErrorIn("wall-function evaluation") << k_.boundaryField()[patchi].type() << " is the wrong k patchField type for wall-functions on patch " << curPatch.name() << nl << " should be zeroGradient" << exit(FatalError); } As you can see, you patch IS a wall. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turbulent inlet fluctuation scale | christian | OpenFOAM Running, Solving & CFD | 2 | November 3, 2023 08:14 |
Inlet turbulent boundary condition: external flows | ROOZBEH | FLUENT | 3 | August 28, 2015 16:34 |
Inlet turbulent boundary condition, external flows | ROOZBEH | Main CFD Forum | 1 | February 6, 2009 13:37 |
turbulent inlet generation | ricklee | Main CFD Forum | 0 | July 2, 2006 12:46 |
inlet turbulent B.C. | ROOZBEH | FLUENT | 3 | September 25, 2003 08:07 |