|
[Sponsors] |
Fluent Journal File (TUI) Definition Invalid?? TUI Command for ''OK'' |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 4, 2022, 05:04 |
Fluent Journal File (TUI) Definition Invalid?? TUI Command for ''OK''
|
#1 | |||
New Member
veda
Join Date: Jul 2022
Posts: 8
Rep Power: 4 |
UPDATE: SOLVED; In Comments Below
Hello, I am trying to create a Fluent Journal File to automate a parametric study. Within the journal file, I am trying to create a report definition for net mass flow rate and trying to add it as a convergence criteria. Basically, once a value of net mass flow rate of 0.0001 is reached, I want to stop iterations, save the case and data file, and move on to a new set of inlet conditions, and repeat. The problem I encounter is: 1) When I defined my report definition (massflow-net) in my journal file, and checked the corresponding action in Fluent GUI of the following line in my journal file: Quote:
Image I resolved the above issue by changing the line in my journal file as follows: Quote:
2) Now, when I try to set it as convergence criteria (convmassflow-net), I use the following line in my journal file: Quote:
Any advice will be highly appreciated. TLDR: Looking for a TUI Command for ''OK'' on GUI. Last edited by saha.vedabit; July 5, 2022 at 01:16. Reason: Solved |
||||
July 4, 2022, 18:44 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
You're misunderstanding something. Your problem is not that you need a TUI command for ok on the GUI. TUI commands shouldn't call or interact with GUI elements. Your problem is that you don't have a TUI command that creates a valid definition.
When you create a mass flow report, you need to enter a list of surfaces over which to sum the mass flows. This list (all lists in Fluent) are terminated with (). If you don't have a pair of parentheses, you don't have a valid list and any definition that needs a list input will fail. q is an abbreviation for quit and is used to navigate TUI structures. My advice is to type these commands into the TUI window yourself and not run them from a journal yet. Then, once you figure out what the actual TUI commands are, you can then copy and paste them into the journal. When you type into the TUI window, there will be text prompts that guide you with what inputs are needed for the full TUI command. Learn TUI commands first, then write a journal file. Learn to walk before you fly. |
|
July 4, 2022, 20:00 |
|
#3 | |
New Member
veda
Join Date: Jul 2022
Posts: 8
Rep Power: 4 |
Quote:
Thank you for your reply. Actually that’s exactly what I’ve been doing. I’m not running these as journals but trying to input them into the TUI Window and going through the outcomes. However, with the issue (1) in original post, that was resolved with the parentheses (as you described is used to terminate lists), I found that information prior to posting it in this forum. I added the q’s simply to navigate back to the default line of code not beginning with /solve/.. so that I can input subsequent commands without getting an error, just to be safe. But you’re correct in assuming I do not need a TUI Input for OK. I am unable to find a resource online pointing to how to terminate successfully my second command (2) leading to a successful definition of convergence conditions. In the TUI window, for problem 2, I was unable to find a solution by experimenting, thus the post. |
||
July 5, 2022, 01:15 |
UPDATE: Solved
|
#4 | |
New Member
veda
Join Date: Jul 2022
Posts: 8
Rep Power: 4 |
Resolved with following Modification to TUI Command:
Quote:
Thank you for everyone's responses. |
||
Tags |
fluent, invalid, journal, report definition, tui |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using PengRobinsonGas EoS with sprayFoam | Jabo | OpenFOAM Running, Solving & CFD | 36 | July 16, 2024 04:52 |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 07:47 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |