|
[Sponsors] |
November 23, 2017, 13:30 |
Fluent journal - loop
|
#1 |
Member
Marcin
Join Date: Jun 2016
Posts: 98
Rep Power: 10 |
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 |
|
|
|
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 |