|
[Sponsors] |
How to read/write bool variable from boundary condition? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 8, 2014, 10:09 |
How to read/write bool variable from boundary condition?
|
#1 |
Member
Petr Furmanek
Join Date: Jan 2012
Location: Faenza, Italy
Posts: 66
Rep Power: 14 |
Hi all,
I'd like to add write info option to my boundary condition. To this purpose I've added a private variable bool printInfo_ to my BC class. Now, when I want to write it in the write function, I'm using writeEntryIfDifferent<bool>(os, "printInfo", "true", printInfo_); but this doesn't work. Do you know what is the right way to do it? Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
How access member variable of a boundary condition | Vesposo | OpenFOAM Programming & Development | 1 | March 13, 2014 07:49 |
Dirichlet boundary condition for additional variable on the wall | ftab | CFX | 13 | January 27, 2013 12:24 |
Slip boundary condition what is inside | normunds | OpenFOAM Running, Solving & CFD | 2 | June 4, 2007 06:45 |
Additional variable - wall boundary condition | flga | CFX | 2 | May 30, 2007 03:14 |