Public Member Functions | List of all members
fvDOM Class Reference

Finite Volume Discrete Ordinates Method. Solves the RTE equation for n directions in a participating media, not including scatter and reflective walls. More...

Inheritance diagram for fvDOM:
Inheritance graph
[legend]
Collaboration diagram for fvDOM:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("fvDOM")
 
 fvDOM (const volScalarField &T)
 
 fvDOM (const dictionary &dict, const volScalarField &T)
 
virtual ~fvDOM ()=default
 
void calculate ()
 
bool read ()
 
void updateG ()
 
void setRayIdLambdaId (const word &name, label &rayId, label &lambdaId) const
 
void updateRaysDir ()
 
void rotateInitialRays (const vector &sunDir)
 
void alignClosestRayToSun (const vector &sunDir)
 
virtual tmp< volScalarFieldRp () const
 
virtual tmp< volScalarField::InternalRu () const
 
const solarCalculatorsolarCalc () const
 
const radiativeIntensityRayIRay (const label rayI) const
 
const volScalarFieldIRayLambda (const label rayI, const label lambdaI) const
 
label nTheta () const
 
label nPhi () const
 
label nRay () const
 
label nLambda () const
 
label nBands () const
 
const volScalarFielda () const
 
const volScalarFieldaLambda (const label lambdaI) const
 
const volScalarFieldG () const
 
const volScalarFieldqr () const
 
const volScalarFieldqin () const
 
const volScalarFieldqem () const
 
const blackBodyEmissionblackBody () const
 
scalar omegaMax () const
 
vector meshOrientation () const
 
bool useSolarLoad () const
 
bool useExternalBeam () const
 
const scalarListspectralDistribution () const
 
- Public Member Functions inherited from radiationModel
 TypeName ("radiationModel")
 
 declareRunTimeSelectionTable (autoPtr, radiationModel, T,(const volScalarField &T),(T))
 
 declareRunTimeSelectionTable (autoPtr, radiationModel, dictionary,(const dictionary &dict, const volScalarField &T),(dict, T))
 
 radiationModel (const volScalarField &T)
 
 radiationModel (const word &type, const volScalarField &T)
 
 radiationModel (const word &type, const dictionary &dict, const volScalarField &T)
 
virtual ~radiationModel ()
 
virtual void correct ()
 
const Switch radiation () const
 
virtual tmp< fvScalarMatrixSh (const basicThermo &thermo, const volScalarField &he) const
 
virtual tmp< fvScalarMatrixST (const dimensionedScalar &rhoCp, volScalarField &T) const
 
virtual tmp< fvScalarMatrixST (tmp< volScalarField > rhoCp, volScalarField &T) const
 
virtual tmp< fvScalarMatrixST (volScalarField &T) const
 
const absorptionEmissionModelabsorptionEmission () const
 
const sootModelsoot () const
 
- Public Member Functions inherited from IOdictionary
 IOdictionary (const IOobject &io, const dictionary *fallback=nullptr)
 
 IOdictionary (const IOobject &io, const dictionary &dict)
 
 IOdictionary (const IOobject &io, const word &wantedType, const dictionary *fallback=nullptr)
 
 IOdictionary (const IOobject &io, Istream &is)
 
virtual ~IOdictionary ()=default
 
virtual bool global () const
 
virtual fileName filePath () const
 
- Public Member Functions inherited from baseIOdictionary
 TypeName ("dictionary")
 
 baseIOdictionary (const baseIOdictionary &)=default
 
 baseIOdictionary (baseIOdictionary &&)=default
 
virtual ~baseIOdictionary ()=default
 
 baseIOdictionary (const IOobject &io, const dictionary *fallback=nullptr)
 
 baseIOdictionary (const IOobject &io, const dictionary &dict)
 
 baseIOdictionary (const IOobject &io, Istream &is)
 
const wordname () const
 
virtual bool readData (Istream &)
 
virtual bool writeData (Ostream &) const
 
void operator= (const baseIOdictionary &rhs)
 
void operator= (const dictionary &rhs)
 
- Public Member Functions inherited from regIOobject
 TypeName ("regIOobject")
 
 regIOobject (const IOobject &io, const bool isTimeObject=false)
 
 regIOobject (const regIOobject &rio)
 
 regIOobject (const regIOobject &rio, bool registerCopy)
 
 regIOobject (const word &newName, const regIOobject &, bool registerCopy)
 
 regIOobject (const IOobject &io, const regIOobject &rio)
 
virtual ~regIOobject ()
 
bool checkIn ()
 
bool checkOut ()
 
virtual void addWatch ()
 
bool ownedByRegistry () const
 
bool store ()
 
void release (const bool unregister=false)
 
label eventNo () const
 
label & eventNo ()
 
bool upToDate (const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const
 
void setUpToDate ()
 
virtual void rename (const word &newName)
 
const dictionaryfindMetaData () const noexcept
 
dictionarygetMetaData () noexcept
 
void removeMetaData ()
 
virtual void updateMetaData ()
 
bool headerOk ()
 
IstreamreadStream (const word &, const bool valid=true)
 
void close ()
 
virtual label addWatch (const fileName &)
 
const labelListwatchIndices () const
 
labelListwatchIndices ()
 
virtual bool modified () const
 
virtual bool readIfModified ()
 
virtual bool writeObject (IOstreamOption streamOpt, const bool valid) const
 
virtual bool write (const bool valid=true) const
 
void operator= (const IOobject &io)
 
virtual bool writeObject (IOstreamOption::streamFormat fmt, IOstreamOption::versionNumber ver, IOstreamOption::compressionType comp, const bool valid) const
 
- Public Member Functions inherited from IOobject
 TypeName ("IOobject")
 
 IOobject (const IOobject &)=default
 
virtual ~IOobject ()=default
 
 IOobject (const word &name, const fileName &instance, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const fileName &path, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const IOobject &io, const objectRegistry &registry)
 
 IOobject (const IOobject &io, const word &name)
 
 IOobject (const IOobject &io, readOption, writeOption)
 
autoPtr< IOobjectclone () const
 
autoPtr< IOobjectclone (const objectRegistry &registry) const
 
const objectRegistrydb () const noexcept
 
const Timetime () const
 
const wordname () const noexcept
 
const wordheaderClassName () const noexcept
 
wordheaderClassName () noexcept
 
const stringnote () const noexcept
 
stringnote () noexcept
 
bool registerObject () const noexcept
 
bool registerObject (bool on) noexcept
 
bool globalObject () const noexcept
 
bool globalObject (bool on) noexcept
 
unsigned labelByteSize () const noexcept
 
unsigned scalarByteSize () const noexcept
 
bool isHeaderClassName (const word &clsName) const
 
template<class Type >
bool isHeaderClassName () const
 
readOption readOpt () const noexcept
 
readOption readOpt (readOption opt) noexcept
 
writeOption writeOpt () const noexcept
 
writeOption writeOpt (writeOption opt) noexcept
 
word group () const
 
word member () const
 
const fileNamerootPath () const
 
const fileNamecaseName () const
 
const fileNameinstance () const noexcept
 
fileNameinstance () noexcept
 
const fileNamelocal () const noexcept
 
fileName path () const
 
fileName path (const word &instance, const fileName &local=fileName::null) const
 
fileName objectPath () const
 
fileName objectRelPath () const
 
fileName localFilePath (const word &typeName, const bool search=true) const
 
fileName globalFilePath (const word &typeName, const bool search=true) const
 
IOstreamOption parseHeader (const dictionary &headerDict)
 
bool readHeader (Istream &is)
 
bool readHeader (dictionary &headerDict, Istream &is)
 
template<class Type >
bool typeHeaderOk (const bool checkType=true, const bool search=true, const bool verbose=true)
 
template<class Type >
void warnNoRereading () const
 
bool writeHeader (Ostream &os) const
 
bool writeHeader (Ostream &os, const word &objectType) const
 
void writeHeader (dictionary &dict, IOstreamOption streamOpt) const
 
void writeHeader (dictionary &dict, const word &objectType, IOstreamOption streamOpt) const
 
bool good () const noexcept
 
bool bad () const noexcept
 
InfoProxy< IOobjectinfo () const
 
void operator= (const IOobject &io)
 
readOptionreadOpt () noexcept
 
writeOptionwriteOpt () noexcept
 
boolregisterObject () noexcept
 
boolglobalObject () noexcept
 
template<>
bool isHeaderClassName () const
 
template<class StringType >
Foam::word groupName (StringType base, const word &group)
 
- Public Member Functions inherited from dictionary
 ClassName ("dictionary")
 
 dictionary ()
 
 dictionary (const fileName &name)
 
 dictionary (const fileName &name, const dictionary &parentDict, Istream &is, bool keepHeader=false)
 
 dictionary (Istream &is)
 
 dictionary (Istream &is, bool keepHeader)
 
 dictionary (const dictionary &parentDict, const dictionary &dict)
 
 dictionary (const dictionary &dict)
 
 dictionary (const dictionary *dict)
 
 dictionary (const dictionary &parentDict, dictionary &&dict)
 
 dictionary (dictionary &&dict)
 
autoPtr< dictionaryclone () const
 
virtual ~dictionary ()
 
const fileNamename () const noexcept
 
fileNamename () noexcept
 
word dictName () const
 
fileName relativeName (const bool caseTag=false) const
 
bool isNullDict () const noexcept
 
const dictionaryparent () const noexcept
 
const dictionarytopDict () const
 
label startLineNumber () const
 
label endLineNumber () const
 
SHA1Digest digest () const
 
tokenList tokens () const
 
bool found (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
entryfindEntry (const word &keyword, enum keyType::option matchOpt=keyType::REGEX)
 
const entryfindEntry (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
const entryfindScoped (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
dictionaryfindDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX)
 
const dictionaryfindDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
const entrylookupEntry (const word &keyword, enum keyType::option matchOpt) const
 
ITstreamlookup (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T >
T get (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T >
T getOrDefault (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T >
T getOrAdd (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX)
 
template<class T >
bool readEntry (const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
 
template<class T >
bool readIfPresent (const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T , class Predicate >
T getCheck (const word &keyword, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T , class Predicate >
T getCheckOrDefault (const word &keyword, const T &deflt, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T , class Predicate >
T getCheckOrAdd (const word &keyword, const T &deflt, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX)
 
template<class T , class Predicate >
bool readCheck (const word &keyword, T &val, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
 
template<class T , class Predicate >
bool readCheckIfPresent (const word &keyword, T &val, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX) const
 
bool isDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
const dictionarysubDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
dictionarysubDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX)
 
dictionarysubDictOrAdd (const word &keyword, enum keyType::option matchOpt=keyType::REGEX)
 
dictionary subOrEmptyDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX, const bool mandatory=false) const
 
const dictionaryoptionalSubDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
wordList toc () const
 
wordList sortedToc () const
 
template<class Compare >
wordList sortedToc (const Compare &comp) const
 
List< keyTypekeys (bool patterns=false) const
 
bool substituteKeyword (const word &keyword, bool mergeEntry=false)
 
bool substituteScopedKeyword (const word &keyword, bool mergeEntry=false)
 
entryadd (entry *entryPtr, bool mergeEntry=false)
 
entryadd (const entry &e, bool mergeEntry=false)
 
entryadd (const keyType &k, const word &v, bool overwrite=false)
 
entryadd (const keyType &k, const string &v, bool overwrite=false)
 
entryadd (const keyType &k, const label v, bool overwrite=false)
 
entryadd (const keyType &k, const scalar v, bool overwrite=false)
 
entryadd (const keyType &k, const dictionary &d, bool mergeEntry=false)
 
template<class T >
entryadd (const keyType &k, const T &v, bool overwrite=false)
 
entryset (entry *entryPtr)
 
entryset (const entry &e)
 
entryset (const keyType &k, const dictionary &v)
 
template<class T >
entryset (const keyType &k, const T &v)
 
bool remove (const word &keyword)
 
bool changeKeyword (const keyType &oldKeyword, const keyType &newKeyword, bool overwrite=false)
 
bool merge (const dictionary &dict)
 
void clear ()
 
void transfer (dictionary &dict)
 
void checkITstream (const ITstream &is, const word &keyword) const
 
bool read (Istream &is)
 
bool read (Istream &is, bool keepHeader)
 
void writeEntry (Ostream &os) const
 
void writeEntry (const keyType &keyword, Ostream &os) const
 
void writeEntries (Ostream &os, const bool extraNewLine=false) const
 
void write (Ostream &os, const bool subDict=true) const
 
const_searcher csearch (const word &keyword, enum keyType::option=keyType::REGEX) const
 
const_searcher search (const word &keyword, enum keyType::option=keyType::REGEX) const
 
searcher search (const word &keyword, enum keyType::option=keyType::REGEX)
 
const_searcher csearchScoped (const word &keyword, enum keyType::option) const
 
const_searcher searchScoped (const word &keyword, enum keyType::option) const
 
searcher searchScoped (const word &keyword, enum keyType::option)
 
const dictionarycfindScopedDict (const fileName &dictPath) const
 
const dictionaryfindScopedDict (const fileName &dictPath) const
 
dictionaryfindScopedDict (const fileName &dictPath)
 
dictionarymakeScopedDict (const fileName &dictPath)
 
const_searcher csearchCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const
 
bool foundCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const
 
const entryfindCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option) const
 
const entrylookupEntryCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option) const
 
ITstreamlookupCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const
 
template<class T >
T getCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const
 
template<class T >
T getOrDefaultCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, const T &deflt, enum keyType::option=keyType::REGEX) const
 
template<class T >
bool readCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, T &val, enum keyType::option=keyType::REGEX, bool mandatory=true) const
 
template<class T >
bool readIfPresentCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, T &val, enum keyType::option=keyType::REGEX) const
 
void operator= (const dictionary &rhs)
 
void operator+= (const dictionary &rhs)
 
void operator|= (const dictionary &rhs)
 
void operator<<= (const dictionary &rhs)
 
template<class T >
T lookupOrDefault (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T >
T lookupOrAddDefault (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX)
 
template<class T >
T lookupOrDefaultCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
 
ITstreamoperator[] (const word &keyword) const
 
bool found (const word &keyword, bool recursive, bool patternMatch=true) const
 
entrylookupEntryPtr (const word &keyword, bool recursive, bool patternMatch)
 
const entrylookupEntryPtr (const word &keyword, bool recursive, bool patternMatch) const
 
const entrylookupScopedEntryPtr (const word &keyword, bool recursive, bool patternMatch) const
 
const dictionarysubDictPtr (const word &keyword) const
 
dictionarysubDictPtr (const word &keyword)
 
const entrylookupEntry (const word &keyword, bool recursive, bool patternMatch) const
 
ITstreamlookup (const word &keyword, bool recursive, bool patternMatch=true) const
 
template<class T >
T lookupOrDefault (const word &keyword, const T &deflt, bool recursive, bool patternMatch=true) const
 
template<class T >
T lookupOrAddDefault (const word &keyword, const T &deflt, bool recursive, bool patternMatch=true)
 
template<class T >
bool readIfPresent (const word &keyword, T &val, bool recursive, bool patternMatch=true) const
 
template<class T >
T lookupType (const word &keyword, bool recursive=false, bool patternMatch=true) const
 
bool getBool (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< bool >(const word&, keyType::option) More...
 
label getLabel (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< label >(const word&, keyType::option) More...
 
scalar getScalar (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< scalar >(const word&, keyType::option) More...
 
string getString (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< string >(const word&, keyType::option) More...
 
word getWord (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< word >(const word&, keyType::option) More...
 
fileName getFileName (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< fileName >(const word&, keyType::option) More...
 
template<class Compare >
Foam::wordList sortedToc (const Compare &comp) const
 
template<class T >
Foam::entryadd (const keyType &k, const T &v, bool overwrite)
 
template<class T >
Foam::entryset (const keyType &k, const T &v)
 
- Public Member Functions inherited from ILList
 ILList ()=default
 
 ILList (T *item)
 
 ILList (Istream &is)
 
 ILList (const ILList< LListBase, T > &lst)
 
 ILList (ILList< LListBase, T > &&lst)
 
template<class CloneArg >
 ILList (const ILList< LListBase, T > &lst, const CloneArg &cloneArg)
 
template<class INew >
 ILList (Istream &is, const INew &inew)
 
 ~ILList ()
 
bool eraseHead ()
 
bool erase (T *item)
 
void clear ()
 
void transfer (ILList< LListBase, T > &lst)
 
void operator= (const ILList< LListBase, T > &lst)
 
void operator= (ILList< LListBase, T > &&lst)
 

Additional Inherited Members

- Public Types inherited from IOobject
enum  objectState : char { GOOD, BAD }
 
enum  readOption : char { MUST_READ, MUST_READ_IF_MODIFIED, READ_IF_PRESENT, NO_READ }
 
enum  writeOption : char { AUTO_WRITE = 0, NO_WRITE = 1 }
 
enum  fileCheckTypes : char { timeStamp, timeStampMaster, inotify, inotifyMaster }
 
- Public Types inherited from dictionary
typedef Searcher< true > const_searcher
 
typedef Searcher< false > searcher
 
- Static Public Member Functions inherited from radiationModel
static autoPtr< radiationModelNew (const volScalarField &T)
 
static autoPtr< radiationModelNew (const dictionary &dict, const volScalarField &T)
 
- Static Public Member Functions inherited from regIOobject
template<class Type >
static Type & store (Type *p)
 
template<class Type >
static Type & store (autoPtr< Type > &ptr)
 
template<class Type >
static Type & store (autoPtr< Type > &&ptr)
 
template<class Type >
static Type & store (refPtr< Type > &ptr)
 
template<class Type >
static Type & store (refPtr< Type > &&ptr)
 
template<class Type >
static Type & store (tmp< Type > &ptr)
 
template<class Type >
static Type & store (tmp< Type > &&ptr)
 
- Static Public Member Functions inherited from IOobject
static bool bannerEnabled () noexcept
 
static bool bannerEnabled (bool on) noexcept
 
static bool fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name)
 
template<class StringType >
static word groupName (StringType base, const word &group)
 
static word group (const word &name)
 
static word member (const word &name)
 
static word scopedName (const std::string &scope, const word &name)
 
static IOobject selectIO (const IOobject &io, const fileName &altFile, const word &ioName="")
 
static OstreamwriteBanner (Ostream &os, const bool noSyntaxHint=false)
 
static OstreamwriteDivider (Ostream &os)
 
static OstreamwriteEndDivider (Ostream &os)
 
- Static Public Member Functions inherited from dictionary
static int reportOptional () noexcept
 
static int reportOptional (const int level) noexcept
 
static autoPtr< dictionaryNew (Istream &is)
 
- Public Attributes inherited from dictionary
friend const_searcher
 
friend searcher
 
- Static Public Attributes inherited from radiationModel
static const word externalRadHeatFieldName_
 
static const word primaryFluxName_
 
static const word relfectedFluxName_
 
- Static Public Attributes inherited from IOobject
static const Enum< fileCheckTypesfileCheckTypesNames
 
static char scopeSeparator
 
static fileCheckTypes fileModificationChecking
 
static float fileModificationSkew
 
static int maxFileModificationPolls
 
- Static Public Attributes inherited from dictionary
static int writeOptionalEntries
 
static const dictionary null
 
static refPtr< OSstreamreportingOutput
 
- Protected Member Functions inherited from regIOobject
bool readHeaderOk (const IOstreamOption::streamFormat fmt, const word &typeName)
 
- Protected Member Functions inherited from IOobject
void setBad (const string &s)
 
- Static Protected Member Functions inherited from IOobject
static void writeHeaderContent (Ostream &os, const IOobject &io, const word &objectType, const dictionary *metaDataDict=nullptr)
 
static void writeHeaderContent (dictionary &dict, const IOobject &io, const word &objectType, IOstreamOption streamOpt, const dictionary *metaDataDict=nullptr)
 
- Protected Attributes inherited from radiationModel
const fvMeshmesh_
 
const Timetime_
 
const volScalarFieldT_
 
Switch radiation_
 
dictionary coeffs_
 
label solverFreq_
 
bool firstIter_
 
autoPtr< absorptionEmissionModelabsorptionEmission_
 
autoPtr< scatterModelscatter_
 
autoPtr< sootModelsoot_
 
- Static Protected Attributes inherited from regIOobject
static bool masterOnlyReading = false
 

Detailed Description

Finite Volume Discrete Ordinates Method. Solves the RTE equation for n directions in a participating media, not including scatter and reflective walls.

Available absorption models:

This model can handle non-grey participating media using multiBandAbsorptionEmission model. Accordingly the BC for rays should be wideBandDiffussive type

Usage
    fvDOMCoeffs
    {
        nPhi        4;          // azimuthal angles in PI/2 on X-Y.
                                //(from Y to X)
        nTheta      0;          // polar angles in PI (from Z to X-Y plane)
        tolerance   1e-3;       // convergence tolerance for radiation
                                // iteration
        maxIter     4;          // maximum number of iterations
        meshOrientation    (1 1 1); //Mesh orientation used for 2D and 1D

        useSolarLoad      false;
        useExternalBeam   true;
        spectralDistribution (2 1);
    }

    solverFreq   1; // Number of flow iterations per radiation iteration

The total number of solid angles is 4*nPhi*nTheta in 3-D.

Operating modes:

useSolarLoad calculates the primary and diffusive Sun fluxes on walls in addition to the RTE equations

useExternalBeam add an external collimated beam to the domain. This option is not available if useSolarLoad is true.

spectralDistribution is the energy spectral distribution of the collimated external beam.

Source files

Definition at line 114 of file fvDOM.H.

Constructor & Destructor Documentation

◆ fvDOM() [1/2]

fvDOM ( const volScalarField T)

Definition at line 341 of file fvDOM.C.

◆ fvDOM() [2/2]

fvDOM ( const dictionary dict,
const volScalarField T 
)

Definition at line 444 of file fvDOM.C.

◆ ~fvDOM()

virtual ~fvDOM ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "fvDOM"  )

◆ calculate()

void calculate ( )
virtual

Implements radiationModel.

Definition at line 569 of file fvDOM.C.

References Foam::endl(), forAll, Foam::Info, Foam::max(), solarCalculator::mSunDirConstant, and solarCalculator::mSunDirTracking.

Here is the call graph for this function:

◆ read()

bool read ( )
virtual

Implements radiationModel.

Definition at line 551 of file fvDOM.C.

References radiationModel::read().

Here is the call graph for this function:

◆ updateG()

void updateG ( )

Definition at line 735 of file fvDOM.C.

References Foam::dimMass, Foam::dimTime, forAll, Foam::pow3(), and Foam::Zero.

Here is the call graph for this function:

◆ setRayIdLambdaId()

void setRayIdLambdaId ( const word name,
label &  rayId,
label &  lambdaId 
) const

Definition at line 754 of file fvDOM.C.

References Foam::name(), and Foam::readLabel().

Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateRaysDir()

void updateRaysDir ( )

Definition at line 92 of file fvDOM.C.

◆ rotateInitialRays()

void rotateInitialRays ( const vector sunDir)

Definition at line 47 of file fvDOM.C.

References forAll, and Foam::rotationTensor().

Here is the call graph for this function:

◆ alignClosestRayToSun()

void alignClosestRayToSun ( const vector sunDir)

Definition at line 61 of file fvDOM.C.

References Foam::endl(), forAll, Foam::Info, Foam::nl, and Foam::rotationTensor().

Here is the call graph for this function:

◆ Rp()

Foam::tmp< Foam::volScalarField > Rp ( ) const
virtual

Implements radiationModel.

Definition at line 638 of file fvDOM.C.

References IOobject::NO_READ, IOobject::NO_WRITE, tmp::ref(), and sigma().

Here is the call graph for this function:

◆ Ru()

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::volMesh > > Ru ( ) const
virtual

Implements radiationModel.

Definition at line 682 of file fvDOM.C.

References IOobject::NO_READ, IOobject::NO_WRITE, tmp::ref(), and Foam::Zero.

Here is the call graph for this function:

◆ solarCalc()

const Foam::solarCalculator & solarCalc ( ) const

Definition at line 769 of file fvDOM.C.

◆ IRay()

const Foam::radiation::radiativeIntensityRay & IRay ( const label  rayI) const
inline

Definition at line 23 of file fvDOMI.H.

◆ IRayLambda()

const Foam::volScalarField & IRayLambda ( const label  rayI,
const label  lambdaI 
) const
inline

Definition at line 31 of file fvDOMI.H.

◆ nTheta()

Foam::label nTheta ( ) const
inline

Definition at line 40 of file fvDOMI.H.

◆ nPhi()

Foam::label nPhi ( ) const
inline

Definition at line 46 of file fvDOMI.H.

◆ nRay()

Foam::label nRay ( ) const
inline

Definition at line 52 of file fvDOMI.H.

◆ nLambda()

Foam::label nLambda ( ) const
inline

Definition at line 58 of file fvDOMI.H.

◆ nBands()

Foam::label nBands ( ) const
inlinevirtual

Implements radiationModel.

Definition at line 64 of file fvDOMI.H.

◆ a()

const Foam::volScalarField & a ( ) const
inline

Definition at line 69 of file fvDOMI.H.

◆ aLambda()

const Foam::volScalarField & aLambda ( const label  lambdaI) const
inline

Definition at line 76 of file fvDOMI.H.

◆ G()

const Foam::volScalarField & G ( ) const
inline

Definition at line 84 of file fvDOMI.H.

◆ qr()

const Foam::volScalarField & qr ( ) const
inline

Definition at line 90 of file fvDOMI.H.

◆ qin()

const Foam::volScalarField & qin ( ) const
inline

Definition at line 95 of file fvDOMI.H.

◆ qem()

const Foam::volScalarField & qem ( ) const
inline

Definition at line 101 of file fvDOMI.H.

◆ blackBody()

const Foam::radiation::blackBodyEmission & blackBody ( ) const
inline

Definition at line 108 of file fvDOMI.H.

◆ omegaMax()

Foam::scalar omegaMax ( ) const
inline

Definition at line 114 of file fvDOMI.H.

◆ meshOrientation()

Foam::vector meshOrientation ( ) const
inline

Definition at line 120 of file fvDOMI.H.

◆ useSolarLoad()

bool useSolarLoad ( ) const
inline

Definition at line 126 of file fvDOMI.H.

◆ useExternalBeam()

bool useExternalBeam ( ) const
inline

Definition at line 132 of file fvDOMI.H.

◆ spectralDistribution()

const Foam::scalarList & spectralDistribution ( ) const
inline

Definition at line 139 of file fvDOMI.H.


The documentation for this class was generated from the following files: