TAGGED: #UDS&UDM, cfd-icfluent, mhd, udf
-
-
September 28, 2023 at 2:00 pmMingli YanSubscriber
Hi everyone,
I’m using the MHD module to simulate the arc behaviour by ANSYS Fluent. Now, I want to define the electric conductivity of a material, which is a variable dependent on the electrical potential and current density, and I attempt to use UDF and expression to define the conductivity. However, the named expression function seems different to the expression of the material property dialogue, as the expression provided in the material property dialogue does not support such lots of variables in the named expression function. Additionally, I don’t know the location of the UDMs which reserve the current density and electrical potential, so I neither can’t use UDF to define the conductivity.
Could you please let me know the method to check the location of the UDMs used by MHD module so I can call them in the UDF to define the conductivity via the macro like C_UDM? Or if the named expression can be used to define the property, it should be easier.
Thanks!
-
October 3, 2023 at 2:29 pmMurari IyengarAnsys Employee
Hi, you can refer 2.3. Model-Specific DEFINE Macros (ansys.com) for UDF macros. You can also refere Appendix B. DEFINE Macro Definitions (ansys.com) for additional macros. You can create it using Named Expressions also. To do this, you can create multiple NE, one for every variable and a last one for conductivity which is dependant on these variables.
-
October 3, 2023 at 4:43 pmMingli YanSubscriber
Thanks a lot for your reply!
However, there is still a problem about how to use NE to define the conductivity. The dialogues of NE and the expression called from property dialogue are shown below. Maybe you can see that the variables available in NE are different to the expression used to define the property. Once I enter some variables in NE that are not supported by the expression in the property dialogue, the NE won’t show in the expression in the property dialogue. Is that because the units of the variables are not defined? If that is true, could you please give me some instructions on how to define the unit of these variables to make them available to define the properties?
-
- The topic ‘Define electrical conductivity issue’ is closed to new replies.
- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Fluent fails with Intel MPI protocol on 2 nodes
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
-
1582
-
602
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.