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

Defining new Variable in Fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2017, 10:28
Default Defining new Variable in Fluent
  #1
Member
 
sebastian bergman
Join Date: Mar 2017
Location: seattle
Posts: 52
Rep Power: 9
Tushar_Telmasre is on a distinguished road
Hi all,

I am solving solidification problem in binary systems. I am solving continuity, momentum, energy and species equation.

At the end of calculation, I intend to plot contours of new variable C_mix which is defined as

C_mix={f_l*C_l+integration(C_s*df_s)from limits (0 to f_s)}

where,
f_l=Liquid Fraction
C_l=fraction of solute in liquid
C_s=fraction of solute in liquid
k= partition coefficient
also,
C_s=k*C_l
f_s=1-f_l

Can anyone tell where I can define the new variable? I am prepared to write a UDF, But where to plug that UDF to get desired contours?

Thanking in anticipation.
Tushar_Telmasre is offline   Reply With Quote

Reply

Tags
solidification/melting, variable definition


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
few quesions on ANSYS ICEMCFD and FLUENT Prakash.Paudel ANSYS 0 August 12, 2010 13:07
Tecplot Variable Names For Fluent Data Files Simon FLUENT 0 September 22, 2005 11:44
Error on defining grid interfaces at FLUENT Ridwan FLUENT 1 July 27, 2005 06:41
Defining and assigning a variable to a cell Robi FLUENT 0 July 13, 2005 19:27
Advanced Turbulence Modeling in Fluent, Realizable k-epsilon Model Jonas Larsson FLUENT 5 March 13, 2000 04:27


All times are GMT -4. The time now is 13:27.