transient data plots

 Register Blogs Members List Search Today's Posts Mark Forums Read

 April 27, 2013, 00:13 transient data plots #1 New Member   Jason Join Date: Sep 2011 Posts: 14 Rep Power: 5 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, 07:38
#2
Member

zheng jianjun
Join Date: Jan 2010
Posts: 46
Rep Power: 7
use "operate" command
such as
...
operate getc,conc,1,1 !fuel 1
operate getc,conc,2,2 !fuel 2
...
cplot

Quote:
 Originally Posted by lunar1984 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, 23:16
#3
New Member

Jason
Join Date: Sep 2011
Posts: 14
Rep Power: 5
Quote:
 Originally Posted by skylent 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
Hi Skylent,
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

!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 21:31.

 April 27, 2013, 23:48 #4 New Member   Jason Join Date: Sep 2011 Posts: 14 Rep Power: 5 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 00:06.

April 28, 2013, 02:10
#5
Member

zheng jianjun
Join Date: Jan 2010
Posts: 46
Rep Power: 7
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:
 Originally Posted by lunar1984 Hi Skylent, 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 !spoint 0 0 0 !snormal 0 1 0 ! cset, all caverage, cset poption,contour ! pltype,section ! angle 0 ! view snormal ! cplot

April 28, 2013, 08:58
#6
New Member

Jason
Join Date: Sep 2011
Posts: 14
Rep Power: 5
If change to "operate, safr, 6, 4 " , then we will have two "register 4". the other one is
！sum of fuel vapor

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:
 Originally Posted by skylent 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 -----------------------------------------------------------------

 April 29, 2013, 01:29 #7 Member   zheng jianjun Join Date: Jan 2010 Posts: 46 Rep Power: 7 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. lunar1984 likes this.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post hamzamotiwala STAR-CCM+ 8 March 5, 2012 02:22 Vince CFX 2 July 15, 2008 05:05 eos CD-adapco 0 March 23, 2006 09:51 colopolo Main CFD Forum 4 September 30, 2003 10:45 Clinton Lafferty FLUENT 1 March 19, 2001 08:24

All times are GMT -4. The time now is 07:08.