-
-
April 21, 2024 at 11:48 amMarcin NowakSubscriber
Hi,
I am using a computer cluster without graphical interface, therefore it is necessary to do below using TUI only.
I would like to display mesh edges only. And save such picture every timestep.I got a trouble displaying edges only, without faces. I am using below:
q
disp
sur-me
12
()
q
however in the cluster it is set to display faces only. I want to display edges only, like in the below picture:Please guide me which TUI commands I need to use to do so
regards
-
April 22, 2024 at 10:20 amRobForum Moderator
Can you set up the images via the GUI prior to running? Also remember that if you can set up the mesh object that it'll retain the settings it's much better than the "old" way where we needed to specify surfaces/edges and which ones every time. The images can then be saved via TUI commands in Execute Commands.Â
However, if you've no GUI on the cluster how are you creating images? Fluent displays the image to then save it, it's not a virtual image.Â
-
April 22, 2024 at 12:17 pmMarcin NowakSubscriber
"Can you set up the images via the GUI prior to running?" - Unfortunately no, if I could I would use this solution.
"Also remember that if you can set up the mesh object that it'll retain the settings - Yeah I tried to use the "retained settings" of mesh, that you are talking about, by using in TUI a referrrence to saved settings "mesh-1":
q(cx-gui-do cx-set-list-tree-selections "NavigationPane*List_Tree1" (list "Results|Graphics|Mesh|mesh-1"))(cx-gui-do cx-list-tree-right-click "NavigationPane*List_Tree1" )(cx-gui-do cx-activate-item "MenuBar*PopupMenuTree-mesh-1*Display")qÂHowever I get an error, saying that above is not possible to execute because there is no active GUI. Therefore I used instead:Âq
disp
sur-me
12
()
qÂand it works, images are saved, however with the 'faces only", not "edges only". So now I need the TUI commands to change it.Â"However, if you've no GUI on the cluster how are you creating images? Fluent displays the image to then save it, it's not a virtual image. " - There is no problem with saving images (regular files) despite the fact that GUI is not active and Fluent displays images in the background mode. -
April 22, 2024 at 12:56 pmRobForum Moderator
OK, as you've found the GUI macros won't work, and they're not overly reliable even when the GUI is up.Â
/display/objects/create meshÂ
Then look in options for surface type and surfaces-list to set up what you want to see. You'll finish up with an object called (for example) mesh-1.Â
You then create the contour (or whatever) in another object. Finally, create a scene from the objects. When displaying stuff to then save images you display the final scene and everything should be set.Â
You'll notice the way I wrote the command(s). That ensures that any command starts from the root folder. If I used your command and wasn't in root it would fail or do something interesting.Â
-
April 22, 2024 at 1:09 pmMarcin NowakSubscriber
Â
I found the solution myself,Â
It is possible to display saved mesh settings “mesh-1″ in TUI by:
display
obj
disp
mesh-1
q
q
qSo the problems is solved, however I would appreciate to know whether it is possible to set such edge display in TUI in ‘old’ way
EDIT:Â Rob, thank you for this information; the remark about the scene is especially useful, as what I am going to do next, is to create animations using case-and-data files
-
- You must be logged in to reply to this topic.
- How do you approach this?
- Convective Augmentation Factor in DEFINE_HEAT_FLUX
- Conservation issue with a UDS solution
- Where is the Electrolyte Projected Area in the Reports tab of PEMFC Model?
- Non-Premixed Combustion PDF generation with 4th-order interpolation
- ANSYS fluent – Rocky DEM coupling
- Solar load , Mesh Orientation and Beam direction
-
461
-
215
-
194
-
177
-
162
© 2024 Copyright ANSYS, Inc. All rights reserved.