CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Change writeOption for singlePhaseTransportModel

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 11, 2014, 10:17
Default Change writeOption for singlePhaseTransportModel
  #1
Member
 
Join Date: Jul 2012
Posts: 31
Rep Power: 13
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?

thx
kpax is offline   Reply With Quote

 


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 Off
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 04:29
Model foaming process: change the volume / density pmp77 CFX 0 November 18, 2008 09:53
How to change contour line thickness? Mishar Siemens 0 December 15, 2004 10: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 07:26.