CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Change writeOption for singlePhaseTransportModel

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 11, 2014, 11:17
Default Change writeOption for singlePhaseTransportModel
Join Date: Jul 2012
Posts: 31
Rep Power: 7
kpax is on a distinguished road
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?

kpax is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Old OpenFOAM Users, Read This if you Want to Change Username pete Site Help, Feedback & Discussions 0 March 16, 2009 05:29
Model foaming process: change the volume / density pmp77 CFX 0 November 18, 2008 10:53
How to change contour line thickness? Mishar Siemens 0 December 15, 2004 11:28
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12
How to change the reference pressure value to 0 Pa Lee Siemens 2 July 1, 2003 00:32

All times are GMT -4. The time now is 11:06.