-
-
February 2, 2020 at 1:11 am
aminhgn
SubscriberHello,
Â
I am trying to use UDF to define my properties. The problem is 2 phase flow (Liquid Desiccant-humid air). Since both flows are the mixture, I want to use define properties for the liquid desiccant flow but by define_properties loops over all cells. I want to loop over only liquid desiccant solution. for example for calling species which C_YI (c,t,0), I want to apply on liquid desiccant phase.
Â
Thank you,
Amin
-
February 3, 2020 at 10:04 am
Amine Ben Hadj Ali
Ansys EmployeeYou require the proper cell thread phase corresponding to the phase containing the component you want to specify. Check the customization manual for more info.
-
February 6, 2020 at 7:36 am
aminhgn
SubscriberThank you for your kindly reply. My problem has been solved. I only have one more problem, I want to use DEFINE_SPECIFIC_HEAT to define my cp based on concentration and temperature. this function is :
DEFINE_SPECIFIC_HEAT(Â name, T, Tref, h, yi)
which i can use T instead of C_T function but what about C_YI which is concentration? How can I get my concentration in my function?
Â
Regards,
Amin
-
February 6, 2020 at 12:19 pm
Amine Ben Hadj Ali
Ansys Employeethe mass fraction are contained in the pointer array yi passed to the macro.
-
- The topic ‘Multiphase flow properties’ is closed to new replies.
-
2918
-
970
-
852
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.