TAGGED: fluent
-
-
June 14, 2021 at 1:29 pm
basbas34
SubscriberHi,
I'm trying to model changing density of a particle during its residence inside the dryer. I tried to make a udf for chaning density, but ended up with a changing density of my inlet of particles (see UDF below). I'm using a DPM model with a viscous rng k-e model. I was wondering if someone could give me clue how to change my code to specify it to the particle during residence instead to the inlet?
#include "udf.h"
DEFINE DPM SCALAR UPDATE(name,c,t,initialize,p)
{
real rho;
real flow_time = RP_Get_Real("flow-time");
if (flow_time < 12)
rho = rho = 42.87*exp(-1.525*flow_time)+486.2*exp(-0.2367*flow_time);Â
else
rho = 42.87*exp(-1.525*12)+486.2*exp(-0.2367*12);
return (rho);
}
June 14, 2021 at 1:35 pmRob
Forum ModeratorYou're linking the density to the solver time, you need to look for the residence time. Try using TP_TIME(tp) https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v211/en/flu_udf/flu_udf_sec_define_dpm_scalar_update.html instead. I've not checked the macro so feed back if it works (or not).
June 14, 2021 at 1:55 pmbasbas34
Subscriberi tried to open the link but can't due to student licensing
June 14, 2021 at 3:18 pmViewing 3 reply threads- The topic ‘UDF for a spray dryer’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- 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
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- I am doing a corona simulation. But particles are not spreading.
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
Top Contributors-
3907
-
1414
-
1256
-
1118
-
1015
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-