Strange averaging in directMappedFixedValue BC
Dear All,
while trying to derive my own BC from the direct mapped BC, i was wondering why there are two different averaging possibilities: Code:
if (setAverage_) Have FUN! |
Quote:
I am successfully using the mapped BC for LES of turbulent flow through a 90deg bend, with the mapping region located in an (extended) straight inlet section. I switched on averaging of velocity to obtain my desired bulk velocity. While running the simulation, I assumed that OF always computes the new velocities according to the above else statement, using the difference between the desired average and the current velocities. Then I checked the corresponding code and I'm also a bit confused by the same the if statement, specifically by the condition and the first correction method. Any ideas? Thanks, Florian |
All times are GMT -4. The time now is 02:16. |