TAGGED: 3d-geometry, contour-plot, ensight, iso-surface, multiphase-eulerian
-
-
December 25, 2022 at 11:58 am
Waruna Maddumage
SubscriberHi,Â
As shown below I am pouring a liquid onto geometry.
I want to create a contour plot on the surface of the geometry to show the fluid layer thickness at each point. I'm hoping to do this by creating an iso-surface and then measuring the distance between the geometry and the iso-surface. Finally using that data to create a contour.Â
1. Can I do this using the ensight "by constant part sweep" option?Â
2. I used the ensight calculator to create a predefined function called "Dist2part" which gives me just a single value. Can I combine this with "by constant part sweep" to measure the thickness of the oil layer?Â
Much appreciated it If you can point me in the direction here.Â
Thanks,Â
Best regards,
Waruna
-
March 2, 2023 at 7:50 pm
Kevin Colburn
Ansys EmployeeWaruna,
Kevin Colburn here, long time user (and product manager) for EnSight. You are almost on the right track. The creation of the isosurface is the correct first step. Second step, is to Dist2Part() calculator function. This returns a scalar field, not a single number. This calculation requires two parts to be selected. Orgin part, and target part. The target part will receive the new variable (Dist2Part). The origin part is the part to which the minimum distance will be calculated. In your situation, my first inclination would be for the isosurface part to be the target part, and the geometry part as the origin part. You can then color the isosurface with that distance. Now, this is the minimum distance. Imagine a swimming pool, with the isosurface as the water-air interface. Near the vertical walls of the pool, the minimum distance would be very close to zero, which is not really the 'depth' of the pool. If your geometry was ONLY the bottom of the pool, then this method would work as you expect.
Once Dist2Part is calculated, I might suggest a clip of that isosurface, and graph the Dist2Part along that 1D clip, to give you a "profile" (or graph) of the minimum distance for that cross section. You can then interactive move the clip back/forth to understand the variation in the other plane.
I appologize for the delayed response.Â
-
- The topic ‘Create contour plot of the fluid thickness over a geometry’ is closed to new replies.
-
6455
-
1906
-
1457
-
1308
-
1022
© 2026 Copyright ANSYS, Inc. All rights reserved.
