CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Calculating + writing wallHeatFlux separate components (radiation + convective) [OF6]

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2018, 08:21
Default Calculating + writing wallHeatFlux separate components (radiation + convective) [OF6]
  #1
Senior Member
 
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8
deepbandivadekar is on a distinguished road
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;
}
This when compared to older versions e.g. 2.3.x is nonexistent. This means older versions calculated purely convection heat flux at wall (basic Fourier equation with calculated k for fluid).

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.
deepbandivadekar is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:48.