|
[Sponsors] |
November 21, 2008, 04:19 |
Plot variables versus time
|
#1 |
New Member
Jml
Join Date: Mar 2009
Posts: 23
Rep Power: 17 |
I want to plot a given variable like pressure or velocity over time (in all time steps calculated)using openfoam 1.5.
Anyone know how can i do it? Thanks. |
|
November 21, 2008, 04:35 |
hi Jorge,
You can use "foam
|
#2 |
Member
Mahendra
Join Date: Mar 2009
Location: Pune, Maharashtra, India
Posts: 65
Rep Power: 17 |
hi Jorge,
You can use "foamJob" command and it writes a "log" file. After that you can use "foamLog" command in which the residuals of all variables are stored at every interations. Using third party software you can read the particular variable file to generate the plot. example: 1. command: "foamJob MRFSimpleFoam" // This will fire the MRFSimpleFoam application and it will simultaneously start writing a "log" file in which information at all iterations is stored. 2. command after the simulation is finished: "foamLog log" // This will create the "logs" directory in which all the residual history is stored. Hope I answered your question. Regards, Mahendra |
|
November 21, 2008, 05:09 |
Hi Jorge,
An other solution
|
#3 |
Senior Member
Cedric DUPRAT
Join Date: Mar 2009
Location: Nantes, France
Posts: 195
Rep Power: 17 |
Hi Jorge,
An other solution, maybe simpler than Mahendra's one is to use the probes utility. check "probe" on the forum search or the user guide near the end. you define coordinate inside your geometry, and parameter you want to plot (in system/controlDict). At each time step, Foam saves the parameter(s) at the coordinate(s). Then, you got a colum by time file which can be ploted. Clear ? Cedric |
|
December 1, 2008, 13:16 |
Dear All,
Gamma data over tim
|
#4 |
New Member
Martin Romagnoli
Join Date: Mar 2009
Location: Rosario, Santa Fe, Argentina
Posts: 22
Rep Power: 17 |
Dear All,
Gamma data over time was plotted using paraview 2.4.4 and then it was compared with the same graph manually done. Unfortunately, they are different and I think that paraview is giving me bad results. Any clue? Thanks you in advance Martín. PS: I dont know how can I insert the plot here for you visualize it. |
|
December 3, 2008, 09:44 |
http://www.cfd-online.com/Open
|
#5 |
New Member
Martin Romagnoli
Join Date: Mar 2009
Location: Rosario, Santa Fe, Argentina
Posts: 22
Rep Power: 17 |
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bash script for pseudo-parallel usage of reconstructPar | kwardle | OpenFOAM Post-Processing | 42 | May 8, 2024 00:17 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |
How can i plot variables over time? | maysmech | OpenFOAM | 8 | September 22, 2010 23:20 |