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

The meaning of rayId

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2018, 22:49
Post The meaning of rayId
  #1
Member
 
Jung da yoon
Join Date: Nov 2017
Posts: 53
Rep Power: 8
kane is on a distinguished road
Dear all.

I have tried to modify radiativeIntensityRay.C .
But i have a question.

Code:
// * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //

Foam::radiation::radiativeIntensityRay::radiativeIntensityRay
(
    const fvDOM& dom,
    const fvMesh& mesh,
    const scalar phi,
    const scalar theta,
    const scalar deltaPhi,
    const scalar deltaTheta,
    const label nLambda,
    const absorptionEmissionModel& absorptionEmission,
    const scatterModel& scatter,
    const blackBodyEmission& blackBody,
    const label rayId
)
:
    dom_(dom),
    mesh_(mesh),
    absorptionEmission_(absorptionEmission),
    scatter_(scatter),
    blackBody_(blackBody),
    I_
    (
        IOobject
        (
            "I" + name(rayId),
            mesh_.time().timeName(),
            mesh_,
            IOobject::NO_READ,
            IOobject::NO_WRITE
        ),
        mesh_,
        dimensionedScalar("I", dimMass/pow3(dimTime), 0.0)
    ),
    qr_
    (
        IOobject
        (
            "qr" + name(rayId),
            mesh_.time().timeName(),
            mesh_,
            IOobject::NO_READ,
            IOobject::NO_WRITE
        ),
        mesh_,
        dimensionedScalar("qr", dimMass/pow3(dimTime), 0.0)
    ),
1. What is the meaning of rayId ??
2. Why is name(rayId) added to "qr" and "I" ??

Thank you in advance for answering.
Best regards and have a nice day.
kane is offline   Reply With Quote

Old   March 18, 2018, 22:44
Post
  #2
Member
 
Jung da yoon
Join Date: Nov 2017
Posts: 53
Rep Power: 8
kane is on a distinguished road
I think rayId means 'ray i direction'.

Is is correct??
kane 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
radiative intensity ray (rayId) problem!! kane OpenFOAM Running, Solving & CFD 0 March 17, 2018 00:37
What is the meaning of pd in foam-extended 3.1 lxwd OpenFOAM Running, Solving & CFD 2 February 3, 2017 11:54
Help about meaning and formula of CFD symbols nguyenpt Main CFD Forum 0 February 21, 2016 23:32
Meaning of Ychar and Ypmma aylalisa OpenFOAM Pre-Processing 2 October 20, 2013 05:49
What's meaning of UDF FUNCTION zhaoxinyu Fluent UDF and Scheme Programming 0 March 31, 2010 08:04


All times are GMT -4. The time now is 10:49.