|
[Sponsors] |
February 10, 2014, 17:33 |
Can you disable solver output?
|
#1 |
Member
Chris L
Join Date: Sep 2012
Posts: 53
Rep Power: 14 |
Hi all,
I was wondering if anyone knows a way to disable solver output to the terminal or log file? On the cluster I am using, the file system manager is the bottle neck in my simulation run times, write operations seem to hang when under load. Therefore I want to write to the file system as infrequently as possible. Since the code is writing time step files once every half hour or so I think this is mostly due to the solver output stream. I though about > /dev/null but I think this still writes to the file system. Any input is appreciated. Thanks, Chris |
|
February 11, 2014, 03:43 |
|
#2 |
Senior Member
|
Hi,
You can do something like this: Code:
mkdir -p $HOME/.OpenFOAM/$WM_PROJECT_VERSION cp $WM_PROJECT_DIR/etc/controlDict $HOME/.OpenFOAM/$WM_PROJECT_VERSION/ Code:
... SolverPerformance 1; ... lduMatrix 1; ... Code:
... SolverPerformance 0; ... lduMatrix 0; ... Last edited by alexeym; February 11, 2014 at 03:44. Reason: typo |
|
February 13, 2014, 17:31 |
|
#3 |
Member
Chris L
Join Date: Sep 2012
Posts: 53
Rep Power: 14 |
Thanks Alexey,
This is exactly what I was looking for. In version 2.2.0 SolverPerformance 0; doesn't exist but if other variables are set to 0 it will run quietly. Chris |
|
February 14, 2014, 05:27 |
|
#4 | |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Just for the sake of completeness: /dev/null does not write to the file system. It's a "special file" where the kernel reports a successful write but doesn't actually touch the disk at all. So it's pretty fast.
- Anton Quote:
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
different results between serial solver and parallel solver | wlt_1985 | FLUENT | 11 | October 12, 2018 09:23 |
Creating New Solver: For particle-laden compressible jets | sankarv | OpenFOAM Running, Solving & CFD | 17 | December 3, 2014 20:41 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
Creating New Solver: For particle-laden compressible jets | sankarv | OpenFOAM | 0 | April 4, 2010 19:06 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |