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

How to modify folder path for output's writing

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Lorenzo92

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2016, 12:39
Default How to modify folder path for output's writing
  #1
Member
 
Lorenzo
Join Date: Oct 2015
Location: Graz
Posts: 49
Rep Power: 10
Lorenzo92 is on a distinguished road
Dear collegues,

I have the need to modify the path where some fields are written, let's say UMean.gz and pMean.gz: I have to write these output files always in the same place overwriting the old ones.
Is there anyone who can give me a hint about where to modify to source code?

Really need your help, I need these modification in order to save memory for a huge simulation on a HPC cluster.
Thank you
Lorenzo92 is offline   Reply With Quote

Old   December 5, 2016, 02:25
Default
  #2
Member
 
Lorenzo
Join Date: Oct 2015
Location: Graz
Posts: 49
Rep Power: 10
Lorenzo92 is on a distinguished road
Solved!!
If you are interested look in IOobjectRegistry: there is a line which sets the name of the writing folder. Just modify that line to decide where to write field data for that IOobjectRegistry .
ykanani likes this.
Lorenzo92 is offline   Reply With Quote

Old   January 3, 2017, 17:42
Default
  #3
Member
 
Yousef
Join Date: Feb 2015
Posts: 40
Rep Power: 11
ykanani is on a distinguished road
Quote:
Originally Posted by Lorenzo92 View Post
Solved!!
If you are interested look in IOobjectRegistry: there is a line which sets the name of the writing folder. Just modify that line to decide where to write field data for that IOobjectRegistry .
Hi and Thanks for sharing the solution. Could you please provide more details about the method?

Thanks
ykanani 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
Writing IOdictionary to user-defined folder Arnoldinho OpenFOAM Programming & Development 3 June 16, 2021 04:04
Fluent sopenoutputfile error message em07189 FLUENT 2 November 11, 2019 08:08
How to Mix AIR and WATER Elvis1991 FLUENT 12 December 1, 2016 12:28
Problem with cyclic boundaries in Openfoam 1.5 fs82 OpenFOAM 36 January 7, 2015 00:31
solid to fluid heattransfer with chtMultiRegionFoam nakor OpenFOAM 11 March 21, 2011 08:28


All times are GMT -4. The time now is 04:39.