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

journal file with variable in a while loop?

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2014, 18:22
Default
  #41
New Member
 
Join Date: Mar 2009
Posts: 16
Rep Power: 17
Sashankh is on a distinguished road
Hi Max, can you please send me the file if you still have it. My email is srao7@tigers.lsu.edu. Looking forward to using it. Many Thanks.
Sashankh is offline   Reply With Quote

Old   November 18, 2014, 11:05
Default
  #42
New Member
 
Join Date: Oct 2014
Posts: 17
Rep Power: 12
kaeran is on a distinguished road
Hi Max,

Please send me the journal file, if you still have it. It would be really helpful.
E-mail ID: ia2010@thi.de
kaeran is offline   Reply With Quote

Old   December 19, 2017, 13:27
Default
  #43
Member
 
Muhammad Ali Uzair
Join Date: Sep 2017
Posts: 44
Rep Power: 9
m.uzair is on a distinguished road
Does anybody still have this file? If so, please e-mail to muhammadali.uzair@poliba.it
m.uzair is offline   Reply With Quote

Old   December 20, 2017, 02:33
Default
  #44
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
As this file is regularly requested, I put it here.
Comments in the file are in french
boucle.zip
m.uzair likes this.
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   March 6, 2018, 13:20
Default
  #45
New Member
 
Join Date: Mar 2018
Posts: 7
Rep Power: 8
yomnag is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
I send it to you right now
mAx, can I also have a copy of the file? hope you still have it, this is a very old thread. Please send to yomnagobran@yahoo.com Thanks!
yomnag is offline   Reply With Quote

Old   March 6, 2018, 17:18
Default
  #46
Member
 
Muhammad Ali Uzair
Join Date: Sep 2017
Posts: 44
Rep Power: 9
m.uzair is on a distinguished road
Quote:
Originally Posted by yomnag View Post
mAx, can I also have a copy of the file? hope you still have it, this is a very old thread. Please send to yomnagobran@yahoo.com Thanks!
dear,
its attached in the comment by the name of boucle.zip :-)
m.uzair is offline   Reply With Quote

Old   June 12, 2018, 00:36
Default
  #47
New Member
 
anonymous
Join Date: Dec 2015
Posts: 14
Rep Power: 10
chris_aut is on a distinguished road
Hi

can anyone tell me the solution or how I can do a do-loop, for-loop or while-loop in a journal file in fluent

that's actually what the thread should answer, but all answers are for a scheme file. The title is about a journal file

Please help me

thanks

PS: wouldn't it be easier for all to post a code instead of sending an email? If someone wants to know something and the old users do not answer the information is lost
chris_aut is offline   Reply With Quote

Old   June 12, 2018, 06:19
Default
  #48
Senior Member
 
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Quote:
Originally Posted by chris_aut View Post
Hi

can anyone tell me the solution or how I can do a do-loop, for-loop or while-loop in a journal file in fluent

that's actually what the thread should answer, but all answers are for a scheme file. The title is about a journal file

Please help me

thanks

PS: wouldn't it be easier for all to post a code instead of sending an email? If someone wants to know something and the old users do not answer the information is lost



See the thread below:


Journal for fluent: Scheme programming


Regards,
Syavash
syavash is offline   Reply With Quote

Old   June 12, 2018, 06:36
Default
  #49
New Member
 
anonymous
Join Date: Dec 2015
Posts: 14
Rep Power: 10
chris_aut is on a distinguished road
Quote:
Originally Posted by syavash View Post
See the thread below:


Journal for fluent: Scheme programming


Regards,
Syavash
Hi Syavash

that's exactly what I'm NOT looking for.

I need a loop I can directly use in journal WITHOUT the useage of a scheme-file.

For better unterstanding it should look like the following:

for(x=0;x<10;x++)
{
solve iterate 1000
file write-case-data name"x".cas
}
so the name of the file should also change by the value of x

Chris
chris_aut is offline   Reply With Quote

Old   June 12, 2018, 07:50
Default
  #50
Senior Member
 
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Quote:
Originally Posted by chris_aut View Post
Hi Syavash

that's exactly what I'm NOT looking for.

I need a loop I can directly use in journal WITHOUT the useage of a scheme-file.

For better unterstanding it should look like the following:

for(x=0;x<10;x++)
{
solve iterate 1000
file write-case-data name"x".cas
}
so the name of the file should also change by the value of x

Chris



I really don't get what you mean! You can write the loop above in a file using Scheme language and simply load it into Fluent using Read-->Journal...


You can have variable file name in that loop, for instance:


Code:
(Ti-menu-load-string (format #f "file/write-case-data Base2-AOA-~a.cas" x))
Regards,
Syavash
syavash is offline   Reply With Quote

Old   January 17, 2019, 06:24
Default
  #51
New Member
 
haider ali
Join Date: Jul 2011
Posts: 8
Rep Power: 15
haider11 is on a distinguished road
hi. could you send me that file to haider7771@hotmail.com.
thanks
haider11 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
do loop in Fluent journal file. caterchen FLUENT 12 November 14, 2016 23:57
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
[OpenFOAM] ParaView 33 canbt open OpenFoam file hariya03 ParaView 7 September 25, 2008 18:33


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