Change writeOption for singlePhaseTransportModel
Hi guys,
in a solver I am currently working on, I create a singlePhaseTransportModel: singlePhaseTransportModel fluid(U, phi); Apparently, this inherits the readOption and writeOption from U and phi, so that nu is written out at every time step. I would like to change the writeOption to NO_WRITE. fluid.set("writeOption",IOobject::NO_WRITE) compiled but didn't work. Confusingly, fluid.writeOpt() gives "1", which according to IOobject.H equals NO_WRITE. Any ideas? thx |
All times are GMT -4. The time now is 20:41. |