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 you approach this?
- Convective Augmentation Factor in DEFINE_HEAT_FLUX
- Conservation issue with a UDS solution
- Non-Premixed Combustion PDF generation with 4th-order interpolation
- Where is the Electrolyte Projected Area in the Reports tab of PEMFC Model?
- ANSYS fluent – Rocky DEM coupling
- Solar load , Mesh Orientation and Beam direction
-
461
-
220
-
194
-
177
-
162
© 2024 Copyright ANSYS, Inc. All rights reserved.