TAGGED: #fluent-#ansys, tui
-
-
September 5, 2022 at 3:08 pm
Ela Zo
SubscriberI run fluent analysis in Linux cluster using batch mode. Calling calculation by
/home/ansys_inc/v212/fluent/bin/fluent 3ddp -gu -driver null -t40 -cnf=$PBS_NODEFILE -i fluent_in.jou > console_output.txt
The issue is that created .png images has no color map. Logo and ruler is displayed according to settings without any issues. Only colormap is not visible
/display/set/picture/driver png
/display/set/picture/x-resolution 1920
/display/set/picture/y-resolution 1080/display/set/windows/ruler? yes
/display/set/windows/logo? no
/preferences/graphics/colormap-settings/show-colormap yes
/preferences/graphics/colormap-settings/type "Banded"/solve/execute-commands/add-edit my_save_auto_set_view 10 iteration "/display/views/restore-view view_all"
/solve/execute-commands/add-edit my_save_auto_set_contour 10 iteration "/display/objects/display pressxzzy"
/solve/execute-commands/add-edit my_save_auto_save_pic 10 iteration "/display/save-picture pressxzzy_%i" -
September 6, 2022 at 12:41 pm
Rob
Forum ModeratorI think the colour map yes/no is retained at the object level. If you created the object then altered the preference colour map will be off, if after it'll be on. Â
TryÂ
/display/objects/edit pressxzzy color-map visible yes
and see what happens.Â
Note this is one of the few times I'm glad the spill chucker has failed: spelling colour wrong isn't on!Â
-
September 7, 2022 at 7:17 am
Amine Ben Hadj Ali
Ansys EmployeeUse the Scene Objects and the animation object to create all that automatically and it works in batch (with the right Fluent start flags).
-
September 7, 2022 at 8:29 am
Ela Zo
SubscriberÂ
Actually the same model in GUI works fine and creates beautiful contours with color map. Only in batch mode it is not showing colormap.
Â
-
-
September 7, 2022 at 9:00 am
Amine Ben Hadj Ali
Ansys EmployeeÂ
I am aware that there were in the past some glitches might explaining this behavior. You are using release 21.1 and I think there should be no issues.
Can you test on y ummy case by just saving a hard copy in batch (do not forget to start the bach with -gu -driver null)
Â
-
September 30, 2022 at 2:47 pm
Ela Zo
Subscriberinstead of "/display/objects/display pressxzzy"
this was creating nice image with colormap:
"/display/set/contours/surfaces planeyz () /display/set/contours/filled-contours? yes /display/contour pressure 0 1000 /views/restore-view/view-0Â /display/set/picture/driver png /display/save-picture pressure%i.png"
--> for not know reason previously created in GUI countours "pressxzzy" didn't show scale.
-
September 30, 2022 at 3:00 pm
Amine Ben Hadj Ali
Ansys EmployeeThat method is the legacy method which will be discontinued. If it is working for you that is nice.
-
- The topic ‘creating images in .png format’ is closed to new replies.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
3882
-
1414
-
1241
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.