CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   CEL For if condition (https://www.cfd-online.com/Forums/cfx/165034-cel-if-condition.html)

gbrajtm January 8, 2016 01:04

CEL For if condition
 
1 Attachment(s)
The fluid is magnetic depended and it should be specified separately.
another case is the non Newtonian is separated by Newtonian.

I am using if(inside@piston == 1,a, 0.11 [kg m^-1 s^-1]) condition to differentiate Newtonian and non Newtonian region in material properties.
I wanted to add another region to this if condition, could help me how to

ghorrocks January 10, 2016 01:25

Then you just add more if statements, of course.

But this method only works for very simple cases. You might want to consider the more general case where you model the magnetic field (at least its intensity) and make the material properties a function of the field.


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