CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Parcel Model Not Compatible with UDF Initial Injection

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2022, 15:17
Default Parcel Model Not Compatible with UDF Initial Injection
  #1
New Member
 
Ohio
Join Date: Jun 2022
Posts: 3
Rep Power: 4
herko is on a distinguished road
Hello everyone,

I am relatively new to CFD modeling and have been working in Fluent on the 2021 R2 version of the ANSYS workbench. I am using a discrete phase model and am having an issue where I have written a UDF and whenever I try to create an injection, Fluent returns the message:
"The Parcel model is not compatible with the udf-injection-init.
The model will be disabled and the standard parcel release method will be applied." I would like to use the constant-mass parcel release method, but as it is now, Fluent will only let me run the standard parcel release method.

I am not sure why my udf is not working, any help with this matter would be greatly appreciated! I have attached the relevant portion of my udf below and specified the settings for the injection as well.

UDF:
DEFINE_DPM_INJECTION_INIT(init_Intelligent,I) /*Init for particles by Intelligent option */
{
Particle *p;

loop(p,I->p)
{
PP_USER_REAL(p, 0) = 0.;
PP_USER_REAL(p, 1) = PP_MASS(p) * (p->number_in_parcel);

PP_USER_REAL(p, 2) = 10.0; /* Intelligent option */

PP_POS(p)[2] = 0.1; /* for check */
}
}

Injection Information:
X-pos(m):-2.538
Y-pos(m):0.84
Z-pos(m):3.6576
X-vel(m/s):11.0475
Y-Vel(m/s):-3.6024
Z-vel(m/s):0.89408
Diameter(m):0.0001092
Temperature(K): 283.15
Flow Rate(kg/s):0.0021373
Start Time(s):0
Stop Time(s):4.0909
Drag Law: dynamic drag
Breakup: breakup enabled, TAB model used with y0=0, breakup parcels=2
Injection type: single
Particle type: droplet
Material: water-liquid
Evaporating species: h2o
Stochastic tracking: Discrete random walk model and random eddy lifetime enabled, number of tries = 1, Time-scale constant = 0.15
Parcel release method: constant mass
Parcel mass: 1*10^-6
UDF Initialization: init_intelligent::UDF_UM
herko is offline   Reply With Quote

Reply

Tags
constant mass, dpm, fluent, parcel model, udf


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suppress twoPhaseEulerFoam energy AlmostSurelyRob OpenFOAM Running, Solving & CFD 33 September 25, 2018 18:45
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 03:20
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 14:12
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 06:24


All times are GMT -4. The time now is 15:20.