-
-
September 9, 2021 at 7:08 pmChananunSubscriber
Hi, 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 DebAnsys 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 discussions- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
Top Contributors-
1236
-
543
-
523
-
225
-
209
Top Rated Tags© 2024 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.
-