|
[Sponsors] |
Bug or feature in wallHeatFlux calculation for patches?? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 6, 2020, 08:14 |
Bug or feature in wallHeatFlux calculation for patches??
|
#1 |
New Member
Join Date: Feb 2016
Posts: 21
Rep Power: 10 |
In OpenFoam v7, one can give the wall patches for which the wallHeatFlux field shall be calculated, otherwise wallHeatFlux is calculated for all wall patches.
Code:
wallHeatFlux //funktioniert!!! { type wallHeatFlux; libs ("libfieldFunctionObjects.so"); patches ("wall_heated"); writeControl writeTime; } However, in the volScalarField that is created for each writeTime, wallHeatFlux is calculated for arbitrary patches, no matter which patches are being specified for calculation. In my case, wallHeatFlux was calculated for wall_heated and for inlet, the latter of which is purely non-sense. Obviously, wallHeatFlux loops for the field creation over all boundaries and not the ones being specified (wallHeatFlux.C, line 87 f.): Code:
forAll(wallHeatFluxBf, patchi) { ... Code:
forAllConstIter(labelHashSet, patchSet_, iter) { label patchi = iter.key(); ... Regards, DaveD! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bug in wall distance calculation | david | OpenFOAM Bugs | 3 | March 15, 2011 09:32 |
MRF and Heat transfer calculation | Susan YU | FLUENT | 0 | June 2, 2010 08:46 |
Calculation of heat transfer coefficients | uli_u | OpenFOAM Running, Solving & CFD | 16 | November 25, 2009 10:41 |
On Bug of Fluent 12.0 | lzgwhy | FLUENT | 0 | August 26, 2009 06:41 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |