CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Can I specify the write/data output directory?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2011, 12:53
Default Can I specify the write/data output directory?
  #1
Member
 
Shawn
Join Date: Oct 2011
Posts: 56
Rep Power: 14
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.

Thanks
Shawn
Shawn_A is offline   Reply With Quote

Old   November 3, 2011, 15:13
Default
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
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.
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Reply


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
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 19:09
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 09: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 19:48.