CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   How to use incident radition 'G' (https://www.cfd-online.com/Forums/openfoam/201420-how-use-incident-radition-g.html)

wangchengan2003 May 2, 2018 03:44

How to use incident radition 'G'
 
Hello everyone,

I want to use incident radiation 'G' in my solver, which is in the attachement.

In c++ code, it writes

Code:

class fvDOM
:
    public radiationModel
{
    // Private data


        //- Incident radiation  [W/m2]
        volScalarField G_;

Code:

            //- Const access to incident radiation field
            inline const volScalarField& G() const;

It seems that incident radition 'G' is private scalar field. If somebody could give me some suggestiong?

Best regards

Chengan


All times are GMT -4. The time now is 16:38.