April 7, 2020 at 6:41 pmzeesheSubscriberI, Muhammad Zeeshan, is working on Water Spray System and its application in Urban Physics. I have finalized the UDF (Attached) in light of FLUENT Guideline for dpm mass exchange source as given in figure
Kindly go through it and highlight the necessary emendations if any.
Actually I have been stuck at this point. Plz help me. Kindly send some reference DPM Source and scaler UDF. My udf as per The fluent manual referred UDF is not working.
Waiting for your kind response
April 7, 2020 at 6:42 pmzeesheSubscriber
#define P_RHO(p) 998;
#define rhoa 1.125;
#define CP_AIR 100643;
#define MU_AIR .000017894;
#define pi 3.1416;
#define alpham .3; //*As defined during dpm setup*/
#define K_AIR .0242;
#define P=101325; //P=local absolute pressure as defined in material property;
#define mp_dot=.021 ;//as defined in injection parameter
DEFINE_DPM_SOURCE(dpm_source,c,t,S,strength,p) //function type incompatible with previous definition (function returning void instead of float)
real mp0= P_INIT_MASS(p);
real mp = P_MASS(p);
/* get Cell and thread from particle structure*/
//cell_t c = P_CELL(p);
//Thread *t = P_CELL_THREAD(p);
//real D = DPM_BINARY_DIFFUSIVITY(p,m,t); /* diffusion coefficient */
real P_DIAM(p) = pow(6.0 * P_MASS(p) / (P_RHO(p) * M_PI), 1./3.); //* real Dp = DPM_DIAM_FROM_VOL(mp / P_RHO(p)); /* particle diameter */
mp0 = (pi/6)*P_RHO(p)*pow(dmean, 3.0);
mp = (pi/6)*P_RHO(p)*pow(P_DIAM(p), 3.0);
Delmp = mp*alpham;
S->mass = delmp*mp_dot0/mp0;
April 8, 2020 at 5:24 amDrAmineAnsys Employeethere is an example in the customization manual.
April 8, 2020 at 5:25 amDrAmineAnsys EmployeeTo change the mass without any interaction you should not change NY source.
April 8, 2020 at 3:39 pmzeesheSubscriber
I am considering TWO WAY COUPLING between continuous and discrete phase for which the following are the exchange sources:
I just wanted to confirm whether these coupling sources have to be implemented via UDF or these first have to be calculated from ANSYS Simulation and then applied these sources values in next iteration/simulation.
Waiting for your kind response.
April 8, 2020 at 5:08 pmDrAmineAnsys EmployeeI meant mass and latent heat transfer with the continuous phase. Dpm source udf is meant for that.
April 8, 2020 at 6:02 pmzeesheSubscriber
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2022 Copyright ANSYS, Inc. All rights reserved.