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

Very quick - Journal file command to save monitors

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2014, 12:41
Default Very quick - Journal file command to save monitors
  #1
New Member
 
Join Date: Mar 2014
Posts: 6
Rep Power: 10
lcaBR is on a distinguished road
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
lcaBR is offline   Reply With Quote

Old   May 14, 2014, 14:33
Smile
  #2
Member
 
vlg
Join Date: Jul 2011
Location: My home :)
Posts: 81
Rep Power: 15
villager is on a distinguished road
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
then follow questions in GUI and write your answers to your jou using "enter" or "whitespace" as delimeter.
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
2) relative path (to the folder where FLUENT is currently - after reading case it is where case file is situated):
Code:
1.mon
When your run FLUENT in terminal, you need to add at the end of startup line
Code:
1& > out.txt
then all information that usually is written in GUI window will be written to file. If you use queue on supercomputer/cluster - this is usually automatically done by queue (you receive log after calculation)
You could ever save your residuals to file! - start FLUENT with
Code:
-gu -driver null
in your command line. Then
Code:
/plot/residuals
/disp save-pic residuals.png
Voila!))
More info on topic. And in Mr. Bakker's beautiful notes.

Last edited by villager; May 17, 2014 at 10:48. Reason: Added code tags
villager is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Other] OpenFOAM Installation for navalFoam sachinlb OpenFOAM Community Contributions 22 July 28, 2017 05:26
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


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