-
-
November 13, 2018 at 5:17 pm
mazab17
SubscriberHi, I am running Fluent 19.1 on a cluster. I set up on my local computer to print the moment on the console as well save it in the output file (that I was doing on the version 16.2 and everything was fine) then I saved the Fluent (I did initialization before this set up) and saved the fluent and export .cas and .dat files and then run it on the cluster. But by running the moment was not printed on the console and no file was saved in my directory. Do you have any clue what is the problem?
-
November 14, 2018 at 4:32 am
Keyur Kanade
Ansys EmployeeCan you please give more information about how did you set up to print the moment on the console on your local computer?
-
November 14, 2018 at 5:34 pm
Rob
Ansys EmployeeCan you check you're saving the files to the ./folder as Fluent has a tendency to save full paths. Depending on your local machine & cluster it may be trying to save to a non-existent location. Another method is to run a short journal on the cluster once the case & data are read in to set the monitors saves.
-
November 15, 2018 at 6:04 am
-
November 15, 2018 at 2:13 pm
mazab17
SubscriberIn the solution section, report definition, I defined the moment at the zone that I am looking for and moment axis. In the report file and plot, I added the moment and check the print to console box. I saved the project and export the .cas and .dat files. Then I uploaded in my directory in the cluster and submitted the job. It's running but nothing printed and no files that included the moment was saved. BTW, I have the professional version that is provided by my supervisor, not the student version.
-
November 15, 2018 at 2:26 pm
mazab17
SubscriberThank you very much. Fluent should save in my repository in the cluster, and nothing was saved could be the reason but where could I look for for the files in none of my directories there is saved files from Fluent. Do you have an example of a journal file to save monitors?
-
November 15, 2018 at 3:09 pm
Rob
Ansys EmployeeI don't have an example journal, but can give pointers for you to write one.
Click into the TUI window and press <Enter>. This will bring up the top level menu list, type solve and press enter. Press enter again for the next level list. In there you'll see monitors, so type that and keep following the commands.
For your journal the line becomes
/solve/monitor/report-files stuff....
To move back up a level use q (lower case Q).
-
November 15, 2018 at 3:39 pm
mazab17
Subscriberthank you very much. Now, this is my journal file:
file
rc turbine15_f.cas
rd turbine15.dat
file /autosave/data-frequency 10
q
/solve dual-time-iterate 10000 20
exit
I wiil add:
/solve/monitor/report-files moment
to this journal.
-
November 15, 2018 at 6:51 pm
mazab17
SubscriberEven by using the script to set the monitors it is not saving or print on the console!!!
-
November 16, 2018 at 5:29 am
Keyur Kanade
Ansys EmployeeCan you please check Solving - Run Calculation - Advanced - Reporting interval? Set this interval to 1.
-
November 16, 2018 at 2:06 pm
Rob
Ansys EmployeeAs the monitors are already set up I think you just need to amend the file name in the case. As an aside, if you're running in batch mode there isn't a display to save so plotting won't do anything. If you're not running batch, just open the case and have a look where the monitor thinks it's saving the images to.
-
November 20, 2018 at 3:49 pm
mazab17
SubscriberActually, I don't want the plots, just want the file and print on the console. I am running on the cluster (it's a supercomputer and I have a directory on that computer and should save my files in the director). It's reasonable that maybe Fluent couldn't find the root to save the file but how I can change the path in the set up to save it in my directory. The other issue is that why it's not printed on the console. For example:
iter continuity x-velocity y-velocity z-velocity k omega time/iter
! 5190 solution is converged
5190 2.2550e-06 1.5823e-06 4.4377e-07 2.8704e-06 2.6502e-04 2.0181e-04 0:08:13 20
! 5191 solution is converged
5191 2.2621e-06 1.5823e-06 4.4364e-07 2.8704e-06 2.6493e-04 2.0175e-04 0:07:48 19
Flow time = 1.56542919s, time step = 3757
and no moment is printed here!!!
-
November 20, 2018 at 3:52 pm
mazab17
SubscriberI already set up to one.
-
November 20, 2018 at 4:16 pm
-
November 20, 2018 at 4:24 pm
mazab17
SubscriberThank you for your time. Yes, I did exactly as you showed in the above case. As you mentioned, fluent maybe couldn't find the path to save the files as it's running on the cluster but why it's not printing? I have a .dat file that all of the information (iteration, convergence and ...) are printed that it actually plays the console role but the moment is not printed. I don't know exactly what was updated from 16.2 to 19.1 version because I have the moment in the 16.2 with the same procedure but in 19.2 I don't have them. Since the version was updated in school, I don't have access to 16.2 anymore and I need to get the result from 19.1.
-
November 20, 2018 at 4:28 pm
DrAmine
Ansys EmployeeAre you writing a transcript file or does your job scheduler (if used) writes a transcript file. Sorry I need to ask this as If you re running in batch and using print to console then either it will print everything into standard output (not really helpful on cluster) or into transcript (if set in Fluent or via Job scheduler)
-
November 20, 2018 at 4:32 pm
mazab17
SubscriberI set up in the Fluent to print on the console, unfortunately, I couldn't find an example script to print moment on the console command. I would appreciate if you could provide me the command to print the moment on the console in the script file.
-
November 20, 2018 at 4:36 pm
-
November 20, 2018 at 4:52 pm
mazab17
SubscriberThank you very much Amine, I couldn't see your image it's damaged. I have a run script and I submit the run script to start the Fluent. the following is the command for the fluent.
fluent 3ddp -t24 -ssh -pib -cnf=${PBS_NODEFILE} -mpi=pcmpi -g -i info.jou >case2.dat
-
November 20, 2018 at 6:04 pm
DrAmine
Ansys EmployeeI can see the picture, strange!
In words: in Report Definition>Moment check if "Print to Console" is switched on.
Can you check the content of case2.dat if it does contain the required information or at least residuals?
100% safe: in Yjournalurna "info.jou" write at the beginning /file/start-transcript mytrans and at almost endt before exiting /file/stop-transcript
-
November 20, 2018 at 6:10 pm
mazab17
SubscriberYes, the print to console is on in the report definition. In my case2.dat I have the residuals for other variables:
iter continuity x-velocity y-velocity z-velocity k omega time/iter
! 5426 solution is converged
5426 2.1782e-06 1.5779e-06 4.1496e-07 2.8564e-06 2.4844e-04 1.8773e-04 0:08:13 20
-
November 20, 2018 at 6:14 pm
DrAmine
Ansys EmployeePlease paste some more lines the entire transient or two transients if possible
-
November 20, 2018 at 6:16 pm
mazab17
SubscriberUpdating solution at time level N... done.
iter continuity x-velocity y-velocity z-velocity k omega time/iter
! 5534 solution is converged
5534 2.1516e-06 1.5764e-06 4.0320e-07 2.8503e-06 2.4122e-04 1.8181e-04 0:08:13 20
! 5535 solution is converged
5535 2.1534e-06 1.5764e-06 4.0309e-07 2.8502e-06 2.4113e-04 1.8176e-04 0:07:48 19
Flow time = 1.70876367s, time step = 4101
5899 more time steps
-
November 20, 2018 at 6:18 pm
mazab17
SubscriberAnd this is my journal file:
file
rc turbine15_f.cas
rd turbine15.dat
file /autosave/data-frequency 10
q
/solve/monitors/Moment
/solve dual-time-iterate 10000 20
-
November 20, 2018 at 6:23 pm
DrAmine
Ansys EmployeePlease post a screenshot of Moment Report Definition.
-
November 20, 2018 at 6:31 pm
DrAmine
Ansys EmployeeJust to highlight one thing: You are still using the old "Monitors" to get the moments. They would actually give you normaly what you want but I recommend using the new Report DEfinitions. So Please just create a new Report Definition>Moment then give the necessary input and do not forget to write in a file using local paths and print to console.
-
November 20, 2018 at 7:00 pm
-
November 20, 2018 at 7:25 pm
DrAmine
Ansys Employee1/In R19.2 there is an option to set "Print to console" under Moment Report definition.
2/Please check if you can see the moment written in the console if you are running interactively (with GUI)
3/There is another to let you have the information of the moment every transient: Create for example an output parameter for the moment and then add a calculation activity every time step (or every N time steps) with /define/parameters/output-parameters/print-to-console yournameofparameter.
-
November 20, 2018 at 7:30 pm
mazab17
SubscriberUnfortunately, I don't have the access to 19.2 version since school provides 19.1 and as you can see there is no such an option in 19.1 and the mesh is very huge and I couldn't run it on my local computer to check if it's printed in GUI (33 million elements). Do you mean I add " /define/parameters/output-parameters/print-to-console moment" to the Journal file?
Thank you very much
-
November 20, 2018 at 7:40 pm
DrAmine
Ansys EmployeeNo add it as a Calculation Activity after you created an output parameter for the moment. Regarding the issue with large cell count: Just create a dummy example to check the issue with the print to console which you can then easily run on your local PC and to get familiar with TUI commands and Fluent in genereal!
-
November 21, 2018 at 5:27 pm
mazab17
SubscriberHello,
In the calculation Activity, there is no definition of parameters. You mean that I write a macro for that
-
November 21, 2018 at 6:01 pm
DrAmine
Ansys EmployeeNo: on the creation of the Report Definition just Click on Create Output Parameter.
Do not forget to test on your local machine for a dummy test the issue with the print to console interactively.
-
February 8, 2019 at 11:55 pm
reeaazz
Subscriber
"Hi, I am running Fluent 19.1 on a cluster. I set up on my local computer to print the moment on the console as well save it in the output file (that I was doing on the version 16.2 and everything was fine) then I saved the Fluent (I did initialization before this set up) and saved the fluent and export .cas and .dat files and then run it on the cluster. But by running the moment was not printed on the console and no file was saved in my directory. Do you have any clue what is the problem?"
Hi, did you find the solution for your problem? Because i am facing the similar problem since I want to retrieve a report files for moments, mass-flow-rate etc. from the cluster. My journal file that i submit with the job allows to run the calculation for certain iterations for certain no. of time steps and writes the case and data file. However, it does not create a report file for the monitors i did setup on my case file, normally it creates the report file if i run the case file in fluent on my desktop but, it does not do the same in cluster. So, i was wondering if you could be some help for me.
-
February 9, 2019 at 2:27 am
mazab17
SubscriberHi,
Regarding to the output file such as moment or other parameters I guess the software is looking to the default path (the path at the case file) to save files but as it couldn't file then we couldn't get the output files. I changed the cluster and asked the person who is in charged to take a look to the directory that software is installed and files were there. About the calculation for some iteration, if you could able to attach your journal and script file I can take a look.
-
February 9, 2019 at 12:34 pm
reeaazz
Subscriberwhat about printing it to console? did that work for you at the end? because in my case file i did ticked the option to enable to print the monitors in console but that did not work as well. Also the cluster did not give me any file for monitors in the default path where the data file and case file was returned from the cluster, in addition to that i also tried to change the file path in the case file by pasting the file path of my cluster account where everything is saved but still no chance. Below is journal and script file.
Journal file:
; Read case file
rc "/home/lyceum/arr1g15/IP_New/fan-housing-Setup-Output.cas.gz"
; Initialize the solution
/solve/initialize/hyb-initialization
; Set time step
/solve/set/time-step 0.000033
; No. of time steps
/solve/dual-time-iterate 1800 40
; Write case file
wc fan-housing-Setup-Output-%i.gz
; Write data file (compressed, iteration number included in file name)
wd fan-housing-Setup-Output-%i.gz
; Exit FLUENT
exit
yes
-
February 9, 2019 at 12:38 pm
reeaazz
Subscriberi cant post the script file for some reason
-
February 9, 2019 at 12:38 pm
reeaazz
Subscriber
#PBS -l walltime=24:00:00
#PBS -l mem=16g
#Change to directory from which job was submitted
cd $PBS_O_WORKDIR
# set number of processors to run on (using list of node names in file $PBS_NODEFILE)
nprocs=`wc -l $PBS_NODEFILE | awk '{ print $1 }'`
# load fluent module so that we find the fluent command
module load fluent
# Run default version of Fluent in 2d mode in parallel over $nprocs processors
# Fluent commands are in file elbow.jou, output messages go to output_file
fluent 2ddp -t$nprocs -cnf=$PBS_NODEFILE -g -i fan.jou > output_file_$$
-
February 9, 2019 at 12:39 pm
reeaazz
Subscriberactually thats the acript file above
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
2564
-
2078
-
1293
-
1106
-
459
© 2023 Copyright ANSYS, Inc. All rights reserved.