|
[Sponsors] |
Accessing alpha.oldTime() in multiphaseMixture |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 20, 2012, 16:39 |
Accessing alpha.oldTime() in multiphaseMixture
|
#1 |
New Member
Tyler V
Join Date: Jul 2012
Posts: 24
Rep Power: 14 |
Hello,
I am trying to access old time values of alpha in multiphaseMixture in multiphaseInterFoam but it does not seem to be accessible by the standard "oldTime()" convention. As a test, I have added the following in multiphaseMixture::solveAlphas in the base multiphaseInterFoam solver (no other modifications): Code:
forAllIter(PtrDictionary<phase>, phases_, iter) { phase& alpha = iter(); //Added these two lines to see what's going on Info<< "Max delta(alpha"<<alpha.name()<<") = " << Foam::max(mag(alpha.field() - alpha.oldTime().field())) << endl; //the rest of the function is un-modified |
|
Tags |
multiphaseinterfoam, oldtime |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
accessing solver data with UDF macros | Dushan | FLUENT | 1 | April 22, 2017 22:05 |
Why does accessing a zeroGradient patch return (0 0 0) for a volVectorField | l_r_mcglashan | OpenFOAM | 0 | August 20, 2010 14:27 |
Accessing node values using a UDF | Nico | FLUENT | 2 | December 20, 2007 03:50 |
How to define a Macro accessing rad intensity | Grey | FLUENT | 0 | May 21, 2007 01:12 |
UDF & Accessing Turbulence Properties | Dimal | FLUENT | 0 | March 5, 2002 14:14 |