CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Gambit Journal Files (https://www.cfd-online.com/Forums/fluent/48682-gambit-journal-files.html)

Max July 5, 2008 04:15

Gambit Journal Files
 
Hi all,

as i know about the gambit, we can use it automatically with using the journal files. i want to do this but i couldn't find any help over this subject in the manual. could everyone help me find this kind of manual?

Thanks in advance,

Max

dunga July 6, 2008 23:41

Re: Gambit Journal Files
 
l used about this before. And l think it is easy. The pivotal thing that should be noticed is that the save command must be delete from journal file. Try it and you will know.

Max July 7, 2008 03:53

Re: Gambit Journal Files
 
Hi,

Thank you for your reply. I think I got it correctly.for another question does Gambit have any automatic for giving name to the newly created files?

Thanks,

Max

dunga July 7, 2008 04:29

Re: Gambit Journal Files
 
Gambit is not so intelligent , so when you change the parameters in the journal , and then save the dbs as another name.

Max July 7, 2008 07:44

Re: Gambit Journal Files
 
Is Gambit as intelligent as repeating a process (e.g. mesh generation)until a condition being met (e.g. a predetermined quality for mesh)?

dunga July 7, 2008 22:33

Re: Gambit Journal Files
 
Maybe, and l think that mesh is a difficult work , the parameter need to be change depending on the case ,so l just create the geometry by journal and mesh it myself.

Micael July 8, 2008 10:59

Re: Gambit Journal Files
 
It is a good idea to create and use a journal. To create your own journal, go to: FILE->RUN JOURNAL -> select CURRENT JOURNAL and EDIT/RUN-> ACCEPT Delect every thing in that journal and then save on a new name.

Most of the time I use this command as the first one (you can put your comment before): reset

Use "/" before any comment, as an example: / delect and reset every thing reset

A good starting point is to do few step in the GUI and then go to FILE->VIEW FILE in order to see the command you just did using the GUI. You can copy these command in your journal.

If you want to define some variables use "$" before there names:

/ define thickness to 1 cm $thickness=0.01

Then you can use "$thickness" instead of number in the journal.


Micael July 8, 2008 11:03

Re: Gambit Journal Files
 
It is a good idea to create and use a journal. To create your own journal, go to: FILE->RUN JOURNAL -> select CURRENT JOURNAL and EDIT/RUN-> ACCEPT Delect every thing in that journal and then save on a new name.

Most of the time I use this command as the first one (you can put your comment before): reset

Use "/" before any comment, as an example: / delect and reset every thing

reset

A good starting point is to do few step in the GUI and then go to FILE->VIEW FILE in order to see the command you just did using the GUI. You can copy these command in your journal.

If you want to define some variables use "$" before there names:

/ define thickness to 1 cm

$thickness=0.01

Then you can use "$thickness" instead of number in the journal.


Micael July 8, 2008 11:10

Re: Gambit Journal Files
 
Some important "enter" did not appear in my previous message. Here is again.

------------------------------------------------------------

It is a good idea to create and use a journal. To create your own journal, go to: FILE->RUN JOURNAL -> select CURRENT JOURNAL and EDIT/RUN-> ACCEPT Delect every thing in that journal and then save on a new name.

Most of the time I use this command as the first one (you can put your comment before):

reset

Use "/" before any comment, as an example:

/ delect and reset every thing

reset

A good starting point is to do few step in the GUI and then go to FILE->VIEW FILE in order to see the command you just did using the GUI. You can copy these command in your journal.

If you want to define some variables use "$" before there names:

/ define thickness to 1 cm

$thickness=0.01

Then you can use "$thickness" instead of number in the journal.


Max July 9, 2008 08:23

Re: Gambit Journal Files
 
could you explain more about what you said?


Micael July 9, 2008 14:09

Re: Gambit Journal Files
 
May be I was not clair. I suggest you to learn the text command (it is what you need to write a journal) using the GUI instead of searching in the manual. For every thing you do in the GUI, the corresponding text command is writen in a journal file. However, it is often best to don't use directly this journal as there are probably to much useless lines (and may be unwanted commands). It need some work to learn the basic of journal file, but it's worth.

I often execute my journal after adding some commands to make sure that there are no bug. That's why my first command is "reset" (in order to start from scratch).

Max July 12, 2008 02:17

Re: Gambit Journal Files
 
Thank you Micael for your valuable answers. I'll try your hints, and if there was any problem I would ask you.


All times are GMT -4. The time now is 18:50.