|
[Sponsors] |
multiphaseEulerFoam: forAllIter(PtrDictionary<phaseModel>, phases_, iter) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 23, 2014, 09:15 |
multiphaseEulerFoam: forAllIter(PtrDictionary<phaseModel>, phases_, iter)
|
#1 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
hi,
within method solve of multiphaseEulerFoam is found: Code:
forAllIter(PtrDictionary<phaseModel>, phases_, iter) //fuer alle Phasen { phaseModel& phase = iter(); Code:
for \ ( \ Container::iterator iter = (container).begin(); \ iter != (container).end(); \ ++iter \ ) Iterate across all elements in the container object of type Container. Usage forAll(ContainerType, container, iter) { statements; } Code:
PtrDictionary<phaseModel>::iterator Code:
template<class T> 199 inline T& Foam::PtrList<T>::iterator::operator()() 200 { 201 return operator*(); 202 } greetings maybee |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiphaseEulerFoam: method iter() and calculation of phase fractions | maybee | OpenFOAM Programming & Development | 1 | July 22, 2020 09:20 |
multiphaseEulerFoam: efficient way of implementing fields for all phases | maybee | OpenFOAM Programming & Development | 0 | January 23, 2014 05:16 |
multiphaseEulerFoam: Method forAllIter(...) within solve() | maybee | OpenFOAM Programming & Development | 4 | January 7, 2014 05:35 |
Force can not converge | colopolo | CFX | 13 | October 4, 2011 23:03 |
Extract primary phase thread in VOF with 3 phases | Eric | FLUENT | 2 | July 7, 2011 03:22 |