|
[Sponsors] |
Very quick - Journal file command to save monitors |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 13, 2014, 13:41 |
Very quick - Journal file command to save monitors
|
#1 |
New Member
Join Date: Mar 2014
Posts: 6
Rep Power: 12 |
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 |
|
May 14, 2014, 15:33 |
|
#2 |
Member
vlg
Join Date: Jul 2011
Location: My home :)
Posts: 81
Rep Power: 18 |
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 /disp save-pic residuals.png More info on topic. And in Mr. Bakker's beautiful notes. Last edited by villager; May 17, 2014 at 11:48. Reason: Added code tags |
|
October 18, 2022, 13:26 |
Export monitors files and .cdat files
|
#3 |
New Member
Join Date: Jul 2021
Posts: 23
Rep Power: 5 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] OpenFOAM Installation for navalFoam | sachinlb | OpenFOAM Community Contributions | 22 | July 28, 2017 06:26 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |