Tagged: contour, fluent, post-processing, tui-command
-
-
March 15, 2022 at 1:27 pm
m.shafiee1374
SubscriberHello,
I simulated a case of fluid flow on an HPC cluster using Ansys Fluent 19.2 in batch mode. The simulation worked fine and since I did not have enough RAM to read the data file for post processing, I'm trying to save images of my contours remotely using TUI commands. So I use this shell command to run fluent to have graphics enabled:
fluent 3ddp -gu -t16 -mpi=openmpi -i &Name.jou >& out_$Name.log
then I use these TUI commands to define a contour and then save an image of it:
;---Display settings
/display/views/read-views "Views"
/display/set/contours/auto-range? yes
/display/set/contours/clip-to-range? no
/display/set/contours/filled-contours? yes
/display/set/contours/global-range? no
/display/set/contours/n-contour 30
/display/set/contours/node-values? yes
/display/set/lights/headlight-on? no
/display/set/lights/lights-on? no
/display/set/picture/color-mode/color
/display/set/picture/driver/png
/display/set/picture/x-resolution 960
/display/set/picture/y-resolution 720
;---Defining contour surfaces
/surface/plane z0plane 0 0 0 0 1 0 1 0 0
;---Saving contours
/display/set/contours/surfaces z0plane ()
/display/contour velocity-magnitude 3 8
/display/views/restore-view xplus-view
/display/save-picture "z0plane_V.png"
And all of them work fine except that the saved contour does not have any labels on its colormap(!!!), no numbers.
I tried to use
/display/set/color-map
menu, but it seems like that only changes the colors of the contours.How to fix this?
Thanks❤️
March 15, 2022 at 2:07 pmRob
Ansys EmployeePlease can you post one of the images? I wonder if you've got white text on a white background.
March 15, 2022 at 3:30 pmMarch 15, 2022 at 4:28 pmRob
Ansys Employeecan you add
/preferences/appearance/gfc 255 0 0
at the beginning of the above and see what you get? We moved the foreground/background options into Preferences and I wonder if that's causing a problem here. I don't have R19.2 installed so can't check here.
March 15, 2022 at 4:55 pmDrAmine
Ansys EmployeeCan you move to a newer version and also try using Contour Objects.
March 15, 2022 at 11:46 pmm.shafiee1374
SubscriberHello and thanks for your responses Using contour objects worked.March 16, 2022 at 6:29 amDrAmine
Ansys EmployeeSuper! Welcome!
Viewing 6 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceEarth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
Top Contributors-
2656
-
2120
-
1345
-
1118
-
461
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-