Finite Volume Discrete Ordinates Method. Solves the RTE equation for n directions in a participating media, not including scatter and reflective walls.
More...
|
| 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< volScalarField > | Rp () const |
|
virtual tmp< volScalarField::Internal > | Ru () const |
|
const solarCalculator & | solarCalc () const |
|
const radiativeIntensityRay & | IRay (const label rayI) const |
|
const volScalarField & | IRayLambda (const label rayI, const label lambdaI) const |
|
label | nTheta () const |
|
label | nPhi () const |
|
label | nRay () const |
|
label | nLambda () const |
|
label | nBands () const |
|
const volScalarField & | a () const |
|
const volScalarField & | aLambda (const label lambdaI) const |
|
const volScalarField & | G () const |
|
const volScalarField & | qr () const |
|
const volScalarField & | qin () const |
|
const volScalarField & | qem () const |
|
const blackBodyEmission & | blackBody () const |
|
scalar | omegaMax () const |
|
vector | meshOrientation () const |
|
bool | useSolarLoad () const |
|
bool | useExternalBeam () const |
|
const scalarList & | spectralDistribution () const |
|
| 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< fvScalarMatrix > | Sh (const basicThermo &thermo, const volScalarField &he) const |
|
virtual tmp< fvScalarMatrix > | ST (const dimensionedScalar &rhoCp, volScalarField &T) const |
|
virtual tmp< fvScalarMatrix > | ST (tmp< volScalarField > rhoCp, volScalarField &T) const |
|
virtual tmp< fvScalarMatrix > | ST (volScalarField &T) const |
|
const absorptionEmissionModel & | absorptionEmission () const |
|
const sootModel & | soot () const |
|
| 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 |
|
| 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 word & | name () const |
|
virtual bool | readData (Istream &) |
|
virtual bool | writeData (Ostream &) const |
|
void | operator= (const baseIOdictionary &rhs) |
|
void | operator= (const dictionary &rhs) |
|
| 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 dictionary * | findMetaData () const noexcept |
|
dictionary & | getMetaData () noexcept |
|
void | removeMetaData () |
|
virtual void | updateMetaData () |
|
bool | headerOk () |
|
Istream & | readStream (const word &, const bool valid=true) |
|
void | close () |
|
virtual label | addWatch (const fileName &) |
|
const labelList & | watchIndices () const |
|
labelList & | watchIndices () |
|
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 |
|
| TypeName ("IOobject") |
|
| IOobject (const IOobject &)=default |
|
virtual | ~IOobject ()=default |
|
| IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, 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 ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) |
|
| IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) |
|
| IOobject (const IOobject &io, const objectRegistry ®istry) |
|
| IOobject (const IOobject &io, const word &name) |
|
| IOobject (const IOobject &io, readOption, writeOption) |
|
autoPtr< IOobject > | clone () const |
|
autoPtr< IOobject > | clone (const objectRegistry ®istry) const |
|
const objectRegistry & | db () const noexcept |
|
const Time & | time () const |
|
const word & | name () const noexcept |
|
const word & | headerClassName () const noexcept |
|
word & | headerClassName () noexcept |
|
const string & | note () const noexcept |
|
string & | note () 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 fileName & | rootPath () const |
|
const fileName & | caseName () const |
|
const fileName & | instance () const noexcept |
|
fileName & | instance () noexcept |
|
const fileName & | local () 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< IOobject > | info () const |
|
void | operator= (const IOobject &io) |
|
readOption & | readOpt () noexcept |
|
writeOption & | writeOpt () noexcept |
|
bool & | registerObject () noexcept |
|
bool & | globalObject () noexcept |
|
template<> |
bool | isHeaderClassName () const |
|
template<class StringType > |
Foam::word | groupName (StringType base, const word &group) |
|
| 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< dictionary > | clone () const |
|
virtual | ~dictionary () |
|
const fileName & | name () const noexcept |
|
fileName & | name () noexcept |
|
word | dictName () const |
|
fileName | relativeName (const bool caseTag=false) const |
|
bool | isNullDict () const noexcept |
|
const dictionary & | parent () const noexcept |
|
const dictionary & | topDict () 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 |
|
entry * | findEntry (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) |
|
const entry * | findEntry (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
|
const entry * | findScoped (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
|
dictionary * | findDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) |
|
const dictionary * | findDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
|
const entry & | lookupEntry (const word &keyword, enum keyType::option matchOpt) const |
|
ITstream & | lookup (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 dictionary & | subDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
|
dictionary & | subDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) |
|
dictionary & | subDictOrAdd (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 dictionary & | optionalSubDict (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< keyType > | keys (bool patterns=false) const |
|
bool | substituteKeyword (const word &keyword, bool mergeEntry=false) |
|
bool | substituteScopedKeyword (const word &keyword, bool mergeEntry=false) |
|
entry * | add (entry *entryPtr, bool mergeEntry=false) |
|
entry * | add (const entry &e, bool mergeEntry=false) |
|
entry * | add (const keyType &k, const word &v, bool overwrite=false) |
|
entry * | add (const keyType &k, const string &v, bool overwrite=false) |
|
entry * | add (const keyType &k, const label v, bool overwrite=false) |
|
entry * | add (const keyType &k, const scalar v, bool overwrite=false) |
|
entry * | add (const keyType &k, const dictionary &d, bool mergeEntry=false) |
|
template<class T > |
entry * | add (const keyType &k, const T &v, bool overwrite=false) |
|
entry * | set (entry *entryPtr) |
|
entry * | set (const entry &e) |
|
entry * | set (const keyType &k, const dictionary &v) |
|
template<class T > |
entry * | set (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 dictionary * | cfindScopedDict (const fileName &dictPath) const |
|
const dictionary * | findScopedDict (const fileName &dictPath) const |
|
dictionary * | findScopedDict (const fileName &dictPath) |
|
dictionary * | makeScopedDict (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 entry * | findCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option) const |
|
const entry & | lookupEntryCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option) const |
|
ITstream & | lookupCompat (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 |
|
ITstream & | operator[] (const word &keyword) const |
|
bool | found (const word &keyword, bool recursive, bool patternMatch=true) const |
|
entry * | lookupEntryPtr (const word &keyword, bool recursive, bool patternMatch) |
|
const entry * | lookupEntryPtr (const word &keyword, bool recursive, bool patternMatch) const |
|
const entry * | lookupScopedEntryPtr (const word &keyword, bool recursive, bool patternMatch) const |
|
const dictionary * | subDictPtr (const word &keyword) const |
|
dictionary * | subDictPtr (const word &keyword) |
|
const entry & | lookupEntry (const word &keyword, bool recursive, bool patternMatch) const |
|
ITstream & | lookup (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::entry * | add (const keyType &k, const T &v, bool overwrite) |
|
template<class T > |
Foam::entry * | set (const keyType &k, const T &v) |
|
| 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) |
|
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:
- 1-D:
- ray directions are on X, Y or Z
nPhi
and nTheta
entries are ignored
meshOrientation
vector can be used for any other 1-D direction.
- 2-D:
- ray directions are on X-Y, X-Z or Y-Z planes
- only the
nPhi
entry is considered
meshOrientation
vector can be used for non-aligned planes specifying the plane normal vector.
- 3-D:
- rays geberated in 3-D using the
nPhi
and nTheta
entries
meshOrientation
vector is not applicable.
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.