TAGGED: udf
-
-
December 5, 2024 at 8:51 amhimanshujoshiSubscriber
Is there any built-in function that can be used to get minimum distance between two walls in a UDF.Â
-
December 5, 2024 at 11:24 amRobForum Moderator
There aren't, and it's non trivial to code up with UDFs. You may be able to repurpose the contact detection functions in the moving mesh section of the UDF manual, but they may not trigger until near contact.Â
-
December 5, 2024 at 11:49 amhimanshujoshiSubscriber
Thanks Rob for your comments. I am actually trying to build a contact detection model itself, as the in-built contact detection model has issues with density based explicit solver when used with explicit time integration scheme.Â
any leads to calculate minimum distance between the moving surfaces would help me get a step closer. Â
-
December 5, 2024 at 2:05 pmRobForum Moderator
I can only point you to the documentation for the coding element. Given PBCS is good for Mach 2-3 I don't know if you really need density based. The other option is not to look for wall separation but instead look at position: ie if the ground is at x=0 make sure the object can't get below x=0.5 for example.Â
-
- You must be logged in to reply to this topic.
- 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
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script Error
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
- Running ANSYS Fluent on a HPC Cluster
- Point exception in erosion calculation
-
1882
-
802
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.