Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Fluent – UDF – force solid body & fluid zone compress – Hydrostatic Bearings

    • Shravan Bharadwaj
      Subscriber

      Hello,

                I am trying to simulate the hydrostatic bearings. I want to apply force on bearing. This force should compress the fluid zone ( Deforming Mesh ). When pressurised fluid enters the bearing, the gap should change and balance the force acting. I ultimately want to see how much the bearing gap changes and the time response.

      I have used the following UDF :

          #include "udf.h"

          DEFINE_SDOF_PROPERTIES(stage, prop, dt, time, dtime)
         {
               prop[SDOF_LOAD_F_Y] = -750;

              printf ("\nstage: updated 6DOF properties");
         }

      Problem Description

       

      I tried to give deforming mesh to the two fluid gaps. I attached the UDF to the Bearing. But the mesh is not moving . How to make the mesh deform ? 

    • Dato
      Subscriber

      Hello,

      Sorry that I'm not providing help. I'm a beginner to use udf. I want to ask that how do you compile the c source into Fluent? Using built in compiler or others? My udf cannot compile and load recently but it can work before. Thanks you sir.

    • Shravan Bharadwaj
      Subscriber

      Download Visual Studio Community - any version and install it. Fluent need a C/C++ compiler to compile UDF. After installing try loading the UDF in fluent.

    • Rob
      Forum Moderator

      Or use the built in compiler - we finally added CLANG compiler into the Fluent solver. 

Viewing 3 reply threads
  • The topic ‘Fluent – UDF – force solid body & fluid zone compress – Hydrostatic Bearings’ is closed to new replies.