|
[Sponsors] |
June 21, 2018, 10:02 |
OpenFoam Plotting Issue
|
#1 |
New Member
Harry
Join Date: Feb 2018
Posts: 6
Rep Power: 8 |
Good evening openFoamers. I have OpenFoam for Windows and i have an issue on how to plot residuals graphs. I searched for that and i found only for plotting in linux. Can anyone help ? Thank you.
|
|
June 22, 2018, 01:15 |
|
#2 |
Senior Member
|
You should use the CLI commands (see user guide) 6.2.1.7
https://cfd.direct/openfoam/user-gui...#x31-2330006.2 and plot with gnuplot the .dat file e.g: Code:
set terminal wxt set title "Ux residuals" set logscale y set grid set ylabel "Residuals" set xlabel "Iterations" plot 'residuals.dat' u 1 2 w l (explanations of the command line? use google for gnuplotting) |
|
June 22, 2018, 05:26 |
|
#3 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12 |
Hello Harry,
can you use the residual function object? See e.g. here (section 6.3.4, for OF 5.x) and here (for OF v1712). |
|
June 25, 2018, 14:48 |
|
#4 |
New Member
Harry
Join Date: Feb 2018
Posts: 6
Rep Power: 8 |
Thank you very much. I will check it now and i will reply to you. I am sorry for the delay.
|
|
June 25, 2018, 14:57 |
|
#5 |
New Member
Harry
Join Date: Feb 2018
Posts: 6
Rep Power: 8 |
Mr. student666, I checked your advice but still nothing happens. I try to plot Ux versus the height of my channel and I can't do it. Your help would be greatful if you know how to do it.
Thank you very much |
|
June 25, 2018, 15:00 |
|
#6 |
New Member
Harry
Join Date: Feb 2018
Posts: 6
Rep Power: 8 |
Mr Robert, the function is "streamlines" in my case.
|
|
June 26, 2018, 05:29 |
|
#7 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12 |
||
June 26, 2018, 06:26 |
|
#8 |
New Member
Harry
Join Date: Feb 2018
Posts: 6
Rep Power: 8 |
Mr Robert, I can use the residual function but i can't plot Ux versus height of the channel in different pissitions of x (along the length and height of the channel).
|
|
June 26, 2018, 06:35 |
|
#9 | |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12 |
Quote:
|
||
June 26, 2018, 09:15 |
|
#10 |
New Member
Harry
Join Date: Feb 2018
Posts: 6
Rep Power: 8 |
I will check it out. Thank you very much.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ plotting into the Volume with OpenFoam 3.0.1 / plotting a viscosity with OF 3.0.1 | BjoernFoam | OpenFOAM Post-Processing | 5 | February 22, 2022 04:50 |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 16:54 |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 07:15 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
Issue installation OpenFOAM - libopen-rte.so.0 | Voyage_gui | OpenFOAM | 1 | August 12, 2011 04:46 |