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

Command lines in Fluent.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2005, 10:28
Default Command lines in Fluent.
  #1
pa-Hung
Guest
 
Posts: n/a
Hi everybody!

Sometime, I use the Fluent for many cases, where I need to change some parameters only. So, I don't know that, in Fluent there is a way to make the command lines in *.txt file to control the FLuent without GUI or there isn't. Anybody know about that, please show to me, how to do or where to learn the help!

Thanks a lot to all!

pa-Hung.
  Reply With Quote

Old   July 3, 2005, 13:02
Default Re: Command lines in Fluent.
  #2
Jason
Guest
 
Posts: n/a
I'm not an expert on the subject. There is a whole programming languate (scheme language, and if you search the forum you'll learn that the only scheme manual seems to be in German... if you know German, there's a lot of us out here that would appreciate a translation!) that can be used, and I know little to none about the programming language. But that won't stop you from automating some of the process at least.

What you can do is when you open fluent go to File->Write->Start Journal. It will ask you to give a file name. Then open and set up one of your cases, and then File->Write->Stop Journal. Then, for future cases you can goto File->Read->Journal, and it will perform the steps stored in the journal.

It's going to have everything in there for you. The only thing I'm a little bit concerned with is setting up the boundary conditions. If you read in a different mesh, the zone-ids (which is a numerical code for a zone or BC assigned by Fluent) might not be exactly the same. I'm not sure how to get the current zone-id based on a BC name either. Someone out here might know. Also, this whole journal is written in Scheme language.

Another option you have is based on the TUI inputs. The user manual has a list of the TUI commands and what the different inputs mean. Quick Example is to set the energy discretization to 2nd order:

/solve/set/discretization-scheme/temperature 1

The return after "temperature" is important, as is the return after "1". "1" means 2nd order... only two ways to learn this... play around with the TUI, or look it up in the manual.

I don't believe there's a way to define the BC's using the TUI commands, but you could use them to set everything else up and then just go in and define the BCs and start your model. Saves some time.

Either way you decide to do it, you can write it in a normal text editor (or edit it in a normal text editor) and save it as a .jou file.

Hope this helps, and good luck, Jason
  Reply With Quote

Old   July 4, 2005, 08:15
Default scheme manual
  #3
dirk
Guest
 
Posts: n/a
Hello Jason, where can I find this German scheme manual, I found hothing in the forum.
  Reply With Quote

Old   July 4, 2005, 08:28
Default Re: scheme manual
  #4
Luca
Guest
 
Posts: n/a
Search for Mirko Javurek. He's the author of the only scheme guide for Fluent. Unfortunately it's written in German. So if you know German many people, me included, would like to habe an english translation if you can. Luca
  Reply With Quote

Old   July 4, 2005, 12:20
Default Re: scheme manual
  #5
dirk
Guest
 
Posts: n/a
Thanks Luca

I just downloaded it. Maybe I will try to make a translation, but it's quite long. M. Javurek wrote on his homepage that an English version is in progress.

Dirk
  Reply With Quote

Old   July 5, 2005, 03:39
Default Re: scheme manual
  #6
Luca
Guest
 
Posts: n/a
Yes the translation is in progress by Angelo Sozzi, but I've been waiting since October...Luca
  Reply With Quote

Old   July 5, 2005, 04:29
Default Re: scheme manual
  #7
zxaar
Guest
 
Posts: n/a
around a month ago i thought of asking a friend to translate this doc, she is in translating group of compnay and her work is related to german translations. it would be a small job, but din't send her the doc (even after requesting a translation). the reason was, i think its fluent support who should provide us a doc related to scheme, if i do it i am only helping fluent for their support, (what do i get out of it).

another way of looking at this is this: whenever some one asks a help related to fluent here on the forum. he or she actually should ask fluent support for it. thats what they are paid for, i guess. when ever we answer or help someone with their problem , we actually are doign the job of fluent support people.

(i do try to help people, but only because i feel as a human being i should do it)

anyway i will send her the doc , and lets see when we get the translation.
  Reply With Quote

Old   July 5, 2005, 04:42
Default Re: scheme manual
  #8
Luca
Guest
 
Posts: n/a
Dear Zxaar, unfortunately scheme support is not included in normal support and if we want to ask something related to scheme we should pay more. I work at a university as researcher and we don't have even a normal support for our campus license. So we I have a question, this forum is my only way to discuss and to get some suggestions from people like you who want to help and to learn more about this code by discussing with other people. Personally I'm glad to help people with questions regarding Fluent and I'm sorry if I'm "stealing" job at Fluent support. Anyway I know a person who works at Fluent and he told me that they do not have a scheme-Fluent guide...only the developers may have something but they do not share this kind of infos. I learnt scheme by reading books, then I tried to understand as much as I can from Mirko's guide and then I did a lot of trial and error. I hope more and more people will join this forum because it's important if we want to really make this code work as we want not by just clicking an iterate button.Luca
  Reply With Quote

Old   July 5, 2005, 08:46
Default Re: Command lines in Fluent.
  #9
pa-Hung
Guest
 
Posts: n/a
Thanks a lot to Jason and Everybody!

Monday and Tuesday I went to the vacation, then I could not reply early to you.

As Jason said, we can use the TUI or Save the our process in one case into one Journal file and it will be reused for other cases. One more possible is use Scheme Fluent. I will try to do it. If somebody have the English or French version for Scheme Fluent, plz share to us!

Thanks one more!

pa-Hung
  Reply With Quote

Old   July 5, 2005, 20:50
Default Re: scheme manual
  #10
zxaar
Guest
 
Posts: n/a
anyway i have sent her the scheme manual for translation, hope she could find time to translate it, and hope she does it soon.
  Reply With Quote

Old   July 12, 2005, 16:20
Default Re: scheme manual
  #11
Angelo Sozzi
Guest
 
Posts: n/a
Yep, I'm the culprit talked about here. I started the translation in November, got caught up in the throws of finishing off my Thesis and writing papers.

Now I'm on the jobhunt and doing projects at UBC. Found this unfinished translation and restarted as of yesterday. And just now I googled "Fluent scheme" and came up with this thread.

So, sincere apology for those who waited so long, I will try to get an initial draft finished by next week.

  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
Stopping a Fluent batch job AND saving the data! Possible? Volker Pawlik FLUENT 13 December 28, 2020 04:16
A Problem of Fluent Interpreted UDF: parse error knight Fluent UDF and Scheme Programming 25 August 16, 2018 10:26
Two questions on Fluent UDF Steven Fluent UDF and Scheme Programming 7 March 23, 2018 03:22
Compared MRFSimpleFoam and Fluent in a centrifugal pump! renyun0511 OpenFOAM Running, Solving & CFD 8 July 6, 2010 06:24
Problems in lauching FLUENT Lourival FLUENT 3 January 16, 2008 16:48


All times are GMT -4. The time now is 05:30.