I desined 3 eulerian phases(Dodecane(L),Dodecane(G) and Nitrogen).
At the beginning of my simulation there is just Dodecane(L) and Nitrogen.
So how can I define where the inital position of the phases are?
It's a 3dimensional simulation. The inital position just depends in z direction.
So for example:
z<=0.5 --> Nitrogen
z>=0.5 --> Dodecane(L)
Can anybody help me?
thank you very much!
You have to create a scalar field function such as:
($$Centroid < 0.5 ) ? 1 : 0
($$Centroid > 0.5) ? 1 : 0
at the Volume Fraction node, select it to composite and associate these field functions for each phase.
You can also use the $$Position field function instead $$Centroid. Be sure that you mesh has a good quality in this region, and if possible, try to have the cells aligned in the division line.
Thank you very much for your answer!
But for what is the "?" in the equation?
And the  is for the z-axis?
The ? in the equation is the "if" condition, for example (condition) ? true : false.
The axis are x =, y= and z=.
thank's a lot!
a last question:
Does it matter i which order I define the three eulerian phases?
Cause i still get a failure when I define Dodecane(L) and Nitrogen with a field function. The initial condition of Dodecane(G) is 0 and constant...
Thanks, and best regards
The order that you create the phases just define the order you might input the data in some fields, like volume fraction... What is the error that appears?
|All times are GMT -4. The time now is 07:42.|