Fluids

Fluids

How to enable the GPU in computation ANSYS FLUENT

    • Michaelphung
      Subscriber

      Hi all, I'm doing project about using CFD to analysis the wind flow on a high-rise building. 
      I set up the running with a computer configuration (I7 - 9700k, 48Gb ram ddr4, RTX 2070 MSI);  and using ANSYS FLUENT 2019R3 (license from my University).


      I need to ask how can I run parallely my CPU and GPU to optimize my computational time
      That computer desktop configuration was already set up, show, I cannot change any items of them.
      I checked a video here https://www.youtube.com/watch?v=9YH9p2KbRls; but not sure about my GPU was used or did it run with maximum performance.

      Pls help me and I'm pleasure too discuss about wind analysis too. Thank you so much. 
      My email here: phungthietcanh@gmail.com 
      Warm regards, 


    • DrAmine
      Ansys Employee

      Verify by the messages written in the console. The video is quite helpful. You need to care about:


      Homogeneous process distribution


      Homogeneous GPU selection


      Number of processes be an exact multiple of number of GPUs


      That is the supported hardware configuration


      Example: CPU node has 16 cores with 2 GPU's.


      If your run spent more than 70% of the time in AMG then GPU will help: if not you won'T see any profit (LE wall clock time per iteration from parallel statistiscs must be larger than 70% or more)


       

    • Michaelphung
      Subscriber

      Thank you for your rely Amine! 
      I'm not so sure about your last sentence about "time in AMG", so I will put the information about my run here. Pls take a look. 


    • DrAmine
      Ansys Employee
      Run with GPU first and check if LE ckock time per iteration is more than 80% so that GPU usage might bring speedup
    • Michaelphung
      Subscriber

      This one I already enable the GPU for pressure equation - following the instruction in the video! 
      Did you mean WITHOUT GPU? 
      Regards!

    • Michaelphung
      Subscriber

      one more thing, I run this model using LES by SIMPLE scheme;
      I read some discussion on CFD online forum about GPU is deactivated when using SIMPLE.
      is that true?
      Thank you!

    • DrAmine
      Ansys Employee
      Yes without first to check if it's worthy using GPU.
      Yes it does only provide benefits for coupled solver. All this is documented.
    • Michaelphung
      Subscriber

      oh no! with a large number of elements, If I use the coupled solve, it will be over memory and close immediately. 
      Maybe, it will be not expected in GPU anymore 

    • DrAmine
      Ansys Employee
      Yes.
Viewing 8 reply threads
  • You must be logged in to reply to this topic.