CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ANSYS Meshing & Geometry (
-   -   [ICEM] cut plane visualization (

Will Anderson December 12, 2010 13:59

cut plane visualization
Can ICEM simply show the tetrahedral lines of the mesh on a cut plane without
cells from the back of the cutplane,
coloring by quality

Just the lines would be grand. No colors. No shading.

Rather than this:

can it produce this type of view?

siw December 12, 2010 16:17

You could try the WireFrame Simple Display drop down menu which is the icon below the Undo icon.

Will Anderson December 12, 2010 17:20

Almost! Thanks! I still see the interior and the mesh on the back side.

I acknowledge that I mentioned Tets in the original post, but in actuality it applies to any 3d mesh. There is the choice of two types of mesh display more or less:
solid: (solid/wireframe)
which is nice because there are no visible interior or backside cells, but there's the (in my case undesirable) shading and the lighting.
The wireframe views look like these (with and without volume meshes):
which is nice because of the absence of lighting and shading effects, but the interior and anterior cells are visible.
Can I turn off lighting, even if only for pictures which I save? Or can ICEM display wireframes of only the cells in the foreground?

I'm flexible, actually. The display could remain the same, no problemo, if the postscript output would only show wireframes of the visible cells and no shading/shadows etc.
Any tips? Solutions which include modifying the postscript with a text editor are also very welcome.

galap December 13, 2010 10:43

1 Attachment(s)
I didn't get it in ICEM, but in CFX Pre you have more control over the view. One Example attached

siw December 14, 2010 07:47

1 Attachment(s)
How about:

i) Change the element colour to white in the PARTS (I only used 1 PART).
ii) Go to Settings/Lighting and set ambient = 1, diffuse = 1, specular = 0 and shininess = 1
iii) I also set the background colour to be white with no gradient and got rid of the ANSYS logo using the Settings/Background Style.

The image shows these steps for the cube with a cylinder cut-out and an auto sized Octree mesh. This is all I can think of.

Will Anderson December 15, 2010 03:50

Thanks alot, works for me too.
Now I only need to get the postscript output to look like that!
"Mono" renders the entire domain as black, and
"Greyscale" causes ICEM to crash (while saving the picture).
But the lighting settings are already a great step forward.

PSYMN December 20, 2010 21:00

Hidden Line
2 Attachment(s)
You should try "Hidden Line" (right click on shells on the display tree).

The colors are still there, but only in a helpful way...

Attachment 5821

Attachment 5822

You can also hit F8 or F7 to adjust the Z-buffer (try it to see what it does).

In ICEM CFD, it is only a good idea to show Solids if you are doing so on purpose, and usually you would use a cutplane...

Will Anderson December 26, 2010 06:03

Thank you Simon.

Does the postscript output respect the "hidden line" setting?

My evidence suggests that it does not, that it shows grid lines behind the exposed plane. The first image shows the grid with cut plane with hidden-line setting, the second image shows the resulting postscript output viewed in ghostscript.

PSYMN January 8, 2011 16:55

Works for me...
1 Attachment(s)

When I try it, it works for me. Here is an image of a cutplane with Hidden line turned on.
Attachment 6014

I wonder if it is a platform thing? Or a graphics card thing? Be more specific about your setup and I will try to match the test.

However, I almost never use this option. I usually use mwsnap to take my images. It is a free tool that runs outside of ICEM CFD... I use it to snap images of other software, the whole screen, part of the screen, whatever.

There is a newer version of mwsnap that I didn't like much. See if you can find an older version MWSnap

PSYMN January 8, 2011 16:59

Oh, maybe it is because you used postscript? I don't use that. I just tried it but didn't have anything to read it... Try JPG or one of the other more common formats.

Will Anderson January 9, 2011 13:25

Postscript output needed...
Hi Simon,
Thanks for your insight.
I run ICEM CFD on Windows 7 on my Macbook Air.
I use postscript as I want vector graphics rather than raster. And I want to include the graphics into LaTeX documents rather than Word or OpenOffice. Therefore, screenshots or jpgs are unsuitable for my needs.

PS: Ghostview is free software for rendering Postscripts:

PSYMN January 10, 2011 12:52

Uncharted territory
Sorry, we just don't support Macs at all and never test in this configuration... You are in uncharted territory, at least not charted by us, but maybe someone else can comment...

Hoyskipoyski August 26, 2015 14:20

The Z-Buffer worked for me! Thanks for the hint, PSYMN!
I used the solid&wire visibilty and reduced the Z-Buffer until I was convinced by the result the postscript (ps or eps) result. Now i can finally add some nice mesh slices to my LateX file.

All times are GMT -4. The time now is 18:25.