|
[Sponsors] |
Strange averaging in directMappedFixedValue BC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 24, 2010, 09:28 |
Strange averaging in directMappedFixedValue BC
|
#1 |
Member
Tobias Holzinger
Join Date: Mar 2009
Location: Munich, Germany
Posts: 46
Rep Power: 17 |
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_) { Type averagePsi = gSum(this->patch().magSf()*newValues) /gSum(this->patch().magSf()); if (mag(averagePsi)/mag(average_) > 0.5) { newValues *= mag(average_)/mag(averagePsi); } else { newValues += (average_ - averagePsi); } } Have FUN! |
|
September 7, 2012, 06:10 |
|
#2 | |
Senior Member
Florian Krause
Join Date: Mar 2009
Location: Munich
Posts: 103
Rep Power: 17 |
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 Last edited by florian_krause; September 7, 2012 at 06:29. |
||
Tags |
averaging, boundary conditions, directmappedfixedvalue |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
different between the various averaging | huwei | CFX | 3 | February 22, 2015 14:09 |
Strange Flamelet Generation Problem | tar | FLUENT | 11 | March 22, 2014 11:52 |
When to use mass flow averaging | cspectre | CFX | 2 | December 6, 2009 06:30 |
Averaging LES | iko | FLUENT | 3 | July 3, 2008 06:55 |
Reynolds averaging and k-epsilon | Jaap Hoffmann | Main CFD Forum | 1 | August 4, 2003 05:57 |