Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Parameter model in Fluent and Workbench

    • ALEXANDRE COSTA
      Subscriber

       Hi All,


      I am trying to adapt  a fluent model parameter example from fluent and workbench 14.5. It is not working


      for workbench 18.0 and 19.0.


      Hopefully some ANSYS expert staff can solve my issue.


      Let me describe:


      1)The task is to set the parametric study involving different set of pre-defined fluid
      materials. It uses a customized input parameter in Fluent.


      2)It uses a prepared Fluent case. The case was set
      with seven different materials representing air (air1,air2, … , air7) and every air
      material is utilising a different density model available in the Fluent solver.


      3) The simulation is being performed for a
      number of different cases in Workbench(every case will utilise different density formulation)


      I will describe my steps next and attach the pictures, .cas and .scm files :


      i) Started a new workbench session
      • Saved the project as: ‘CIP-Material’
      • Located the ‘user_files’ folder
      associated with this project and
      copy the .cas and the .scm file

      II) Dragged a Fluent component system
      onto the project schematics
      • Right-clicked on ‘Setup’, and selected
      ‘Register Startup Scheme File’, and
      Browsed
      • Browsed to and select the file
      “CUI-Material.scm” located in
      project’s ‘user_file’ folder

      iii) Right-clicked on ‘Setup’, and selected
      ‘Import Fluent Case’, and Browsed
      • Browsed to and select the file
      .cas file located in
      project’s ‘user_file’ folder
      • In the Fluent Launcher panel selected
      ‘Double Precision’ option and pressed
      ‘OK

      iV) In Fluent Text User Interface (TUI) typed the following
      command: (material 1)
      Verification of startup scheme was ok

      v) Defined input and output parameter as in the following images

      vi) Close Fluent
      • Save the workbench
      session
      • Right-click on ‘Solution’,
      and select ‘Update’

    • ALEXANDRE COSTA
      Subscriber

    • ALEXANDRE COSTA
      Subscriber

      I also uploaded the recorded steps in mp4

    • Rob
      Forum Moderator

      You've only got one design point in the list, and the P1 is greyed out. I'm not sure you can change a material property as a parameter: you may need to use a different approach. Happy to be corrected if you can show the reference! 

    • ALEXANDRE COSTA
      Subscriber

      Hi


      Thanks for the output. The reference is for version 14.5 (please see the first image, most of the images are also from the reference). It used a “create-custom-input-parameter” at the TUI (not available in the new versions, so I adapted that step .It is working for just one design point each time(with fluent window opened)  but not for a whole table of design points(fluent window closed). Clearly, the problem is in the comunication between fluent and workbench, but i am missing something. Very happy, if an expert help to find the solution.

    • Rob
      Forum Moderator

      Check the Fluent User's Guide under Boundary Conditions: it's there but you may need to alter the commands. 

    • ALEXANDRE COSTA
      Subscriber

      Do you mean 7.1.8.2.1. Defining Scheme Procedures With Input Parameters ?


      I am afraid the scheme is  loading properly. The issue resides somewhere. I am still trying.

    • Rob
      Forum Moderator

      Yes,   7.1.8. Defining and Viewing Parameters.  Check the labels and avoid using "-" or spaces in the names & path. Scheme can be a bit awkward like that. 

    • ALEXANDRE COSTA
      Subscriber

      Hi All


      Working fine in workbench 14.5. Unfortunatelly Frozen in 19.0.


    • DrAmine
      Ansys Employee
      What about using parameters for the material properties? Just an idea...

      Anyway can you disable solution monitoring and try again. Check the trn files to have better idea about what is happening. Also test with an actual release.
    • DrAmine
      Ansys Employee

      I made an example and it is working with R2. Here for my tests I am just doing 2 iterations and 3 DP's.


       

    • ALEXANDRE COSTA
      Subscriber

      Hi


      can you share the wbpz file?

    • DrAmine
      Ansys Employee
      I uses R2. And i am Not allowed to share here. What is your University mail address.?
    • DrAmine
      Ansys Employee
      Actually I tested your case and just gave w iterations. Can you check on your side first. Can you then switch off monitoring?
    • ALEXANDRE COSTA
      Subscriber

      Hi Amine and others


      Looking forward any helpful clues


      thxs a lot

    • DrAmine
      Ansys Employee
      Again I tested almost same case you attached in r2 with two iterations and it worked . Proceed with the suggestions I passed and let us know
    • ALEXANDRE COSTA
      Subscriber

      Can you share at least a picture of your files window inside workbench?

    • ALEXANDRE COSTA
      Subscriber

      Please share some picture of your screen showing what you did diferentlly. I am completely lost -(

    • DrAmine
      Ansys Employee
      I am using same macro and just iterated two iterations. Again cgeck wuth R2, disable solution monitoring and if it is not working let us know.
Viewing 18 reply threads
  • The topic ‘Parameter model in Fluent and Workbench’ is closed to new replies.
[bingo_chatbox]