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

Help with monitoring CFX run using only .out file.

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2016, 07:42
Default Help with monitoring CFX run using only .out file.
  #1
Member
 
Sidharath
Join Date: May 2015
Location: UK
Posts: 65
Rep Power: 9
sidharath is on a distinguished road
Hello all,

I was running a transient simulation using CFX on HPC and saved the results at every timestep.
Unfortunately, space on server ran out before and run couldn't finish.
To overcome this, a friend suggested me to not to save the output at all ("none") and instead monitor the variables/monitor points for the stably converged solution and then save that timestep manually.

This approach works just fine but the problem is I am running the simulation on HPC and can only access the .out file which is being updated as the run goes on and .res file will only be generated once the simulation is completed.
Can anyone help me with the way to monitor the run in real-time using only .out file?
Is there a better way to approach this problem?

Thank you and help would be much appreciated.
sidharath is offline   Reply With Quote

Old   January 21, 2016, 17:12
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,170
Rep Power: 134
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Most simulations are monitored during progress with the output file. It is the normal way to do it. The CFX documentation describes the contents of the output file.

You should be looking at least at the convergence, time step sizes, any error/warning messages and the conservation at the end of the run.
ghorrocks is offline   Reply With Quote

Old   January 22, 2016, 01:48
Default
  #3
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 173
Rep Power: 13
monkey1 is on a distinguished road
Hmm funny way of "saving" disk space.
I would rather suggest:
1. Why do you write a trn file EVERY time step?
2. For the trn-file settings choose not to write out ALL variables (as it is standard setting) but just selected variables you really need...this reduces the disk space the most.

When I look at my cases: allthough my .out files are huge (smth. around 100 mb) it is nothing compared to the corresponding .res (around 8 GB) and the Results folders...but there the trn. files are "only" 1GB each because I selected only some variables to be saved instead of "All".
monkey1 is offline   Reply With Quote

Old   January 22, 2016, 09:01
Default
  #4
Member
 
Sidharath
Join Date: May 2015
Location: UK
Posts: 65
Rep Power: 9
sidharath is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Most simulations are monitored during progress with the output file. It is the normal way to do it. The CFX documentation describes the contents of the output file.

You should be looking at least at the convergence, time step sizes, any error/warning messages and the conservation at the end of the run.
Thank you for the reply, Glenn. I am trying to monitor the user points along with convergence and imbalance. Unfortunately, when I am opening the .out file with CFX solver manager, I can only see the text of .out file but not the user points or any plot in the monitor of solver manager.
For elucidation, I've attached the picture of solver manager I am getting by opening the .out file as well as the one I get while I run the simulation on my local machine (with user point data).
Can you please suggest any way to get the monitor the user points with .out file in my case. I do get mon file while running the simulation on HPC and I tried to change the extension of mon file to .res file but no luck.
Any pointers would be really useful.

Thank you.
Attached Images
File Type: jpg HPC_outfile.jpg (70.8 KB, 18 views)
File Type: jpg local_outfile_withuserpoints.jpg (101.6 KB, 22 views)
sidharath is offline   Reply With Quote

Old   January 22, 2016, 09:09
Default
  #5
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 19
singer1812 is on a distinguished road
Just monitor the run directory on your HPC.

Open up solver manager, select Monitor Run In Progress, navigate to your run directory (it should be a your_run_name_001.dir), then hit enter.

Solver manager should operate the same as on your PC. You should also be able to edit the case while it is running, same as on your PC.
singer1812 is offline   Reply With Quote

Old   January 22, 2016, 09:11
Default
  #6
Member
 
Sidharath
Join Date: May 2015
Location: UK
Posts: 65
Rep Power: 9
sidharath is on a distinguished road
Quote:
Originally Posted by monkey1 View Post
Hmm funny way of "saving" disk space.
I would rather suggest:
1. Why do you write a trn file EVERY time step?
2. For the trn-file settings choose not to write out ALL variables (as it is standard setting) but just selected variables you really need...this reduces the disk space the most.

When I look at my cases: allthough my .out files are huge (smth. around 100 mb) it is nothing compared to the corresponding .res (around 8 GB) and the Results folders...but there the trn. files are "only" 1GB each because I selected only some variables to be saved instead of "All".
Hi monkey1 (sorry),
Thank you for the tips on saving the space but my predicament is I am not sure about what all parameters I would need to look at for my problem (first time with this problem for me) and hence can't make a certain choice to ignore/not save some variables.
I am setting up an improvised case to save the output every 1 revolution of the wheel(72 timesteps; 5 deg/timestep). To be honest, I am still studying the sensitivity of timestep and I am also not sure about the number of revolution it would need to get stable/periodic results.
Can you suggest any way that would consume less space for the case of time step size independence study?
Thank you.
sidharath is offline   Reply With Quote

Old   January 22, 2016, 09:22
Default
  #7
Member
 
Sidharath
Join Date: May 2015
Location: UK
Posts: 65
Rep Power: 9
sidharath is on a distinguished road
Quote:
Originally Posted by singer1812 View Post
Just monitor the run directory on your HPC.

Open up solver manager, select Monitor Run In Progress, navigate to your run directory (it should be a your_run_name_001.dir), then hit enter.

Solver manager should operate the same as on your PC. You should also be able to edit the case while it is running, same as on your PC.
Hi singer1812,

As per my understanding, I don't think I can navigate to run directory as it is over an external network. It also needs usual authentication to access the terminal and hence, when I try to select the run directory in the solver manager I can only see/navigate to local machine folders.
Is there a way around it, to link up the HPC server to local computer so that CFX solver manager can monitor the run?

Thank you.
sidharath is offline   Reply With Quote

Old   January 22, 2016, 09:28
Default
  #8
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 19
singer1812 is on a distinguished road
You would need to talk to your HPC people on this. I have no idea how they have it setup.

How are you able to see the .out file? Are they syncing it back to the submit directory as the job is running?
singer1812 is offline   Reply With Quote

Old   January 22, 2016, 09:34
Default
  #9
Member
 
Sidharath
Join Date: May 2015
Location: UK
Posts: 65
Rep Power: 9
sidharath is on a distinguished road
Quote:
Originally Posted by singer1812 View Post
You would need to talk to your HPC people on this. I have no idea how they have it setup.

How are you able to see the .out file? Are they syncing it back to the submit directory as the job is running?
I am using a secure shell kind of software (winSCP) to transfer the files (def files and initial results) to the server and then executing the run on the server.
The .out file is being updated on real time in the run directory over the server and I am seeing the results from there.
It's more like working on a remote computer/server.
I'll talk to them if somehow we can access the "home" in server from the local machine directly but I highly doubt that since they use a private ssh key just to connect with the server.

Thank you
sidharath is offline   Reply With Quote

Reply

Tags
cfx 14.5, hpc cluster, monitoring variables

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
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 104 February 16, 2021 08:46
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46


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