TAGGED: #fluent-#ansys, udf
-
-
September 14, 2024 at 4:30 pm194106015Subscriber
Below is the UDF i am using. I am getting same heat flux at al the faces but which is not the case. Pls help in this regard
#include "udf.h"
DEFINE_PROFILE(mass_flux_AP, t, i)
{
  face_t f;
  real NV_VEC(farea);
  real mflux_ap;
  real area_ap;
  real heat_ap;
  real heat_flux_ap;  begin_f_loop(f, t)
  {
    F_AREA(farea, f, t);       Â
    area_ap = NV_MAG(farea);       Â
    heat_ap = BOUNDARY_HEAT_FLUX(f, t);  Â
    heat_flux_ap= fabs(heat_ap /area_ap);
    Message(" heat_flux_ap=  %g \n", heat_flux_ap);   if ( heat_flux_ap >= 12100000) Â
   {
    mflux_ap = (heat_flux_ap * 0.0000004082) + 0.4538;
    }
   elseÂ
    {
    mflux_ap = 5.39302;
    }
   Â    F_PROFILE(f, t, i) = mflux_ap;    Â
  }
  end_f_loop(f, t)
} -
September 16, 2024 at 1:08 pmRobForum Moderator
OK, so mass flux is a function of heat flux. How are you setting the heat flux on a massflow boundary?
-
- You must be logged in to reply to this topic.
- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script Error
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
- Running ANSYS Fluent on a HPC Cluster
- Point exception in erosion calculation
-
1882
-
802
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.