|
[Sponsors] |
error in comments section of externalWallHeatFluxTemperature.H? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 14, 2016, 15:26 |
error in comments section of externalWallHeatFluxTemperature.H?
|
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Hi,
The usage of externalWallHeatFluxTemperature is the following: <patchName> { type externalWallHeatFluxTemperature; kappa fluidThermo; q uniform 1000; Ta uniform 300.0; h uniform 10.0; thicknessLayers (0.1 0.2 0.3 0.4); kappaLayers (1 2 3 4); value uniform 300.0; kappaName none; Qr none; relaxation 1; } \endverbatim Note: - Only supply \c h and \c Ta, or \c q in the dictionary (see above) - \c kappa and \c kappaName are inherited from temperatureCoupledBase. ------------ But, I got an error of "kappaMethod is undefined. I need to change to kappaMethod fluidThermo; Is this a typo error? Pei-Ying |
|
August 18, 2016, 14:49 |
|
#2 |
Member
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 12 |
Seems that the instructions are not updated, but the code is not consistant either. there is no "kappaMethod" here: https://github.com/OpenFOAM/OpenFOAM...hScalarField.C
the following sintax works for a fixed heat transfer heated wall: Code:
"fluid_to_.*" { type externalWallHeatFluxTemperature; kappa fluidThermo; kappaMethod fluidThermo; q uniform 264; value uniform 293.7; } |
|
August 20, 2016, 15:54 |
|
#3 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Unfortunately that's one example of having the same documentation in several places. When one if fixed, all others may or may not be updated.
If you follow the link online for the "temperatureCoupledBase" class, you'll find the description here: http://cpp.openfoam.org/v4/a02649.html#details The change that occurred was reported in the following commit: https://github.com/OpenFOAM/OpenFOAM...e92188c3953b8e Quote:
Furthermore, next time you pick-up this kind of typo, please do report it at http://bugs.openfoam.org edit: Patch has been submitted here: http://bugs.openfoam.org/view.php?id=2207
__________________
Last edited by wyldckat; August 20, 2016 at 17:30. Reason: see "edit:" |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] converting Fluent mesh to openfoam standard mesh | deepesh | OpenFOAM Meshing & Mesh Conversion | 31 | March 29, 2017 06:59 |
dsmcInitialise - dsmcFoam | archymedes | OpenFOAM Pre-Processing | 94 | July 15, 2016 17:14 |
[Other] How to create an MRF zone ? | aminem | OpenFOAM Meshing & Mesh Conversion | 2 | December 8, 2014 11:45 |
udf-Surface Reaction Rate-parse error in line 34 | priya_1985 | FLUENT | 1 | November 10, 2014 03:48 |
LiftDrag utility from v12 to v141 | cfdphil | OpenFOAM Running, Solving & CFD | 2 | December 5, 2007 06:49 |