-
-
September 9, 2021 at 7:08 pm
Chananun
SubscriberHi, everyone
I need to write the UDF for my multicomponent diffusivity (Dij) because my mass diffusivity is not only depend on temperature, so I used DEFINE_DIFFUSIVITY(myudf,c,t,i) . My multicomponent includes 4 species My question is:
- How to define the mass diffusivity of Dij ? I used if (i==0) , if(i==1), if(i==2), else to define i index . How about j ? Or do I need to use array to define Dij? For example
diff[0][1]=10e-6;
diff[0][2]=10e-6;
October 27, 2021 at 10:42 pmSurya Deb
Ansys EmployeeHello,
If I understand it correctly, then you can use the macro C_DIFF_L(c,t,i,j) to define the laminar species binary diffusivity.
Regards SD
Viewing 1 reply thread- The topic ‘UDF mass diffusivity for multicomponent Dij’ is closed to new replies.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3427
-
1057
-
1051
-
896
-
892
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.
-

Ansys Assistant

Welcome to Ansys Assistant!
An AI-based virtual assistant for active Ansys Academic Customers. Please login using your university issued email address.

Hey there, you are quite inquisitive! You have hit your hourly question limit. Please retry after '10' minutes. For questions, please reach out to ansyslearn@ansys.com.
RETRY