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

Fluent journal - loop

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2017, 13:30
Default Fluent journal - loop
  #1
Member
 
Marcin
Join Date: Jun 2016
Posts: 98
Rep Power: 10
destroy is on a distinguished road
Hi,

I want to calculate some quantities, thus I need to read case and data files into Fluent many times, and then make the same calculations every time.
I wanted to do it using journal. Firstly, I recorded journal in Workbench and during recording I loaded case and data files for some timestep. Then, I tried to transform this journal into examplary one, that will just open case and data. Please tell me, where I made a mistake - I obtain an error "unbound variable".

P.S. I replace the name of case and data file "Fluent mesh14-58-00001.cas.gz" with "Fluent mesh14-58-%5n.cas.gz".

I was using of Fluent user's guide, chapter "Automatic Numbering of Files".




# encoding: utf-8
# Release 17.2
SetScriptVersion(Version="17.2.225")
system1 = GetSystem(Name="FLU 1")
setup1 = system1.GetContainer(ComponentName="Setup")

(Do ((x 1 (+ x 1))) ((> x 4))
(setup1.SendCommand(Command="(cx-gui-do cx-activate-item "MenuBar*ImportSubMenu*Case & Data...")(cx-gui-do cx-activate-item "Question*OK")(cx-gui-do cx-set-file-dialog-entries "Select File" '( "K:/USERS/mnowak/artykul z autosavem - naprawa/postprocessing/case and data do analizy/Fluent mesh14-58-%5n.cas.gz") "Case Files (*.cas*)")"))
)




Regards
Destroy
destroy 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
fluent journal file for carrying out LES raunakjung FLUENT 13 June 7, 2017 11:16
Calculation of Load Carrying capacity of a journal bearing in Fluent Dinesh_Dhande FLUENT 1 June 17, 2015 05:20
Fluent JOURNAL file issue mhsn FLUENT 0 June 5, 2013 13:47
Fluent jobs through pbs ibnkureshi FLUENT 5 June 9, 2011 14:43
How to simulate a dynamically loaded journal bearing with Fluent? okiro FLUENT 0 April 7, 2010 22:16


All times are GMT -4. The time now is 00:03.