|
[Sponsors] |
Error in heat conduction rate calculation in OpenFOAM while using rhoCentralFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 29, 2019, 06:53 |
Error in heat conduction rate calculation in OpenFOAM while using rhoCentralFOAM
|
#1 |
New Member
Gaurav Kumar
Join Date: Jul 2015
Location: India
Posts: 1
Rep Power: 0 |
Hello!
This chunk of code represents viscous correction for energy equation in rhoCentralFoam solver in OpenFOAM-dev. Code:
if (!inviscid) { solve ( fvm::ddt(rho, e) - fvc::ddt(rho, e) - fvm::laplacian(turbulence->alphaEff(), e) ); thermo.correct(); rhoE = rho*(e + 0.5*magSqr(U)); } So, above equation effectively translates into But, it should be only . Since, it would not make much difference if is constant. But when using Janaf tables at high temperature, these two gives different solutions because varies with temperature. Which one is correct? Can somebody help? I have same question regarding calculation of wallHeatFlux. Should it be calcWallHeatFlux(turbModel.alphaEff(), turbModel.transport().he()) or calcWallHeatFlux(turbModel.kappaEff(), turbModel.transport().T()) in file https://github.com/OpenFOAM/OpenFOAM...wallHeatFlux.C at line 220 Thanks Last edited by Daedalus; January 29, 2019 at 06:57. Reason: formating error |
|
Tags |
janafthermo, rhocentralfoam, wallheattransfer |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM Heat Insulation Boundary Condition for Heat Conduction in Solids | abkahraman | OpenFOAM Running, Solving & CFD | 3 | August 15, 2020 11:11 |
Heat Release vs. Apparent Heat Release // Comparison with GT Power | MFGT | CONVERGE | 10 | August 17, 2016 03:38 |
Problem with total heat transfer rate | aswathy_raghu | FLUENT | 0 | July 26, 2016 08:39 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |