|
[Sponsors] |
December 18, 2014, 18:55 |
plot residuals
|
#1 |
New Member
Join Date: Dec 2014
Posts: 5
Rep Power: 11 |
Hi, I'm a new user of openfam. I'm running a laminar stady-state case with simpleFoam. I have found on this forum a usefull way to plot the residuals using gnuplot during the simulation and it works. My question is maybe quite stupid.I run a simulation for a certain number of iteration (for instance 400):
simpleFoam >log monitoring the residuals. Now if i have to run again for other iterations ( with the latestTime entry in controlDict ) because my residuals aren't already converged or i have changed something in fvShemes directory if i write again simpleFoam >log my file log at the end of the iterations will contain only informations about iterations from 400 to the final one and also the residuals i plot are referred to those iteration. I wanna know if there is a way to write the new residuals in the same log file i have already in my directory leaving unalterated in it the previuos informations abuot the residuals of the previous run. In this way my gnuplot will show the residuals from the first step. I know i could use a different name (>log1) and then copy it in the previous one but I suspect that a smartest way may exist. thanks |
|
December 18, 2014, 20:57 |
|
#2 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
hello pigna,
use >> instead of > so : simpleFoam >>log then the output will be appended. Hope this helps Wouter |
|
December 19, 2014, 03:32 |
|
#3 |
New Member
Join Date: Dec 2014
Posts: 5
Rep Power: 11 |
Thank you, it is exactly the tip i needed .
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Tutorials] Tutorial of how to plot residuals ! | wolle1982 | OpenFOAM Community Contributions | 172 | Yesterday 07:20 |
plot residuals in multiregion solver | val46 | OpenFOAM | 4 | December 12, 2016 07:06 |
[swak4Foam] Foam warnings - related to swak4Foam | Salam-H | OpenFOAM Community Contributions | 20 | August 2, 2015 16:40 |
How to plot residuals of all iterations in Fluent | FJSJ | FLUENT | 4 | September 20, 2013 10:47 |
Residuals Plot | kamalipour | FLUENT | 2 | December 15, 2011 04:44 |