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

CFD-Post run session on hpc

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By evcelica

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2019, 09:23
Default CFD-Post run session on hpc
  #1
Member
 
Thomas
Join Date: Nov 2017
Posts: 37
Rep Power: 8
hand90 is on a distinguished road
Dear all

Currently I have a large transient simulation which I try to post process in CFD-post. However as this can be tedious I am exporting data from multiple planes in the domain through a session file (perl script). This works fine if I have only a few planes. However I need to do the same for a large amount of planes (>100). This takes time and the workstation is hammering my harddrives as it accesses every time step individual.

So my question is how can I do exactly this but on an hpc. This may not go quicker but it is of my computer. Does anyone know how I can run CFD-post on the hpc, load a results file and play a session file?

Thank you for your suggestions.
hand90 is offline   Reply With Quote

Old   September 22, 2019, 19:19
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You might also consider a high-end post processing package like Ensight, Fieldview or Tecplot. They have are designed to handle massive data sets.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   September 23, 2019, 13:20
Default
  #3
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,167
Rep Power: 23
evcelica is on a distinguished road
Working off a SSD or RAID SSD will also speed this up compared to using hard drives. What type of drive is the .res file and transient files saved to?
flotus1 likes this.
evcelica is offline   Reply With Quote

Old   October 3, 2019, 10:02
Default
  #4
Member
 
Thomas
Join Date: Nov 2017
Posts: 37
Rep Power: 8
hand90 is on a distinguished road
Thank you very much for your replies. I agree with all suggestions. Working of an SSD definitely helps and a different post-processing package as well. The reason for moving the post-processing onto the HPC is not necessarily to speed it up, but to free local resources.

I did see that cfd-post can be run through the command window and I tried the following:

#!/bin/bash

#SBATCH -p hipri #select partition (hipri, medpri, lowpri)
#SBATCH -J Post #Job name
#SBATCH -o slurm-%j.out #Output
#SBATCH --nodes=1 #number of nodes
#SBATCH -n 1 #number of cores
#SBATCH -t 0-00:10 #time (D-HH-MM)


module load ansys/182
#SBATCH -cwd

cfx5post -batch HPC.cse


where HPC.cse is the session file I want to run. However I get the following errors:
viewer_ogl.exe: cannot connect to X server localhost:13.0
Socket::waitForConnection - Connection timeout after 120s

I assume that this has something to do with the interface. I am using PuTTY and have enabled X11 forwarding. Technically I don't need an interface but I assume that CFD-Post only runs with and interface? How do I set it up correctly so I can run it on the HPC?

This afternoon I was able to run exactly what I want to do on the cluster on my local machine through the command line window. I did notice that I had to adjust a few commands. But with the fillowing command line it did work on the local computer:
cfx5post -line -batch HPC.cse Test.res
However when running on the HPC I still have the same issue described above. Does anyone have an advice?

Last edited by hand90; October 3, 2019 at 12:16.
hand90 is offline   Reply With Quote

Reply

Tags
cfd-post, hpc


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
CFD Salary CFD Main CFD Forum 17 January 3, 2017 17:09
Post processing in CFD Post or Fluent. Blobs OpenFOAM Post-Processing 2 June 26, 2016 07:23
Shall I leave one core free when I run CFD simulation? Pierre1 Main CFD Forum 1 March 12, 2015 04:46
CFD Online Celebrates 20 Years Online jola Site News & Announcements 22 January 31, 2015 00:30
Which is better to develop in-house CFD code or to buy a available CFD package. Tareq Al-shaalan Main CFD Forum 10 June 12, 1999 23:27


All times are GMT -4. The time now is 20:53.