CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Can I specify the write/data output directory?

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

LinkBack Thread Tools Display Modes
Old   November 3, 2011, 13:53
Default Can I specify the write/data output directory?
Join Date: Oct 2011
Posts: 56
Rep Power: 8
Shawn_A is on a distinguished road
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.

Shawn_A is offline   Reply With Quote

Old   November 3, 2011, 16:13
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 15
marupio is on a distinguished road
You can only specify a subdirectory.

See the wiki:

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


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.
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote


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
OpenFoam install script Error during paraFoam installation SePe OpenFOAM Installation 10 June 19, 2010 15:15
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
Re : Problem Installing OpenFOAM on Centos -5.3 mohanphy OpenFOAM Installation 1 February 7, 2010 20:09
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43

All times are GMT -4. The time now is 11:01.