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

Using fluent loop to automate write to the file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2017, 20:21
Default Using fluent loop to automate write to the file
  #1
Member
 
Join Date: Apr 2016
Posts: 34
Rep Power: 10
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:

Quote:
(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?

Thanks.
Eman. is offline   Reply With Quote

Old   November 17, 2017, 04:02
Default Fluent Commands
  #2
New Member
 
Join Date: Jan 2017
Location: Austria
Posts: 20
Rep Power: 9
FluidWarrior is on a distinguished road
Hi,
you can find the commands in following Manual:
https://www.researchgate.net/profile..._Muttenthaler2

Have fun!
FluidWarrior is offline   Reply With Quote

Reply

Tags
fluent, journal file, scheme, string, tui


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 04:30
[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] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23


All times are GMT -4. The time now is 11:39.