|
[Sponsors] |
January 8, 2016, 02:04 |
CEL For if condition
|
#1 |
Member
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 78
Rep Power: 12 |
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 |
|
January 10, 2016, 02:25 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The difference of cyclic boundry condition and mapped boundary condition | caitao | OpenFOAM Running, Solving & CFD | 1 | December 4, 2019 08:29 |
Accessing multiple boundary patches from a custom boundary condition file | ripudaman | OpenFOAM Programming & Development | 0 | October 22, 2014 19:34 |
what "If" condition means in rebound | brbbhatti | OpenFOAM Programming & Development | 0 | August 12, 2014 10:18 |
Internal flow operating condition? | kookguy | FLUENT | 2 | June 26, 2014 01:15 |
The Boundary Condition about the Flat Plate | boing | Main CFD Forum | 1 | January 6, 2002 17:53 |