Fluids

Fluids

Topics relate to Fluent, CFX, Turbogrid and more

Export volume fraction

    • ISAR CHARMCHI
      Subscriber

      Hi, I am trying to export the volume fraction from one of my simulation and use the exported volume fraction field i n my next simulation and don't solve it. In which format I have to export it and how can I import it in my next simulation. What I wanted to do was just export the colume fraction in csv file with the location of nodes and import the volume fraction by using csv and UDF. However, I cannot export the volume fraction in csv format. Would you please let me know the approach is right? If yes, how can I export the volume fraction in csv format. 

    • Nilay Pedram
      Subscriber

      Hello,
      Do you want to export the volume fraction in CFD Post or Ensight?
      You can refer to this forum discussion - How to import Phases (volume fraction) data in CFD Post? (ansys.com)
      Hope this helps you. Thanks!

    • ISAR CHARMCHI
      Subscriber

      Hi, I am aware how to export in CFD Post. I want to import it in my next simulation which is more complicated one so I solved my volume fraction in another simulation and want to import the value in another simulation to just fix the field not solving it. Hope I am clear what I want to achieve.

       

    • Rob
      Ansys Employee

      Another thought, if you're wanting to continue the run in the same geometry you can turn off the flow equations. It's a trick for solving tracer calculations: solve the flow, freeze it, then just run species in transient. 

       

    • ISAR CHARMCHI
      Subscriber

      Yes, exactly I want to do the sth like this but in another geometry more complicated one. I want to use my volume fraction in more complicated geometry and freeze the volume fraction and just solve the flow. That's why I want to import my volume fraction from another simpler simulation that has a validated result. I want to know how to export the volume fraction field so that I can import it in another one. 

    • Nilay Pedram
      Subscriber

      Hello,
      You can Write Profile Data on boundary and surfaces (File>Write profile) in one and then Read Profile in other.
       

    • ISAR CHARMCHI
      Subscriber

      yes, but what about the volume? 

       

    • Rob
      Ansys Employee

      Interpolate? The only potential problem is making sure you don't overwrite field data. 

    • ISAR CHARMCHI
      Subscriber

      To be clear I also attached the geometry below. I simulate the free surface in the vial that is rotating seperately and want to import it in the chamber below. I can export the profile in the iso-clip and then import it in the chamber then how can I say from this surface to the wall of the vial set volume fraction of phase 2 equla to one? By using UDF?

    • Rob
      Ansys Employee

      Not so easy. The surface can be taken across, iso-surface in the first model and then "imprint" in the second. But you can't then set the field data. Interpolate should work, but is dependent on the vials being in the same x, y, z position. 

      Since you know the thickness of the liquid film you may find adaption registers to be the best option. Create a register in the vial, patch liquid. Create a smaller register and patch back to gas. Registers only pick up whole cells but would avoid altering the mesh. 

    • ISAR CHARMCHI
      Subscriber

      I transform the mesh to the same locaiton and interpolation is working. Thanks for the guidance:)

    • Rob
      Ansys Employee

      Oops, I always forget to mention that part as it's "obvious" having done it several times.... The file is position & field value so you need to make sure things line up. Profiles are the same. 

Viewing 11 reply threads
  • You must be logged in to reply to this topic.