CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Can I specify the write/data output directory? (https://www.cfd-online.com/Forums/openfoam-solving/94044-can-i-specify-write-data-output-directory.html)

Shawn_A November 3, 2011 13:53

Can I specify the write/data output directory?
 
Is there any way to specify the data output / write directory? I assume this would be done in controlDict, but I haven't been able to find anything thta will do it. It would be nice if I could create a directory called "Results" or "Solution" or whatever and have all my timesteps, forces, etc. written there instead of into the case directory.

Thanks
Shawn

marupio November 3, 2011 16:13

You can only specify a subdirectory.

See the wiki: http://openfoamwiki.net/index.php/Op...objectRegistry

The output goes to the IOobject's path, which can is:

instance/local/name

You give it the "instance" and (optionally) "local" when you create the IOobject. name is its name, and that becomes the filename.

instance can only be one of 5 things. See the wiki.


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