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

AUTO_WRITE for all objects in an objectRegistry

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 16, 2009, 16:01
Default AUTO_WRITE for all objects in an objectRegistry
  #1
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 8
johndeas is on a distinguished road
Hi,

I am modifying my mesh using
Code:
fvMesh::movePoints()
This sets the
Code:
polyMesh.points_
writing option to AUTO_WRITE. But what I really would like is to have all the elements of the polyMesh to acquire the AUTO_WRITE option, so that mesh.write() will write all the files.

Thank you for your help !
johndeas is offline   Reply With Quote

Old   July 17, 2009, 02:40
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
Quote:
Originally Posted by johndeas View Post
But what I really would like is to have all the elements of the polyMesh to acquire the AUTO_WRITE option, so that mesh.write() will write all the files.
Have you tried (ab)using the polyMesh::setInstance() method?
olesen is offline   Reply With Quote

Reply

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
IcePak network objects in parallel solver Alexey FLUENT 1 December 25, 2013 09:32
Warning when I add my objects Xu Phoenics 0 November 21, 2008 13:30
What is the role of tmp%2360T class objects nicasch OpenFOAM Running, Solving & CFD 0 September 17, 2008 03:29
Global variables or How to get a vector into an objectRegistry maddhi OpenFOAM Running, Solving & CFD 0 August 19, 2008 07:08


All times are GMT -4. The time now is 08:40.