CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CD

transient data plots

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

Like Tree2Likes
  • 1 Post By skylent
  • 1 Post By skylent

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2013, 01:13
Default transient data plots
  #1
New Member
 
Jason
Join Date: Sep 2011
Posts: 14
Rep Power: 14
lunar1984 is on a distinguished road
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.
lunar1984 is offline   Reply With Quote

Old   April 27, 2013, 08:38
Default
  #2
Member
 
zheng jianjun
Join Date: Jan 2010
Posts: 46
Rep Power: 16
skylent is on a distinguished road
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:
Originally Posted by lunar1984 View Post
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.
lunar1984 likes this.
skylent is offline   Reply With Quote

Old   April 28, 2013, 00:16
Default
  #3
New Member
 
Jason
Join Date: Sep 2011
Posts: 14
Rep Power: 14
lunar1984 is on a distinguished road
Quote:
Originally Posted by skylent View Post
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
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.
lunar1984 is offline   Reply With Quote

Old   April 28, 2013, 00:48
Default
  #4
New Member
 
Jason
Join Date: Sep 2011
Posts: 14
Rep Power: 14
lunar1984 is on a distinguished road
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.
lunar1984 is offline   Reply With Quote

Old   April 28, 2013, 03:10
Default
  #5
Member
 
zheng jianjun
Join Date: Jan 2010
Posts: 46
Rep Power: 16
skylent is on a distinguished road
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 View Post
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
skylent is offline   Reply With Quote

Old   April 28, 2013, 09:58
Default
  #6
New Member
 
Jason
Join Date: Sep 2011
Posts: 14
Rep Power: 14
lunar1984 is on a distinguished road
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:
Originally Posted by skylent View Post
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
-----------------------------------------------------------------
lunar1984 is offline   Reply With Quote

Old   April 29, 2013, 02:29
Default
  #7
Member
 
zheng jianjun
Join Date: Jan 2010
Posts: 46
Rep Power: 16
skylent is on a distinguished road
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.
skylent is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


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