CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Gradient of species mass fraction

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

Like Tree1Likes
  • 1 Post By aliemadi

Reply
 
LinkBack Thread Tools Display Modes
Old   August 10, 2011, 06:39
Default Gradient of species mass fraction
  #1
deo
New Member
 
deo
Join Date: Aug 2011
Posts: 2
Rep Power: 0
deo is on a distinguished road
hi guys,

I am solving a combustion problem involving ch4 (2 step model), and need the gradient of the species mass fraction for postprocessing. A simple UDF is used to extract the date with the following macro: C_YI_G(c,t,i). However, FLUENT compiles the UDF only for i = 0. When i is 1, 2, 3, or 4, the UDF does not compile. I get an error message instead. Any suggestions on how to solve this problem?
deo is offline   Reply With Quote

Old   November 21, 2012, 18:26
Default
  #2
New Member
 
Ali Emadi
Join Date: Jan 2011
Posts: 18
Rep Power: 6
aliemadi is on a distinguished road
for 2step CH4 reaction you have 6 species. so for i=0-4 you can access to C_YI_G. for i=5 which refer to N2 you cant access to its gradient because its mass fraction calculated by algebraic equation not transport equation.

type in the console the following commands:
solve>set>expert
reply yes to question keep memory from being freed?
define>models>species
reply yes to question save-gardients?
czhao86 likes this.
aliemadi is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
mass fraction of species Lilly FLUENT 3 July 25, 2011 05:00
UDF for Species Mass Fraction Gradient *IN SPECIFIC ZONE * -- e.g. along axis of sym. ksiegs2 Fluent UDF and Scheme Programming 0 February 27, 2011 13:55
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14
gradient of species mass fraction zhou FLUENT 0 March 3, 2004 23:55


All times are GMT -4. The time now is 09:30.