CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > 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 Search this Thread 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: 17
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: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Global variables or How to get a vector into an objectRegistry maddhi OpenFOAM Running, Solving & CFD 1 January 8, 2016 01:56
IcePak network objects in parallel solver Alexey FLUENT 1 December 25, 2013 08:32
Warning when I add my objects Xu Phoenics 0 November 21, 2008 12:30
What is the role of tmp%2360T class objects nicasch OpenFOAM Running, Solving & CFD 0 September 17, 2008 03:29


All times are GMT -4. The time now is 13:42.