|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 13 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
DL
Join Date: Jun 2016
Posts: 18
Rep Power: 10 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Join Date: Jan 2015
Posts: 62
Rep Power: 11 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Véronique Penin
Join Date: Mar 2014
Location: Lyon, France
Posts: 21
Rep Power: 12 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14 ![]() |
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 ? |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14 ![]() |
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.
|
|
![]() |
![]() |
![]() |
![]() |
#11 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
This is easy using parameters in workbench.
|
|
![]() |
![]() |
![]() |
![]() |
#12 |
Senior Member
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14 ![]() |
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.
|
|
![]() |
![]() |
![]() |
![]() |
#13 |
Senior Member
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#14 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#15 |
Senior Member
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14 ![]() |
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.
|
|
![]() |
![]() |
![]() |
![]() |
#16 |
New Member
Jack
Join Date: Jul 2017
Posts: 1
Rep Power: 0 ![]() |
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
|
|
![]() |
![]() |
![]() |
![]() |
#17 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
The ANSYS documentation describes how to set workbench and CFX up for cluster operation. Then you can run it easily on the cluster.
|
|
![]() |
![]() |
![]() |
![]() |
#18 | |
New Member
Hemi
Join Date: Mar 2018
Posts: 2
Rep Power: 0 ![]() |
Quote:
Thanks in advance |
||
![]() |
![]() |
![]() |
![]() |
#19 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,885
Rep Power: 27 ![]() |
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? |
|
![]() |
![]() |
![]() |
![]() |
#20 | |
New Member
Hemi
Join Date: Mar 2018
Posts: 2
Rep Power: 0 ![]() |
Quote:
Thanks for the reply! Yes this could be of help. Would it work for fluent also if I'm running it through workbench? |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
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 |