|
[Sponsors] |
November 24, 2011, 03:21 |
Patch flow in batch mode
|
#1 |
New Member
Majid Mostafazadeh
Join Date: Nov 2011
Posts: 15
Rep Power: 14 |
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? |
|
November 25, 2011, 13:10 |
|
#3 |
New Member
Majid Mostafazadeh
Join Date: Nov 2011
Posts: 15
Rep Power: 14 |
Dear Amir
I have no idea about that command. It seems like this: solve/initialize/patch... but I don't know the exact one. |
|
November 25, 2011, 14:39 |
|
#4 | |
Senior Member
|
Quote:
Code:
/solve/patch As I said before, examine this procedure in TUI first and then put it in your script! Bests,
__________________
Amir |
||
November 26, 2011, 08:42 |
|
#5 |
New Member
Majid Mostafazadeh
Join Date: Nov 2011
Posts: 15
Rep Power: 14 |
Thankyou dear Amir
It's done |
|
January 9, 2014, 06:21 |
|
#6 |
Member
Mark
Join Date: Feb 2013
Location: London
Posts: 33
Rep Power: 13 |
Hi
I wondered if I could ask how you got your variable to sit in the code, I am trying to patch in the premixed combustion model with a value of 1, i have part of it right but fluent doesnt seem to like how im writing the variable /solve/patch/(16) this bit is fine but if I try /solve/patch/(16)/premixc it all fails Hopefully I'm missing a bit of formatting Thank you! |
|
April 3, 2014, 06:14 |
|
#7 |
New Member
Join Date: Nov 2013
Posts: 18
Rep Power: 12 |
I am simply trying to patch an initial temperature to multiple domains in batch mode.
What I have so far is /solve/patch/(2,3,4,5) 500 Is this correct does anyone know? Cheers |
|
April 3, 2014, 19:33 |
|
#8 |
Member
Mark
Join Date: Feb 2013
Location: London
Posts: 33
Rep Power: 13 |
Hi
I think this is right but you will have to check it is from memory, if you boot up the fluent gui you can run it from the tui window so you can check all your bits of code prior to using it in batch mode. Granted that only works if you have access to the GUI as well, I was using a cluster in batch mode but had in on my comp so was able to check things once I realised (took me a while). Anyway your bit of code: /solve/patch/(Zone_1,Zone_2,Zone_3) temperature 500 Where the zone_1 etc are the name of your cell zones Have fun |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with cyclic boundaries in Openfoam 1.5 | fs82 | OpenFOAM | 36 | January 7, 2015 00:31 |
Cyclic Boundary Condition | Luiz Eduardo Bittencourt Sampaio (Sampaio) | OpenFOAM Running, Solving & CFD | 36 | July 2, 2012 12:23 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 08:19 |
Help!! Why I can't run fluent in batch mode? | Cindy Jones | FLUENT | 0 | April 8, 2003 23:39 |