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

Conditional Expression in CFX Pre

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2012, 02:04
Default Hi Lance
  #81
Senior Member
 
Danial
Join Date: Nov 2011
Posts: 179
Rep Power: 14
Danial Q is on a distinguished road
yes it does, >= can work as greater than or equal to.....what i am confused about is how to define a range if(1725.5[K]<=T<=1726.5[K],

will it work if i do it like u showed above??T<1726.5 and T > 1725.5[K]

is AND allowed in syntax FOR EXPRESSION by cfx.?? or i should use &&

Thanks
Danial Q is offline   Reply With Quote

Old   May 28, 2012, 03:14
Default
  #82
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
You misunderstood. You cannot use expressions like 234 <= T <= 345 as it is not a valid format. I think & or && might work, see the documentation?

Why not use a 1D user function if you only want to assign temperature dependent properties?
Lance is offline   Reply With Quote

Old   May 28, 2012, 03:37
Default HI Lance
  #83
Senior Member
 
Danial
Join Date: Nov 2011
Posts: 179
Rep Power: 14
Danial Q is on a distinguished road
Thanks i got ur point but a bit late and did it. it worked. I din t use 1D interpolation because my problem involves latent heat in it so ,it was not gonna work, itried it earlier.

Thanks again
Danial Q is offline   Reply With Quote

Old   May 28, 2012, 03:49
Default Hi LANCE
  #84
Senior Member
 
Danial
Join Date: Nov 2011
Posts: 179
Rep Power: 14
Danial Q is on a distinguished road
Q# if we have two domains (fluid and solid) and they are interconnected with interface. For heat released by fluid should be necessarily defined as a "SOUrce" by creating subdomain in solid
OR
due to presence of interface, it will be transfered automatically to the solid domain which is at very low temp regrading fluid domain????
Danial Q is offline   Reply With Quote

Reply


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
only 1 of many named selections not showing up in cfx pre mihirbhagat CFX 2 April 26, 2019 04:56
Defining a domain in CFX Pre ashtonJ CFX 1 June 13, 2011 02:34
different CFX Pre and Post mesh region mactech001 CFX 9 April 11, 2010 21:08
Problems with adding two meshes together in CFX Pre peterputer1 CFX 2 September 23, 2009 08:08
CFX Pre - TGrid Vivek Vasudevan CFX 2 March 20, 2007 06:31


All times are GMT -4. The time now is 05:51.