CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (http://www.cfd-online.com/Forums/ansys-meshing/)
-   -   Surface Display Options in ICEM (http://www.cfd-online.com/Forums/ansys-meshing/80689-surface-display-options-icem.html)

Will Anderson October 4, 2010 06:34

Surface Display Options in ICEM
 
In this case, a 2D planar mesh should be displayed without displaying the surface hatchings.
How can the default hatching in the surface display be suppressed?
This hatching also gets displayed on postscript outputs of ICEM, where it is even less desirable.
http://lh6.ggpht.com/_PqzKw7xCW0A/TK...cehatching.jpg
The lighter lines in this image are the meshing lines. The darker lines are the surface hatching lines. How can these hatching lines be eliminated?

PSYMN October 5, 2010 18:20

Model Display Tree
 
In the display tree (left side of the ICEM CFD window), you can right click on surfaces to change its display between wireframe, solid, transparent, etc.

You could also just left click to turn off surfaces.

This sort of thing is covered by the basic training and pretty much every tutorial. If you are having trouble here, I really suggest you hit a few tutorials or you will run into bigger difficulties later.

Will Anderson October 5, 2010 18:36

Thank you.
I do most of my ICEMing via scripts, (I am a Gambit refugee), and so was wondering how to accomplish just what you mentioned, though using script commands.
Also, is it possible to obtain postscript output while using ICEM in batch mode? Or are all display options ignored when running ICEM via its GUI?

PSYMN October 5, 2010 18:39

tdv commands for display...
 
Yes, I think it can be done, although I have not done it myself.

I did an earlier post about tdv commands (as opposed to the ic_commands you may be used to). Do a search for it.

Will Anderson October 5, 2010 18:54

Thank you.

I just did a search on your posts containing "tdv" but came up empty handed. However, I am quite curious as to what is possible with tdv commands.

Referring to the earlier reply, the tutorials are unavailable to me because these are only available on ANSYS's website with a login and password, not from within the program. I will ask my customer about whether he has the login and password requested there.

PSYMN October 5, 2010 19:38

Found one...
 
http://www.cfd-online.com/Forums/ans...tml#post277980

I found this one. There may be others, but yes, the search on CFD-Online is pretty bad.

This is the kind of thing that support could help with. Perhaps email "techsupp@ansys.com", but they would also want a customer number.

Good luck with this and I hope you post what you learn.

Will Anderson October 6, 2010 16:26

My solution was to meticulously capture all of the maneuvering/experimenting with the geometry in ICEM's tree using a series of replay command recordings (selecting the box "all commands" in the replay control window, which captures everything, even inadvertent flyovers of the mouse!). I then concatenated all of my attempts into a single script. Unfortunately it won't run in batch mode, so the GUI opens and closes. The result was the desired black lines on white background postscript, without the surface faceting, blocking, etc. This jpeg doesn't really do justice.
http://lh5.ggpht.com/_PqzKw7xCW0A/TK...00/minmesh.jpg
I attach here the entirety of the commands which I used to switch off the various views and visibilities. Trimming down this monster code segment to the essential is an exercise which I leave to the reader :-)
Quote:

ic_view home
ic_geo_update_visibility surface {GEOM ORFN} 0
ic_uns_update_family_type visible {OPENING_FRONT OPENING_SIDE OPENING_BACK INLET GEOM AXIS ORFN PIPE} {!NODE !LINE_2 QUAD_4} update 0
ic_geo_update_visibility curve {GEOM ORFN} 0
ic_hex_blocking_loaded
ic_hex_blocking_loaded
ic_hex_list_subsets
ic_hex_list_families dims
ic_hex_erase_edge_mesh
ic_hex_select_value erase
ic_hex_update_dladaptobj
ic_geo_is_loaded
ic_geo_is_loaded
ic_geo_list_families 0 1
ic_geo_update_visibility curve GEOM 0
ic_geo_update_visibility curve INLET 0
ic_geo_update_visibility curve PIPE 0
ic_geo_update_visibility curve OPENING_BACK 0
ic_geo_update_visibility curve OPENING_SIDE 0
ic_geo_update_visibility curve OPENING_FRONT 0
ic_geo_update_visibility curve AXIS 0
ic_geo_is_loaded
ic_geo_num_objects all
ic_geo_configure_objects curve 1 wire 0 0 0 0 0 0 0 {1 1 1 1} 0 0 0 0 {} 0 0 0 1 0 0 0 0
ic_geo_is_loaded
ic_geo_get_objects point {} 1
ic_geo_get_objects curve {} 1
ic_geo_num_objects surface
ic_geo_num_objects material
ic_geo_num_objects body
ic_geo_num_objects density
ic_geo_is_loaded
ic_geo_is_loaded
ic_geo_list_families 0 1
ic_geo_update_visibility surface GEOM 0
ic_geo_update_visibility surface INLET 0
ic_geo_update_visibility surface PIPE 0
ic_geo_update_visibility surface OPENING_BACK 0
ic_geo_update_visibility surface OPENING_SIDE 0
ic_geo_update_visibility surface OPENING_FRONT 0
ic_geo_update_visibility surface AXIS 0
ic_geo_is_loaded
ic_geo_num_objects all
ic_geo_configure_objects surface 1 wire 0 0 0 0 0 0 0 {} 0 0 0 0 {} 0 0 0 0 0 0 0 0
ic_get_geo_selected
ic_reset_geo_selected
ic_geo_is_loaded
ic_geo_num_objects all
ic_geo_configure_objects surface 1 wire 0 0 0 0 0 0 0 {} 0 0 0 0 {} 0 0 0 0 0 0 0 0
ic_set_geo_selected {} 1
ic_geo_is_loaded
ic_geo_get_objects point {} 1
ic_geo_get_objects curve {} 1
ic_geo_num_objects surface
ic_geo_num_objects material
ic_geo_num_objects body
ic_geo_num_objects density
ic_print format ps generate_new 1 invert 0 jpeg_quality 0 landscape 0 outfile points ps_color mono ps_direct 1 ps_frame 0 ps_label {} ps_title {} scale 0 send_to_printer 0
exit


All times are GMT -4. The time now is 05:13.