-
-
May 11, 2024 at 10:04 amGuangpu LvSubscriber
I recorded a journal about write a pathlines file by GUI as shown below, cause the TUI lacks some parameters ("Steps", "Step Size" ). And I cannot get the pathlines file when reading this journal, the "Select File" dialog didn't appear. However, the "Select File" dialog appears after input the codes into console, still need to select file. It's seems the seconde code doesn't work.
Â
(cx-gui-do cx-activate-item "Pathlines*PanelButtons*PushButton1(OK)")
(cx-gui-do cx-set-file-dialog-entries "Select File" '( "entryNameTest.fvp") "Fieldview Files (*.fvp)")Â
And the full journal texts are given as below:
/display/objects/create pathlines pathlines-1 accuracy-control step-size 0.02 step 3000 skip 5 field temperature surface 14 () q
(cx-gui-do cx-set-list-tree-selections "NavigationPane*List_Tree1" (list "Results|Graphics|Pathlines|pathlines-1"))
(cx-gui-do cx-list-tree-right-click "NavigationPane*List_Tree1" )
(cx-gui-do cx-activate-item "MenuBar*PopupMenuTree-pathlines-1*Edit...")
(cx-gui-do cx-set-toggle-button2 "Pathlines*Frame2*ToggleBox1(Options)*CheckButton9(Write to File)" #t)
(cx-gui-do cx-activate-item "Pathlines*Frame2*ToggleBox1(Options)*CheckButton9(Write to File)")
(cx-gui-do cx-set-list-selections "Pathlines*Frame2*DropDownList2(Type)" '( 1))
(cx-gui-do cx-activate-item "Pathlines*PanelButtons*PushButton1(OK)")
(cx-gui-do cx-set-file-dialog-entries "Select File" '( "entryNameTest.fvp") "Fieldview Files (*.fvp)")Â
Could anyone tell me how to fix it? Thanks
Best regards.
Guangpu
-
May 15, 2024 at 12:09 pmFedericoAnsys Employee
Hello,Â
can you try the following TUI command for your journal
/display/path-lines/write-to-files
followed by your pathlines settings (try this in the console first to check the order).
-
May 17, 2024 at 7:49 amGuangpu LvSubscriber
Thank you for your reply.
the TUI command "/display/path-lines/write-to-files" in Fluent 20.1 cannot define the "Steps" and "Step size" of the pathlines settings.
Â
-
-
May 15, 2024 at 12:11 pmFedericoAnsys Employee
You can find TUI commands documentation in the help page for latest releases up to 21R2:
-
May 18, 2024 at 2:39 amGuangpu LvSubscriber
Thank you for your reply.
the TUI command "/display/path-lines/write-to-files" in Fluent 21.2 is the same as that in Fluent 20.1, and also cannot define the "Steps" and "Step size" of the pathlines settings.
-
-
May 17, 2024 at 10:10 amRobForum Moderator
Have a look in /display/objects/create the TUI has been rearranged over the last few versions so rather than creating a unique pathline image instead create the object and then display that.Â
-
May 18, 2024 at 3:48 amGuangpu LvSubscriber
Thank you for your reply.
The TUI commands "/display/objects/create" and "/display/objects/display" could create and display pathlines as IÂ tested in Fluent 22.1. And the TUI command "/display/path-lines/write-to-files" have been removed in Fluent 22.1.
However, the final goal is to write a pathlines file. No matter how the pathlines are created, GUI command seems the only way to write a pathlines file in Fluent 22.1. And when i read the GUI command of wirte a pathlines file as shown above, the bug would reappears.Â
-
May 20, 2024 at 10:23 amRobForum Moderator
GUI journals can be unreliable depending on what panels are open/closed during the period you record the commands. As we don't use CFD Post in the Fluent workflows in the more recent versions commands may have been omitted. Why are you trying to write the pathline file as opposed to the image?
-
May 21, 2024 at 3:59 amGuangpu LvSubscriber
I want to get data that varies along the streamline. And I think that write streamlines data is a simple way to alternative interpolation, which does not require importing data into other software. I also want to know if there are other ways to interpolate and export interpolation data in Fluent.
-
-
May 21, 2024 at 10:33 amRobForum Moderator
OK, good news is it's possible, and fairly easy. Bad news it's a hidden command, so I need to check it's technically in the public domain to allow me to share it.Â
-
May 23, 2024 at 8:16 amGuangpu LvSubscriber
Thank you very much for your reply. I look forward to your next reply with good news.
-
-
- The topic ‘Fluent 20.1 – bug in writing a pathlines file by GUI’ is closed to new replies.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
-
1216
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.