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

Workbench And HPC Cluster

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2017, 02:27
Default Workbench And HPC Cluster
  #1
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Hi All

Does anyone have experience or information regarding how to use Ansys Workbench, with parameters and do different CFX Computations at a time in the HPC ? Or do I have to write different .def file and do the computations separately, with CFX as standalone ?

Regards
AS_Aero is offline   Reply With Quote

Old   April 25, 2017, 08:28
Default
  #2
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 13
-Maxim- is on a distinguished road
I tried to get RSM up and running once but that did not work reliably.
I ended up creating def files in Workbench and starting the jobs on the cluster via command line.
-Maxim- is offline   Reply With Quote

Old   April 26, 2017, 19:57
Default
  #3
New Member
 
DL
Join Date: Jun 2016
Posts: 18
Rep Power: 10
underrelaxed is on a distinguished road
It is possible, I do solves frequently enough directly on the cluster with Workbench, with and without RSM. Which version are you on and what are your parameters? The configuration of your parameters could dictate workflow.

Sent from my SM-G920T using CFD Online Forum mobile app
underrelaxed is offline   Reply With Quote

Old   April 26, 2017, 22:28
Default
  #4
Member
 
Join Date: Jan 2015
Posts: 62
Rep Power: 11
Christophe is on a distinguished road
Workbench makes this easy. Choose a parameter in CFX pre as a "workbench input parameter", run that case. In CFX post choose an expression as "workbench output parameter". Now you'll have a tab called Parameters. Fill in the table with different values for input parameter and then "update all design points" and you'll solve the new cases. In solve settings you have to choose "one job for every design point" and it will solve them all at once assuming your cluster has the solving resources available.


Sent from my iPhone using CFD Online Forum mobile app
Christophe is offline   Reply With Quote

Old   April 27, 2017, 01:24
Default Problem with the DesignPointLog.csv
  #5
New Member
 
Véronique Penin
Join Date: Mar 2014
Location: Lyon, France
Posts: 21
Rep Power: 12
Veronique Pe is on a distinguished road
Hello,

I use workbench in a cluster, with design point (with inlet and outlet parameters).
To launch a workbench run, the command line is :
Workbench -B -F Workbench.wbpj -R Journal.wbjn

where in the interactive window
Journal.wbjn is obtained by File/Scripting/Record Journal : Journal.wbjn
then click on "Update All Design Point"
then (after few seconds) File/Scripting/ Stop recording

Example : Journal.wbjn
# encoding: utf-8
# Release 18.0
SetScriptVersion(Version="18.0.351")
system1 = GetSystem(Name="CFX 1")
solutionComponent1 = system1.GetComponent(Name="Solution")
solutionComponent1.Update(Force=True)

Click on "Retained" in the parameter tab if you want to save each calculation

In my case, the run is alright, except that the file DesignPointLog.csv doesn't update. This file is a tab where all the outlet parameters should be saved.
Ansys customer service provides no solution, because our cluster is used with "slurm" command.
Is anyone has met this problem and solved it?

Thanks
Veronique Pe is offline   Reply With Quote

Old   April 27, 2017, 02:42
Default
  #6
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Hi All

My question is while meshing, I want 3 different mesh sizes and want to generate the mesh and use the same solver setttings / boundary conditions. And in my cluster I submit the job as .def and .ccl file as input file for the cluster. So how does workbench do that ?
MAMMEUR likes this.
AS_Aero is offline   Reply With Quote

Old   April 27, 2017, 07:19
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You set it up as 3 fluid simulation blocks in workbench.

But I would not do it in workbench, I would use CFX stand-alone and use the command line tools to script it together.

Either way works fine, use whatever you are familiar with.
ghorrocks is offline   Reply With Quote

Old   April 27, 2017, 08:02
Default
  #8
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Hi Glenn

So you mean to do 3 different meshes first and do 3 different .def file and so the simulation separately ? The thing is I want to do it in such a way that you set the 3 different mesh size as parameter and do the simulation and then get the result based on the 3 different mesh sizes
AS_Aero is offline   Reply With Quote

Old   April 27, 2017, 08:06
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I see. This is very easy in workbench. It can also be done using scripts but would be considerably harder. So workbench would be my first choice for this.
ghorrocks is offline   Reply With Quote

Old   April 27, 2017, 08:20
Default
  #10
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
So my question was how can we do it in Workbench. But I cannot open workbench on my cluster , only I can submit some jobs in cluster So am not sure how I can do it.
AS_Aero is offline   Reply With Quote

Old   April 27, 2017, 18:09
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This is easy using parameters in workbench.
ghorrocks is offline   Reply With Quote

Old   April 28, 2017, 02:48
Default
  #12
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Is there any tutorial that explains this how to generate it in linux machine ? As far as I heard Ansys workbench doesnt support linux and how does it generate different def file for different parameters ? Could you give me a short explanation how to do this. Would be really great.
AS_Aero is offline   Reply With Quote

Old   April 28, 2017, 02:57
Default
  #13
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Also to add up, for example I want to try with different inlet conditions (Velocity, Total Pressure ) with same outlet boundary condition.
And in each Inlet conditions I have different values .
So currently I am using CFX as standalone and generating the .ccl file and .def file and doing the computation. But it would be great if I had something to do with workbench directly and generate the .def file and ccl file and load it to my HPC machine and get the simulations done.
AS_Aero is offline   Reply With Quote

Old   April 28, 2017, 02:57
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Workbench is supported in Linux.

Workbench does all the new meshes, def files and everything else internally when you do it through parameters. If you do not know about parameters in Workbench then you better learn about them - it is quite a powerful system.

The best way to learn about parameters is to look at the workbench tutorials on the ANSYS Customer website. Not the CFX tutorials, parameters will be covered in workbench.
ghorrocks is offline   Reply With Quote

Old   April 28, 2017, 03:06
Default
  #15
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
But does it directly on the cluster and it does the simulation too ? I have used it locally in windows , but for huge jobs am bit scared or am not aware how I can submit it as a job in cluster. I just have the pbs script for CFX and it needs the input .def and .ccl file. And I guess workbench will need something similar right ? But anyways I will have a look in the Workbench Manuel.
AS_Aero is offline   Reply With Quote

Old   July 15, 2017, 07:15
Default
  #16
New Member
 
Jack
Join Date: Jul 2017
Posts: 1
Rep Power: 0
jack35 is on a distinguished road
did you sort this?? I need to do something similar i need a def file to submit to cluster but want to run several design points i have set up under parameters in workbench
jack35 is offline   Reply With Quote

Old   July 15, 2017, 20:48
Default
  #17
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The ANSYS documentation describes how to set workbench and CFX up for cluster operation. Then you can run it easily on the cluster.
ghorrocks is offline   Reply With Quote

Old   March 22, 2018, 05:24
Default
  #18
New Member
 
Hemi
Join Date: Mar 2018
Posts: 2
Rep Power: 0
flowdoggy is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
The ANSYS documentation describes how to set workbench and CFX up for cluster operation. Then you can run it easily on the cluster.
Do you have this link? I'm trying to submit a workbench and a journal file to a cluster that uses slurm and bash code and I need some guidance.
Thanks in advance
flowdoggy is offline   Reply With Quote

Old   March 22, 2018, 05:34
Default
  #19
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,885
Rep Power: 27
Gert-Jan will become famous soon enough
If you use CFX outside Workbench, you can easily create a batch file from a command line that can do multiple reuns when you are asleep.
With different ccl-text files, you can read different settings into a single definition file and do various studies.
Is this somehting that could be of help?
Gert-Jan is offline   Reply With Quote

Old   March 22, 2018, 05:37
Default
  #20
New Member
 
Hemi
Join Date: Mar 2018
Posts: 2
Rep Power: 0
flowdoggy is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
If you use CFX outside Workbench, you can easily create a batch file from a command line that can do multiple reuns when you are asleep.
With different ccl-text files, you can read different settings into a single definition file and do various studies.
Is this somehting that could be of help?
Hi Gert-Jan,
Thanks for the reply!
Yes this could be of help.
Would it work for fluent also if I'm running it through workbench?
flowdoggy is offline   Reply With Quote

Reply


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
Ansys workbench format for HPC zizoc1 ANSYS 1 April 24, 2024 06:38
Meshing on hpc using ansys mesh AS_Aero CFX 13 April 3, 2017 19:05
Ansys workbench HPC tailele ANSYS 4 November 25, 2016 07:16
Job submit code in HPC for Workbench beyonder1 CFX 0 January 6, 2016 11:18
Job submit code in HPC for Workbench beyonder1 ANSYS 0 January 4, 2016 08:58


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