Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Creating Custom Data Files for Importing Initial Solutions

    • colombe.richard
      Subscriber

      Hi everyone,

      I'm using ANSYS 2022 R2, and I know it's possible to import a data file in Fluentin from a previous calculation as an initial solution for a simulation. However, I would like to know if it's possible to manually create my own data files to import as an initial solution instead. Can anyone confirm if this is possible? If so, what format or structure should the data file follow, and are there any specific guidelines for writing such a file?

      Thank you for your help!

    • Rob
      Forum Moderator

      You can, and I'd use an interpolation file for this. As the files can be written out in the non-binary (human readable) format I'd start with a simple model. 

      • colombe.richard
        Subscriber

        Thank you so much for your answer ! I tried creating interpolation files and understanding how they work, it does seem like this is what I need. But i have and issue when reading an interpolation file : 

        "

        Reading IP data ...

        x-coord

        y-coord

        pressure

        epsilon

        k

        x-velocity

        y-velocity

        Done.

        Initializing values...

        Done.

        "
        The whole point is to import data and start the calculation from them however it seems Fluent wants to initialize ... If someone had a solution for me it would be awesome !

    • Rob
      Forum Moderator

      Initialise first and then read the file, this also protects against missing data fields in your input (eg there's no energy data).  Also check if the solver really is initialising (eg hybrid or standard method) or if it's just using the initalising term when it's interpolating the data onto the mesh. 

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