|
[Sponsors] |
January 2, 2017, 13:16 |
OpenFOAM file management (on Server)
|
#1 |
New Member
Han Li
Join Date: Jul 2015
Location: College Station
Posts: 16
Rep Power: 11 |
Hi All,
I am running a transient case using LES on a computer server. The server in our school has a file number quota (limit) for each user. But when I use OpenFOAM in parallel, OpenFOAM will have a large number of files for each time step. (e.g. if I use 100 cores, OpenFOAM will have 100 folders, processor0, processor1...., in each folder contains multiple files, U, p, k....). The files limit the number of time step I can run/store at once. Do you guys have any suggestions? Any suggestion is appreciated! |
|
January 3, 2017, 11:40 |
use purgeWrite
|
#2 |
Member
Arvind Jay
Join Date: Sep 2012
Posts: 97
Rep Power: 15 |
You can use purgeWrite option in the controlDict file. Depending on the number, you could overwrite and save only the latest data.
Code:
purgeWrite 3; Cheers, Edit: If you need a more advanced solution check out the adiosWrite add-on to openfoam+. |
|
January 4, 2017, 16:51 |
|
#3 |
New Member
Han Li
Join Date: Jul 2015
Location: College Station
Posts: 16
Rep Power: 11 |
Thank you!
So far what I do is using sample method to sample a plane into a VTK file for prescribed time steps. And using Purge option only store solution for recent time steps. The downside is I can only have the sample plane data for the whole run. I wish there is some sample method to extract certain 3D region into a VTK file. PS: The adiosWrite slides was fascinating. I am thinking of using that. |
|
January 5, 2017, 10:59 |
|
#4 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Quote:
http://openfoam.com/version-v1612+/c...ty-parallel-io https://develop.openfoam.com/Communi...rite/README.md It compiles smoothly with the 1612 release. There is some background information as a http://openfoam.com/documentation/fi...ios-201610.pdf but is slightly out-of-date. Last edited by olesen; January 5, 2017 at 11:31. Reason: added link to pdf |
||
January 5, 2017, 12:29 |
|
#5 | |
New Member
Han Li
Join Date: Jul 2015
Location: College Station
Posts: 16
Rep Power: 11 |
Quote:
So the closest comparable version is 4.0 (I assume ) ? |
||
January 5, 2017, 13:39 |
|
#6 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Quote:
For what it is worth, with 1612 compiling OpenFOAM should be a much smoother experience. But if you need some really easy to handle (eg, for your IT people), you might also take a look at the additional build script in the community repository. With this it is possible to provide a bundle of openfoam and third-party packages along with the configuration information (currently embedded as a table of information inside the script). It is not quite one-click, but getting much closer. /mark |
||
January 5, 2017, 13:48 |
|
#7 |
New Member
Han Li
Join Date: Jul 2015
Location: College Station
Posts: 16
Rep Power: 11 |
Thank you, Mark!
I will try the 1612 Version on my computer and request our Supercomputing Staff add the newer version. It seems our OpenFOAM version is following CFD Direct (openfoam.org) instead of ESI's OpenFOAM version. |
|
January 10, 2017, 03:51 |
|
#8 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Let me know how you get on. If there are specific issues/improvements for the adiosWrite, it would be nice if you used the gitlab tracker. This makes it easier to follow for the development process.
|
|
Tags |
parallel calculation, servers |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |