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

How to write the journal file for the two-phase solver on cluster?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2021, 09:48
Default How to write the journal file for the two-phase solver on cluster?
  #1
New Member
 
Join Date: Sep 2019
Posts: 18
Rep Power: 6
zhaohb11_cfd is on a distinguished road
Dear,

I am a new user to fluent. Recently, I have met a problem. I want to use fluent on cluster to model two-phase flow. Thus, I have to write the command lines in a journal file to initialize the simulation. I know the regular command lines. But I have no idea writing the command line for multiphase solver. Especially how to patch a region and initialize the region.

I will appreciate it if someone could give me an example or hint. Thanks a lot
zhaohb11_cfd is offline   Reply With Quote

Old   July 19, 2021, 21:24
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
to do it you need TUI commands and scheme
you may check TUI commands in fluent console
click in console and press enter, you will see the list of available options, for example
Code:
adapt/                  file/                   report/
define/                 mesh/                   solve/
display/                parallel/               surface/
exit                    plot/                   views/
go to solve and press enter, and so on

you may initialize and patch using something like this
Code:
(ti-menu-load-string (format #f "solve initialize initialize-flow OK"))
(ti-menu-load-string (format #f "solve patch mixture zone-1 zone-2 () temperature no 300"))
(ti-menu-load-string (format #f "solve patch mixture zone-1 zone-2 () temperature no 400"))
mixture is a phase, zone-1 is a name of zone in your domain, instead of temperature you can use other parameter (from the list), value 300 is temperature in K
zhaohb11_cfd likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   July 21, 2021, 00:05
Default
  #3
New Member
 
Join Date: Sep 2019
Posts: 18
Rep Power: 6
zhaohb11_cfd is on a distinguished road
thanks a lot. AlexanderZ, I will try your method as soon as possiple
zhaohb11_cfd is offline   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
[swak4Foam] Installation Problem with OF 6 version Aurel OpenFOAM Community Contributions 14 November 18, 2020 16:18
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 06:47
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23


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