Very quick - Journal file command to save monitors
Hi all,
I'm making a journal file which simply perform some iterations and save some files. I'm monitoring two variables, mass flow through an outlet surface and maximum mach number in the domain. Could anyone tell me the command line to save these two output files (.out) into an specific folder? Fluent does not ask me the directory folder, only if I want to save a monitor or not. Where does it save it, and how to change this? In Linux, the command to save data files is just wd /home/folder_name Something similar to monitors? Also, is it possible to save residuals? Appreciate the time! Cheers |
I can't find any way to change monitor settings after its creation.
So, the solution is to specify all settings at monitor creation. If you wanna change file/folder during calculation - you need to delete and create monitor once again. To create monitor: Code:
/solve/monitor/surface/set-monitor When you are asked about "write file", answer "yes". Then your enter path to file. You could use 1) absolute path, e.g. Code:
/home/john/work/1.mon Code:
1.mon Code:
1& > out.txt You could ever save your residuals to file! - start FLUENT with Code:
-gu -driver null Code:
/plot/residuals More info on topic. And in Mr. Bakker's beautiful notes. |
Export monitors files and .cdat files
Hi Villager - Im trying to do something similar. I created the report definitions and the file name using the GUI. I normally create a case file and import that to a supercomputer/cluster and run batch simulations. Then I use a batch script and this script for the commands (below) and convert it to the Linux language using "dos2unix".
file/read-case-data 03m_21000_result.cas.h5I typed the command-1 and command-2 on my Fluent case using the execute commands window. They look like this: file/write-data filename.dat file/write-case filename.cas The execute commands window allow me to specify the frequency to write the files every # time steps, # flow time, or # iterations. Im trying to do something similar to save the report files and export files (cdat-for-cfd-post&-ensight). How can I create a command to save the report file (monitors files as .out or .txt) and the export files (.cdat) in the supercomputer/cluster? Should I write the command in the execute command window or should I write it in my run script? How do I specify that I want to save the file in the folder of the supercomputer/cluster? I saw these commands but I dont know how to go from there. file/transient-export/cdat-for-cfd-post-&-ensight file/export/cdat-for-cfd-post-&-ensight report/surface-integrals/area-weighted-average As I mentioned, I already created the report definitions and the files using the GUI. I just need the commands to save the files using the execute commands window or my run script. Thank you, IBC |
All times are GMT -4. The time now is 09:28. |