|
[Sponsors] |
April 27, 2013, 01:13 |
transient data plots
|
#1 |
New Member
Jason
Join Date: Sep 2011
Posts: 14
Rep Power: 14 |
Hi All,
I am working on diesel cyclic simulation. Recently, I would like to plot contour of fuel concentration and equivalence ratio from the transient data (*.ccmt). However, I use multi compound as fuel in the simulation such as n-c7h16 and ic8h18. I don't know how to plot. Please give some ideas. Thank you in advance. |
|
April 27, 2013, 08:38 |
|
#2 | |
Member
zheng jianjun
Join Date: Jan 2010
Posts: 46
Rep Power: 16 |
use "operate" command
such as ... operate getc,conc,1,1 !fuel 1 operate getc,conc,2,2 !fuel 2 operate add 1,2,4 !fuel1+fuel 2 ... cplot Quote:
|
||
April 28, 2013, 00:16 |
|
#3 | |
New Member
Jason
Join Date: Sep 2011
Posts: 14
Rep Power: 14 |
Quote:
I know you are one of the expert here. lol would you please check the code as following? Thank you very much. !Plot cell-averaged equivalence ratio *set,safr, 15.07 !stoichiometry air fuel ratio (average of C7 and C8) !the mass fraction of heptane vapor operate,getc,conc,1,1 ! !the mass fraction of isooctane vapor operator,getc,conc,2,31 !the mass fraction of oxygen-- last number match the scalar in the mechanism operate,getc,conc,3,2 ! !sum of fuel vapor operate,add,1,2,4 !the mass fraction of air in the cell=m_O2/0.2331 operate,smultiply,4.291845494,2,5 operate,divide,4,5,6 !F/A =fuel_air ratio operate,smultiply,safr,6,7 !phi=F/A*sto_A/F ... ... ... cplot Last edited by lunar1984; April 29, 2013 at 22:31. |
||
April 28, 2013, 00:48 |
|
#4 |
New Member
Jason
Join Date: Sep 2011
Posts: 14
Rep Power: 14 |
scalar 1 "C7H16"
scalar 2 "O2" scalar 31 "IC8H18" additional question: cplot is the command which just plots the concentration of the last "register number", right? Thanks. Last edited by lunar1984; April 28, 2013 at 01:06. |
|
April 28, 2013, 03:10 |
|
#5 | |
Member
zheng jianjun
Join Date: Jan 2010
Posts: 46
Rep Power: 16 |
cplot is the command which just plots the scalar in "register 4".
and all the register we used is only from register 1~register 6,no register 7 so change the last operate command line as "operate,smultiply,safr,6,4" bless ----------------------------------------------------------------- Quote:
|
||
April 28, 2013, 09:58 |
|
#6 | |
New Member
Jason
Join Date: Sep 2011
Posts: 14
Rep Power: 14 |
If change to "operate, safr, 6, 4 " , then we will have two "register 4". the other one is
!sum of fuel vapor operate,add,1,2,4 Is it still fine?? which one will be showed in cplot?? Additionally, in order to plot [OH] "scalar 8", is it still fine to use ...... operate, getc,conc,4,8 (since I checked, "getc,conc,8" doesn't work) ... ... cplot Thank you very much. Quote:
|
||
April 29, 2013, 02:29 |
|
#7 |
Member
zheng jianjun
Join Date: Jan 2010
Posts: 46
Rep Power: 16 |
It is fine, as register 4 can be used repeatly and the content in register can be overrided.
Cplot command ONLY can plot the scalar in register 4,or vector in register 1~3,as I mentioned before. bless. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to extract data from a completed transient run | Vince | CFX | 3 | November 26, 2019 06:59 |
Saving entire transient simulation data for postprocessing. | hamzamotiwala | STAR-CCM+ | 8 | March 5, 2012 02:22 |
transient data file in les computations | eos | Siemens | 0 | March 23, 2006 09:51 |
make an animation plots from the data | colopolo | Main CFD Forum | 4 | September 30, 2003 11:45 |
Post-Processing Transient Data | Clinton Lafferty | FLUENT | 1 | March 19, 2001 08:24 |