CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Patch flow in batch mode (http://www.cfd-online.com/Forums/fluent/94742-patch-flow-batch-mode.html)

forgottenman November 24, 2011 03:21

Patch flow in batch mode
 
Hello
I want to simulate a three-phase flow by fluent in batch mode without graphic. I know how the flow can be initialized. This is the script:
............script...........
rc bed.cas
/solve/initialize/initialize-flow
/solve/iterate 100
/file/write-data bed1
exit
yes
..................................
But I need to assign a volume fraction to a zone of my field. It can be done by patch window in fluent. solve/initialize/patch
How can I enter this command to above script?

Amir November 24, 2011 07:33

Dear Majid,

Do anything you want by TUI in FLUENT console then put your written commands in TUI in your script.

Bests,

forgottenman November 25, 2011 13:10

Dear Amir
I have no idea about that command. It seems like this:
solve/initialize/patch...
but I don't know the exact one.

Amir November 25, 2011 14:39

Quote:

Originally Posted by forgottenman (Post 333577)
Dear Amir
I have no idea about that command. It seems like this:
solve/initialize/patch...
but I don't know the exact one.

This is:
Code:

/solve/patch
then, enter your domain ID and then variable.
As I said before, examine this procedure in TUI first and then put it in your script!

Bests,

forgottenman November 26, 2011 08:42

Thankyou dear Amir
It's done


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