It's ok, I think. If p equation gets convergent, you can judge other equations have got convergent early.
|
Hello, everyone!
I use scripts for plot residuals and coefficients (thank you VERY MUCH). Residuals are plotting, but coefficients - not. I have only grid of graphics, and a tip, that lift coeff have red color, drag - green. I look inside file and change it according my solver. Did I do something wrong? Or how can I get the graphic of force coefficients? |
Thanks Wolfgang for the great script,
I was wondering what syntax is needed to plot Residual vs Time in transient case instead of Residual vs Iteration. Does anyone have an Idea? Regards |
Hi
May be you can use pyFoam |
how to save pyFoamPlotWatcher.py generated gunplots at the end of the run.
BR, Suranga. |
Quote:
|
This is quite nice, but is there anyway to import the data from the log file into excel for some nicer looking graphs?
|
hi! u can create a bash script to create a txt/csv like file so u can import it to excel..
the command "awk" is the best call imo gl |
Quote:
One possible way was described in the next sentence: read the file with the pickled data with pyFoamRedoPlot.py and instead of generating images write CSV-files (CSV is read by almost everyone including Excel) Other way would be to let the Watcher write files with the --write-files-option and use pyFoamConvertToCSV.py |
oops, no I meant using gnuplot however I'll take a look at using pyFoamWatcher. CSV data would be perfect. Thanks!
|
Quote:
|
Ah right, the quick reply function is different here compared to other forums. Usually just adds a comment onto the thread without specifying who you reply to.
Found an easier way, simply copy and paste the log file into excel, split into columns by delimiting (use space and comma). Use an if/else function to select the row of the column that has (for me Uy) then return the row 3 columns to the right or return zero. Filter out the zeros, copy and paste the non-zero data into a new sheet as 'values' and you're sorted. |
Quote:
|
Problems with plotting by gnuplot, simpleFoam Residuals
3 Attachment(s)
Hi foamers,
I have a maybe stupid question about how to plot the residuals of a simpleFoam Simulation. I'm used to pyFoam but this is no longer an option so I've tried gnuplot and the script provided by W.Heydlauff. As I understand the script it should plot the Final Residual of the log-file, right? But when I use it now it gives me the Initial Residual of the log-file. How comes? Here is my gnuplot-script: Quote:
Thank you in advance. |
It should be f13 instead of f9 to plot Final residual.
regards, Tanzil |
Sure? I've tried f12, f13 and f14 but these tries just produced error-messages...
|
1 Attachment(s)
Hi Sören,
with your gnuplot-script and the changes described by Tanzil the plot works without errors Quote:
dima |
Thanks,
I copied your script - working fine. I guess that I've overlooked something in my script... Thnaks for the quick help. |
how draw pressure coefficient in openFoam
hi dear Wolfgang:);
it was really useful post, it help me alot. would you please tell us how can draw pressure coefficient on airfoil using paraview? our multi element airfoil have been solved with openFoam software. thank you very much:) |
How about parallel situation
Hi, can this method applicable to parallel cases?
|
All times are GMT -4. The time now is 05:41. |