|
[Sponsors] |
List/documentation of all BC/patch types of the OF solvers |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 7, 2010, 08:16 |
List/documentation of all BC/patch types of the OF solvers
|
#1 |
New Member
Christoph
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
Hello,
being new to OpenFOAM, I am wondering if there is a list of all possible BC/type of patches (e.g. zeroGradient, fixedValue, etc.) for each solver type, accompanied with a little documentation? Using e.g. k-eps models, I have wall-functions a.s.o. Using the text-editor for setting up my BCs and patch-types, I am completely lacking a naming-list of the BCs, I am having a hard time guessing the correct nomenclature. I would appreciate any help! Best regards, Kriz |
|
May 7, 2010, 08:19 |
|
#2 | |
Member
Johan Spång
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 35
Rep Power: 17 |
http://www.openfoam.com/docs/user/
see chapter 5 for some information about boundary conditions and chapter 7 for information about turbulence. Quote:
|
||
May 7, 2010, 08:37 |
|
#3 | |
New Member
Christoph
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
Quote:
There is one table on page 133 stating some BCs of different types, however, not explaining them. For example, "turbulentInlet" "calculates a fluctuating variable based on a scale of a mean value" and I have to specify a reference Field and a fluctuation scale. So I am as lucky as before. What is the fluctuation scale? The characteristic turbulent scale? What reference field? To what variable I can specify this BC to? Velocity? Simple example: I want to specify a fixed value velocity BC at an inlet and a fixed value pressure BC at the outlet, what do I have to specify for pressure at the inlet and for velocity at the outlet? |
||
May 7, 2010, 09:09 |
|
#4 | |
Member
Johan Spång
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 35
Rep Power: 17 |
In OpenFOAM you have to specify BC's for each equation separately
For your simple example with fixedValue U and fixedValue p on inlet and outlet see: /home/foam/OpenFOAM/OpenFOAM-1.6.x/tutorials/incompressible/simpleFoam/pitzDaily About turbulentInlet: find and grep will locate these files: /home/foam/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/fields/fvPatchFields/derived/turbulentInlet/turbulentInletFvPatchField.H /home/foam/OpenFOAM/OpenFOAM-1.6.x/tutorials/incompressible/pisoFoam/les/pitzDaily/0/U It might give you a hint of what to do. Perhaps someone else has more to say about this. Quote:
|
||
May 7, 2010, 10:45 |
|
#5 | |
New Member
Christoph
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
Quote:
- Why do I have to specify values for the k-eps wall-functions (nutWallFunction, kqRWallFunction, ...)? Just for initialising? Or do they have an effect on the wall treatment? - Is nut=alphat/density? - What the heck is nuTilda (same unit as nut)? - What is R (same unit as turb.kin.en. k)? - as far as I see it, I can set nut to "calculated" for inlet and outlet since it depends on k, eps and density only? |
||
May 7, 2010, 22:08 |
|
#6 | ||
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Quote:
I'd suggest you do a quick search in the doxygen manual to see how these fields are used. 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. |
|||
May 8, 2010, 05:07 |
|
#7 | |
New Member
Christoph
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
Quote:
Probably I have to look somewhere else (another subroutine?) to see what the solver is doing to or with the value I have to specify with the "nutwallfunction" BC? |
||
May 8, 2010, 17:54 |
|
#8 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hi, sorry for my too quick answer :-)
- When you specify nutWallFunction, the value is required, but it does not seem to be used: set it to "uniform 0". - nut is the kinematic turbulent viscosity: mut/rho. - Yes, using k-eps, nut is computed based on k and epsilon, so the condition at inlets and outlets can be something like Code:
inlet { type calculated; value uniform 0; } 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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Types of solvers | CFD-Junior | Main CFD Forum | 6 | April 14, 2019 18:25 |
ODETest.C Compiling failed in version 1.6 | sxhdhi | OpenFOAM Bugs | 4 | April 27, 2010 06:36 |
network comms amg solvers | bob | Main CFD Forum | 0 | March 1, 2007 20:58 |
unlocking material types in ICEM CFD | Evan | CFX | 0 | July 19, 2006 17:26 |
PHOENICS Solvers | Hu | Phoenics | 0 | June 28, 2002 08:37 |