-
-
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.
Innovation SpaceTrending discussionsTop Contributors-
5964
-
1906
-
1420
-
1307
-
1021
Top Rated Tags© 2026 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 will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.