Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Assistance with Automated Mesh Export

    • ghislain_madiot
      Subscriber

      Hi everyone,

      I am currently working with an existing Ansys Workbench project that utilizes parametric geometry and meshing features.

      My inquiry involves two key issues that I am hoping you can assist me with:

      Mesh File Retrieval Post-Update: After updating the project, I have encountered difficulty locating the mesh file. Typically, it should resides in the ‘SYS\MECH’ directory, but it seems to be absent post-update. Is there a new default location for mesh files, or is there a setting that I need to adjust to direct the mesh files to the specified directory?

      Automation of Mesh Export: While I am able to export the mesh in .msh format manually, my workflow would greatly benefit from automating this process. Could you provide guidance or reference materials on how to script or set up an automated task for exporting the mesh into .msh format?

      Thank you for your time and assistance.

      Ghislain

    • Rob
      Forum Moderator

      The mesh isn't converted to .msh until you either export or connect to a Fluent module, so it's not quite as simple as you may want. What are you trying to do overall? 

    • ghislain_madiot
      Subscriber

      I'm planning to conduct a Design of Experiments (DOE), where for each design point, the following steps are executed:

      • Define the parameters.
      • Update the geometry accordingly.
      • Produce the mesh.
      • Run simulations using Fluent.

      Currently, I specify the parameters using an external source, which involves scripting a journal file that Fluent will execute.

      The challenge I'm facing is in automating the mesh generation process. While I can perform this manually, my goal is to streamline the task. If there's a more straightforward method or another software that simplifies mesh creation (ICEM?), I am willing to consider it. Any advice or alternative solutions that you could suggest would be greatly appreciated.

    • Rob
      Forum Moderator

      Do you need the Fluent output to guide the DoE? There are some tools in Workbench, and once you add Fluent to the workflow (and retain data) you'll have geometry, mesh and results available. Otherwise have a look at Optislang but note it's not in the Student bundle. 

    • ghislain_madiot
      Subscriber

      I am tempted to say no, because I handle post-processing and data extraction externally to Fluent. However, I do utilize the data that Fluent provides. 

       

    • Rob
      Forum Moderator

      What are you using to run all of the Fluent models? Ie batch, Workbench or something else?

    • ghislain_madiot
      Subscriber

      I am running all the model with Fluent in batch mode on HPC, results are saved as .cgns

       

    • Rob
      Forum Moderator

      You can try Geometry > Export and then run everything through Fluent Meshing. Alternatively there may be some scripting options in Workbench. However scripting is beyond what Ansys staff can cover here. 

    • ghislain_madiot
      Subscriber

      Thanks for your guidance.

Viewing 8 reply threads
  • The topic ‘Assistance with Automated Mesh Export’ is closed to new replies.