|
[Sponsors] |
multiphaseEulerFoam: scalarCoeffSymmTable::const_iterator cAlpha in solveAlphase() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 13, 2014, 05:30 |
multiphaseEulerFoam: scalarCoeffSymmTable::const_iterator cAlpha in solveAlphase()
|
#1 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
hi,
in method solveAlphas() of multiphasesystem.C of multiphaseEulerFoam is found: Question 1: Code:
scalarCoeffSymmTable::const_iterator cAlpha ( cAlphas_.find(interfacePair(phase1, phase2)) //scalarCoeffSymmTable cAlphas_; ); //in multiphasesystem.H Question 2: Later on the following line appears: Code:
phir += min(cAlpha()*phic, max(phic))*nHatf(phase1, phase2); Code:
inline T& Foam::HashTable<T, Key, Hash>::operator()(const Key& key) //Find and return a hashedEntry, create it null if not present. 146*{ 147* iterator iter = this->find(key); 148* 149* if (iter == this->end()) 150* { 151* this->insert(key, T()); 152* return *find(key); 153* } 154* else 155* { 156* return *iter; 157* } 158*} greetings maybee |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiphaseEulerFoam + kineticTheoryProperties | vasava | OpenFOAM Running, Solving & CFD | 5 | May 20, 2020 10:35 |
query regarding deltaT in multiphaseEulerFoam | bigboss.abhishek | OpenFOAM Running, Solving & CFD | 6 | September 24, 2015 15:56 |
multiphaseEulerFoam: method mag(...) withing method solveAlphase() | maybee | OpenFOAM Programming & Development | 0 | December 21, 2013 10:13 |
multiPhaseEulerFoam and LES | GerhardHolzinger | OpenFOAM Running, Solving & CFD | 7 | December 18, 2013 20:19 |
multiphaseEulerFoam | kwardle | OpenFOAM | 3 | March 25, 2013 10:31 |