CFD Online URL
[Sponsors]
Home > Forums > CFX

Conditional Expression in CFX Pre

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 28, 2012, 03:04
Default Hi Lance
  #81
Senior Member
 
Danial
Join Date: Nov 2011
Posts: 179
Rep Power: 5
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, 04:14
Default
  #82
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 480
Rep Power: 10
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, 04:37
Default HI Lance
  #83
Senior Member
 
Danial
Join Date: Nov 2011
Posts: 179
Rep Power: 5
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, 04:49
Default Hi LANCE
  #84
Senior Member
 
Danial
Join Date: Nov 2011
Posts: 179
Rep Power: 5
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

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


All times are GMT -4. The time now is 11:52.