CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   AUTO_WRITE for all objects in an objectRegistry (http://www.cfd-online.com/Forums/openfoam-programming-development/66485-auto_write-all-objects-objectregistry.html)

johndeas July 16, 2009 17:01

AUTO_WRITE for all objects in an objectRegistry
 
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 !

olesen July 17, 2009 03:40

Quote:

Originally Posted by johndeas (Post 222963)
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?


All times are GMT -4. The time now is 15:32.