boundary condition "calculated"
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:
thanks a lot! |
The value has no effect on the results.
It only affects how the field nut looks like in paraview at time "0". Best regards, Fumiya |
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; |
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_; Fumiya |
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?
|
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 "value uniform 0" there isn't, or better, I can't find it... Is it another placeholder? |
All times are GMT -4. The time now is 10:14. |