We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Two-phase separator plane coordinate

    • eh3an
      Subscriber

      Hi


      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

    • Keyur Kanade
      Ansys Employee

      if 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. 

    • eh3an
      Subscriber
      Thank you for your reply. Can you explain more? I need these coordinates in the udf environment
    • Amine Ben Hadj Ali
      Ansys Employee
      Is it a free Surface plane?
    • eh3an
      Subscriber
      No
      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?
    • Amine Ben Hadj Ali
      Ansys Employee
      That means the isosurface of vof =0.5 Yes or no?
    • eh3an
      Subscriber
      Not 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
    • Amine Ben Hadj Ali
      Ansys Employee

      Can 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?

    • eh3an
      Subscriber

      In fact, I need the coordinates of the separator plane for two phases per every cell


      And yes,I want to have that in UDF



      Edit: Removed Fluent Documentation Pictures

    • Amine Ben Hadj Ali
      Ansys Employee

      I 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.

    • eh3an
      Subscriber
      In 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.
    • Amine Ben Hadj Ali
      Ansys Employee
      Check 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.
Viewing 11 reply threads
  • The topic ‘Two-phase separator plane coordinate’ is closed to new replies.