|
[Sponsors] |
July 2, 2005, 11:28 |
Command lines in Fluent.
|
#1 |
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. |
|
July 3, 2005, 14:02 |
Re: Command lines in Fluent.
|
#2 |
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 |
|
July 4, 2005, 09:15 |
scheme manual
|
#3 |
Guest
Posts: n/a
|
Hello Jason, where can I find this German scheme manual, I found hothing in the forum.
|
|
July 4, 2005, 09:28 |
Re: scheme manual
|
#4 |
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
|
|
July 4, 2005, 13:20 |
Re: scheme manual
|
#5 |
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 |
|
July 5, 2005, 04:39 |
Re: scheme manual
|
#6 |
Guest
Posts: n/a
|
Yes the translation is in progress by Angelo Sozzi, but I've been waiting since October...Luca
|
|
July 5, 2005, 05:29 |
Re: scheme manual
|
#7 |
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. |
|
July 5, 2005, 05:42 |
Re: scheme manual
|
#8 |
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
|
|
July 5, 2005, 09:46 |
Re: Command lines in Fluent.
|
#9 |
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 |
|
July 5, 2005, 21:50 |
Re: scheme manual
|
#10 |
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.
|
|
July 12, 2005, 17:20 |
Re: scheme manual
|
#11 |
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. |
|
|
|
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 05:16 |
A Problem of Fluent Interpreted UDF: parse error | knight | Fluent UDF and Scheme Programming | 25 | August 16, 2018 11:26 |
Two questions on Fluent UDF | Steven | Fluent UDF and Scheme Programming | 7 | March 23, 2018 04:22 |
Compared MRFSimpleFoam and Fluent in a centrifugal pump! | renyun0511 | OpenFOAM Running, Solving & CFD | 8 | July 6, 2010 07:24 |
Problems in lauching FLUENT | Lourival | FLUENT | 3 | January 16, 2008 17:48 |