CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Using fluent loop to automate write to the file

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2017, 19:21
Default Using fluent loop to automate write to the file
Join Date: Apr 2016
Posts: 34
Rep Power: 8
Eman. is on a distinguished road
Hello everyone,

I would like to have a loop in my journal file to do a few iterations in each loop, then write the solution to the output file. The problem is that I don't know how to create a string and use it as the name of my output file. This is what I have so far:

(Do ((x 1 (+ x 1))) ((> x 150))
(physical-time-steps 10 20)
(wd ("instantaneous-~a.dat" x))
I get an error for the write function. Can someone please tell me how to create a string?

Eman. is offline   Reply With Quote

Old   November 17, 2017, 03:02
Default Fluent Commands
New Member
Join Date: Jan 2017
Location: Austria
Posts: 20
Rep Power: 7
FluidWarrior is on a distinguished road
you can find the commands in following Manual:

Have fun!
FluidWarrior is offline   Reply With Quote


fluent, journal file, scheme, string, tui

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 18:13
[] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23

All times are GMT -4. The time now is 20:46.