-
-
April 15, 2019 at 10:06 pm
eh3an
SubscriberHi
In a two-phase problem, I need an approximate coordinate (Normal vector, etc) of the separating plane of two phases per cell. To solve this problem, a multiphase VOF model has been used.
Is there any macro in the UDF environment to get the coordinates of the plane, or should the coordinates of this plane be estimated using the VOF gradient?
Â
Thanks & Regards,
Ehsan
-
April 16, 2019 at 4:35 am
Keyur Kanade
Ansys Employeeif you want coordinate, create isosurface with vof.Â
then you can export ascii file with file - export - solution data. it will write node and xyz coordinate.Â
-
April 16, 2019 at 9:58 am
eh3an
SubscriberThank you for your reply. Can you explain more? I need these coordinates in the udf environment -
April 16, 2019 at 9:59 am
Amine Ben Hadj Ali
Ansys EmployeeIs it a free Surface plane? -
April 16, 2019 at 10:14 am
eh3an
SubscriberNo
It is bubble rising problem.
I need the coordinates of the planes that separate the bubble from the liquid. There is a method for this purpose, which can be used to determine the coordinates of this plane based on the vof gradient.
Now, my question is, is there a udf that gives the coordinates of these planes without computing? -
April 16, 2019 at 10:54 am
Amine Ben Hadj Ali
Ansys EmployeeThat means the isosurface of vof =0.5 Yes or no? -
April 16, 2019 at 11:04 am
eh3an
SubscriberNot so. In all cells with vof between zero and one coordinates of this plane should be obtained
See this pic plz:
https://upload.wikimedia.org/wikipedia/commons/thumb/2/2a/Vof_scheme.png/220px-Vof_scheme.png -
April 16, 2019 at 11:41 am
Amine Ben Hadj Ali
Ansys EmployeeCan you just insert instead of attaching the picture?
Do you mean you have a plane and from that plane you would like to now the coordinates of cells/faces where vof between zero and one? And you want to have that in UDF and not via export as already mentioned by my colleague?
-
April 16, 2019 at 11:58 am
-
April 16, 2019 at 12:42 pm
Amine Ben Hadj Ali
Ansys EmployeeI still do not understand the difference between separator plane and free-surface. The pictures you are inserting are from Fluent documentation that is why I will remove them. If you want to export the coordinates of the cells lying between 0 and 1 for VOF just make a cell loop, make an if statement and do whatever you like.
-
April 16, 2019 at 3:08 pm
eh3an
SubscriberIn cells with vof between 0 ?and 1 we got liquid and gas, there is a plane( sth like wall) that seperats liquid and gas in that cell (like PLIC approach in fluent), Whats the procedure in udf of Fluent to calculate the coordinate of that seprating plane. -
April 17, 2019 at 4:26 am
Amine Ben Hadj Ali
Ansys EmployeeCheck if with the help with the gradient you can get the cells coordinates near the plane. Other approaches can not be explained in this community.
-
- The topic ‘Two-phase separator plane coordinate’ is closed to new replies.
-
3236
-
1031
-
968
-
859
-
798
© 2025 Copyright ANSYS, Inc. All rights reserved.