|
[Sponsors] |
Calculating + writing wallHeatFlux separate components (radiation + convective) [OF6] |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 2, 2018, 08:21 |
Calculating + writing wallHeatFlux separate components (radiation + convective) [OF6]
|
#1 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8 |
Hello folks
I have 2 questions: Question 1: I'm using compressible flow solvers like rhoCentralFoam and sonicFoam. I am interested in heat flux calculation at the wall but I want to know individual contribution of convective + radiation heat flux such that it appears as 3 distinct fields in paraview: (Qrad, Qconv and Qtotal/Qeffective) I see this in wallHeatFlux.: for OF v6 Code:
if (foundObject<volScalarField>("qr")) { const volScalarField& qr = lookupObject<volScalarField>("qr"); const volScalarField::Boundary& radHeatFluxBf = qr.boundaryField(); forAll(wallHeatFluxBf, patchi) { if (!wallHeatFluxBf[patchi].coupled()) { wallHeatFluxBf[patchi] -= radHeatFluxBf[patchi]; } } } return twallHeatFlux; } How do I achieve this? Question 2 How do I find out if the inclusion of radiation calculation at wall affects the flow field temperature or not? Or in other words, if radiation model is integrated in the solver or not? I get field temperature values much less than anticipated. Thus this question. So the question is, is there a way I can turn off the radiation? If radiation is integrated in solver, this will definitely affect field temperature. Any ideas? Need some clue. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 05:38 |
writing a snippet for monitoring and saving components of a transport equation | babakflame | OpenFOAM Programming & Development | 4 | December 20, 2016 10:35 |
How to Mix AIR and WATER | Elvis1991 | FLUENT | 12 | December 1, 2016 12:28 |
Problem with cyclic boundaries in Openfoam 1.5 | fs82 | OpenFOAM | 36 | January 7, 2015 00:31 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 17:27 |