TAGGED: fluent, hydrostatics, moving-deforming-mesh, udf
-
-
March 25, 2024 at 7:06 am
shravan.bharadwaj7
SubscriberHello,
         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");
  }Â
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 ?Â
-
March 25, 2024 at 10:25 am
Dato
SubscriberHello,
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.
-
March 25, 2024 at 10:34 am
shravan.bharadwaj7
SubscriberDownload 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.
-
March 25, 2024 at 10:58 am
Rob
Forum ModeratorOr use the built in compiler - we finally added CLANG compiler into the Fluent solver.Â
-
- The topic ‘Fluent – UDF – force solid body & fluid zone compress – Hydrostatic Bearings’ is closed to new replies.
-
3155
-
1013
-
956
-
858
-
797
© 2025 Copyright ANSYS, Inc. All rights reserved.