TAGGED: cfd-udf-fleunt
-
-
November 6, 2025 at 9:53 am
manish.pd
SubscriberHi,Â
Please share the syntax used in UDF for the granular temperature. I am simulating the blood flow through veins using Euler-Euler approach. For the RCB flow, I am using granular temperature model with PDE option. For writing UDFs to define static pressure and bulk viscosity, I need to call the granular temperature. I have tried many syntax suggestions provided by chatbots. None of these is working. Please share the actual syntax for granular temperature. The syntaxes I have already tried are:Â
- SV_GRANULAR_TEMPERATURE
- SV_GT
- SV_GRAN_TEMP
- SV_GRANULAR_TEMPERATURE_P
- SV_GRANULAR_TEMP_AP
Thank youÂ
-
November 6, 2025 at 4:41 pm
khalidbinwaleed97
Subscriber#include "udf.h"
DEFINE_PROFILE(static_pressure_profile, thread, position)
{
  face_t f;
  real granular_temp;
  Â
  begin_f_loop(f, thread)
  {
    granular_temp = C_GRANULAR_TEMPERATURE(f, thread);
    Â
    /* Your calculations using granular_temp */
    F_PROFILE(f, thread, position) = /* your expression */;
  }
  end_f_loop(f, thread)
}
-
- You must be logged in to reply to this topic.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Issue to compile a UDF in ANSYS Fluent
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
4177
-
1487
-
1363
-
1194
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.