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

OpenFOAM v2006 supress writing of uniform folder within time folder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2020, 17:47
Default OpenFOAM v2006 supress writing of uniform folder within time folder
  #1
Senior Member
 
Tom-Robin Teschner
Join Date: Dec 2011
Location: Cranfield, UK
Posts: 204
Rep Power: 16
t.teschner is on a distinguished road
I am developing a customised solver and want to suppress the writing of the uniform/ folder within the time directories (which seems to be new since v2006?!). Simply turning off the runTime.write(); command won't help here, that only suppresses the writing of the flow variables. In essence, I don't want to write anything during the calculation, as I take care of that in a different way elsewhere.
t.teschner is offline   Reply With Quote

Old   August 21, 2020, 17:57
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
Hi,

- I know it will be an incorrect answer, but I will give a shot: Just increase the controlDict writeTime's time/iteration settings beyond the end time of your simulation?
HPE is offline   Reply With Quote

Old   August 22, 2020, 02:17
Default
  #3
Senior Member
 
Tom-Robin Teschner
Join Date: Dec 2011
Location: Cranfield, UK
Posts: 204
Rep Power: 16
t.teschner is on a distinguished road
No, I still want to iterate normally through the timesteps, I just don't want to output the solution
t.teschner is offline   Reply With Quote

Old   August 22, 2020, 02:26
Default
  #4
Senior Member
 
Tom-Robin Teschner
Join Date: Dec 2011
Location: Cranfield, UK
Posts: 204
Rep Power: 16
t.teschner is on a distinguished road
well, it wasn't so hard to track it down in the end through some debugging, the runTime.run(); function is writing these additional outputs, so I just changed the while() statement to get the desired effect. Just in case someone stumbles upon this thread I leave my answer here.
t.teschner is offline   Reply With Quote

Old   August 22, 2020, 04:38
Default
  #5
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
Quote:
Originally Posted by t.teschner View Post
No, I still want to iterate normally through the timesteps, I just don't want to output the solution
But the simulation runs through timesteps no matter the interim solutions are written out or not.

Anyways, if you have solved the issue, good.
HPE is offline   Reply With Quote

Old   August 24, 2020, 02:42
Default
  #6
Senior Member
 
Tom-Robin Teschner
Join Date: Dec 2011
Location: Cranfield, UK
Posts: 204
Rep Power: 16
t.teschner is on a distinguished road
Quote:
Originally Posted by HPE View Post
But the simulation runs through timesteps no matter the interim solutions are written out or not.

Anyways, if you have solved the issue, good.
Yes, I wasn't saying your solution is wrong, just not what I was looking for Thanks for your comments either way
t.teschner 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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 5, 2023 23:48
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 11:04
rhoSimpleFoam error johny0688 OpenFOAM Pre-Processing 4 June 1, 2021 12:23
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20


All times are GMT -4. The time now is 07:59.