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.

PyFluent to calculate pressure drop

    • Merel Meulendijks
      Subscriber

      Hi Guys,

      I have a question. I installed PyFluent (for python). My goal is to run a simulation in order to create a plot of the pressure as a function of z in this geometry using PyFluent:

      The mesh is created as follows (note that I also want to do this in PyFluent instead of in the Ansys workbench), using an inflation mesh (total thickness, 0.6 mm):

      For the simulation, the boundary conditions are as follows:

      the model settings are viscous laminar and steady state. the velocity at the inlet is 0.25 m/s. the pressure at the outlet is 0. The fluid must be blood instead of air with a density of 1060 kg/m^3 and a viscosity of 4e-3. I want to run the simulation for 200 iterations. As already said, the output must be a chart of the pressure as a function of the z-coordinate.

       

      Is there someone who can help me do this? Your help is really appreciated. 

       

       

    • Rob
      Forum Moderator

      Start here   https://www.ansys.com/blog/open-source-access-to-fluent-with-pyfluent  There's a link to a webinar and documentation at the bottom of the page. 

Viewing 1 reply thread
  • The topic ‘PyFluent to calculate pressure drop’ is closed to new replies.
[bingo_chatbox]