|
[Sponsors] | |||||
How to get current time using codeStream in b.c. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Carles
Join Date: Aug 2015
Posts: 4
Rep Power: 12 ![]() |
Dear Foamers,
I'm trying to set a time varying Qro in greyDiffusiveRadiationViewFactor b.c. using codeStream. My knowledge of C++ is very poor and I'm having difficulties with this. I've tried so far without succes: Code:
time().value() this->db().time().value() runTime().value() Thank you all in advance! |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 18 ![]() |
Hello,
I am also struggling with the similar issue, if you have already resolved this, could you please share the solution, I also tried: Code:
d.db().time().value() |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Elastic or Plastic Deformations in OpenFOAM | NickolasPl | OpenFOAM Pre-Processing | 36 | September 23, 2023 09:22 |
| Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
| pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |
| plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |
| Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |