CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Problem in reading journal file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2019, 02:35
Default Problem in reading journal file
  #1
New Member
 
saeed
Join Date: Jan 2019
Posts: 2
Rep Power: 0
srf020 is on a distinguished road
Hello
I am using ANSYS 19.1 workbench.
I have written an script in ansys 19.1 that is related to Fluent. It opens Fluent and reads Fluent Journal file. The problem is during reading mesh file, it does not wait for the mesh file to be fully loaded so it reads the next line that is related to the energy model, so since the mesh is not yet fully loaded, we encounter an error.
anyone can help?

Thanks

script:

system61 = GetSystem(Name="FLU 61")
setupComponent61 = system61.GetComponent(Name="Setup")
setupComponent61.Reset()
setup61 = system61.GetContainer(ComponentName="Setup")
fluentLauncherSettings61 = setup61.GetFluentLauncherSettings()
fluentLauncherSettings61.SetEntityProperties(Prope rties=Set(DisplayText="Fluent Launcher Settings", Dimension="ThreeD", Precision="Double",
EnvPath={}, RunParallel=True, NumberOfProcessors=2))
setup61.Edit()
setup61.SendCommand(Command="(cx-gui-do cx-activate-item "MenuBar*ReadSubMenu*Journal...")(cx-gui-do cx-set-file-dialog-entries
"Select File" '( "FinalJournal")' "All Files (*)")")
setup61.SendCommand(Command='(cx-gui-do cx-activate-item "MenuBar*FileMenu*Close Fluent")')

Last edited by srf020; January 24, 2019 at 06:20.
srf020 is offline   Reply With Quote

Old   January 24, 2019, 06:24
Default
  #2
New Member
 
saeed
Join Date: Jan 2019
Posts: 2
Rep Power: 0
srf020 is on a distinguished road
I found that journal code can not import mesh . when i type:

> (cx-gui-do cx-activate-item "MenuBar*ImportSubMenu*Mesh...")
> (cx-gui-do cx-set-file-dialog-entries "Select File" '( "mesh dir\mesh.msh") "Mesh Files (*.msh* *.MSH* )")

TUI return :
Resetting session...Resetting session...Done

and does no action.
srf020 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 09:06
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 19:13
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 18:34
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18


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