|
[Sponsors] |
runTime.timeName(), versus mesh.time().timeName() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 4, 2017, 10:40 |
runTime.timeName(), versus mesh.time().timeName()
|
#1 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
What is the difference between and usage of
runTime.timeName() versus mesh.time().timeName() Specifically in the use of IOobject. I'm in the process of trying to create a new new absorption emission sub-model, that is constant with respect to time but varies with its location in the mesh.
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
June 6, 2017, 04:30 |
|
#2 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
Nothing.
runTime is a variable declared in your solver that refers to the Foam::Time object. <-- Useful in your solver mesh.time() retrieves the same Foam::Time object, as the mesh has access to Foam::Time. <-- Useful everywhere else, where the variable 'runTime' is not accessible. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Plot Average Temperature or Other Variables of a Domain Versus Pipe n CFD-Post | Shomaz ul Haq | CFX | 8 | June 6, 2018 19:43 |
shaft power versus RMP curve in wind turbine simulation | zhenduan306 | CFX | 28 | November 8, 2012 11:11 |
Plot of Solid Volume Fraction versus Height | Musa | FLUENT | 2 | February 5, 2012 09:06 |
Properties of air versus temperature AND pressure | Vincent | Main CFD Forum | 5 | July 28, 2008 07:28 |
variable versus time | Cesare | CFX | 1 | September 27, 2004 12:00 |