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

Defining expressions

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Micael

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 14, 2020, 16:26
Question Defining expressions
  #1
New Member
 
Simar Sethi
Join Date: Jun 2020
Posts: 5
Rep Power: 6
alpha2rock is on a distinguished road
I am working on a precipitation problem, and for that I need to define an expression:
f=sqrt(C1*C2)-sqrt(Ksp)

where C1 and C2 are molar concentrations for 2 species.

How can I define f?

Also, Ksp is a constant that I need to define with units i.e.
Ksp=1.1*10^-11[kmol^2/m^-6]

How can I define Ksp?

Do I need to use UDF or is it possible using fluent alone?
Also I need to use this expression (f) in a UDF.
So, how to go about it?
alpha2rock is offline   Reply With Quote

 

Tags
constant, expressions, parameters, udf, units


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
CFX Command Language to Modify Expressions cfd seeker CFX 5 February 6, 2019 16:23
[cfMesh] Regular expressions in cfMesh rama13 OpenFOAM Community Contributions 6 June 7, 2015 17:01
Grouping expressions in CEL foo7 CFX 4 September 21, 2011 09:15
defining new expressions iperten CFX 4 April 6, 2009 05:36
Cel expressions for trasient problem Jervds CFX 0 March 4, 2008 10:03


All times are GMT -4. The time now is 03:33.