|
[Sponsors] |
March 23, 2013, 11:09 |
boundary condition "calculated"
|
#1 |
New Member
nicolas
Join Date: Sep 2012
Location: grenoble
Posts: 4
Rep Power: 14 |
hi foamers. I'd like to understand this kind of boundary conditions. It is quite a silmple question, but I didn't find a sure answer.
In the boundary field for certain variables (eg eddy viscosity "nut" in a RASModel running a realizable k-epsilon, as i'm doing) i put: Code:
box_outlet { type calculated; value uniform 0; } thanks a lot! |
|
March 24, 2013, 07:49 |
|
#3 |
New Member
nicolas
Join Date: Sep 2012
Location: grenoble
Posts: 4
Rep Power: 14 |
so, my field nut is simply calculated and I state with "value" the initial condition? isn't it redundant? because I state also the following in \case\0\nut :
Code:
internalField uniform 0; |
|
March 24, 2013, 11:34 |
|
#4 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19 |
For the ordinary variables(e.g., U, p), the internalField defined in the files in 0 directory is the initial condition
at each cell centers. On the other hand, for the field nut, the internalField is not used for the calculations (it is merely a placeholder). The initial value of nut at each cell centers and face centers of boundary faces are calculated by the turbulence model you selected. If you use the kEpsilon model, the nut value at each time step is calculated by Code:
nut_ = Cmu_*sqr(k_)/epsilon_; nut_.correctBoundaryConditions(); Fumiya |
|
March 24, 2013, 12:47 |
|
#5 |
New Member
Paul Schroder
Join Date: Mar 2013
Location: Pella, IA USA
Posts: 5
Rep Power: 13 |
I have been trying to understand BC's better too. I see BC's defined in changeDictionaryDict, and again the same BC's defined in the 0 folder. The BC type is identified in each case. Why are the same things specified in multiple places? What happens if the BC types don't match from file to file?
|
|
March 24, 2013, 12:51 |
|
#6 |
New Member
nicolas
Join Date: Sep 2012
Location: grenoble
Posts: 4
Rep Power: 14 |
Thanks a lot for your explanation!
I have another question: if I calculate, after a simulation, the components of the velocity, I have some files (MagU, Ux, Uy and Uz) in folder 0/ where, for each boundary condition i have the following: Code:
boundaryField { box_inlet { type calculated; value uniform 0; } box_outlet { type calculated; value uniform 0; } box_ground { type calculated; value uniform 0; } "value uniform 0" there isn't, or better, I can't find it... Is it another placeholder? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
Opening Boundary Condition | andreachan | Main CFD Forum | 11 | March 19, 2013 17:46 |
Setting outlet Pressure boundary condition using CAFFA code | Mukund Pondkule | Main CFD Forum | 0 | March 16, 2011 04:23 |