|
[Sponsors] |
January 15, 2015, 05:06 |
CFX problems I got in Workbench
|
#1 |
Senior Member
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 16 |
Hi,
I like using Workbench ‘updates all design points’ button (as shown in the attachment1). Because it can run or rerun all the design points by just one click. But there are five things about it I found are inconvenient (even boring) to the users. Hope someone who knows Workbench better could give me some suggestions on operating on CFX. 1. Once I click on the ‘updates design points’ button, it will be troublesome to stop the simulation task during the running of the simulation. For example, I have 10 design points. I click on the button ‘updates design points’ button. Then the simulations are running one by one as planned. But at the third simulations, I find there is a mistake in the stimulation setting. So I decide to stop the simulations queue. But it’s not easy. I have to stop them one by one. It is time consuming to stop one stimulation then wait for the start of the next simulation then stop it. In this case, I have to spend quite some time to stop 8 CFX simulations one by one. So when I get into this situation, I typically have to use task manager to shut down Workbench. Then I lost all the output data of the previous simulations (in this case, first and second simulations). Is there any nicer way to pause the simulations? 2. We can let the Workbench save the design point simulation result files. After that, if I rerun a design point, e.g. design point 2, Workbench doesn’t use the previous running result file of design point 2 as the initial condition for the new simulation. Instead, it still use the ‘Current’ (attachment2) result file as the initial condition. This is not reasonable for some cases. How to change the initial condition setting so that, for example, new simulation of design point 2 could use the previous simulation results file of design point 2 as the initial condition? 3. After I run all the simulations for all the design points, I find I need to extract one more parameter so I add a new output parameter. But after I add this new output parameter, check marks are shown in the list of this parameter (attachment3). I can’t have Workbench to read the value of that output parameter from the design points result files directly even though the simulation results files were all well saved before. In order to read the value of the new added output parameter, I have to either rerun all the simulations or open those design points simulation result files one by one to read it. Both of the two ways are time wasting. How to output new parameters from already saved design points result files more easily? 4. Every time I rerun the simulations of all the design points. The results files are accumulated with the name 001 002 003…..(attachment 4 with 007 008). This accumulation of results files occupies the hardware space very rapidly when the simulations are large. Every time when I got into this problem, I delete the old useless design points result files manually one by one to save hardware space. That’s tedious. How to better deal with this problem? 5. I always got this kind of errors (attachment5) when I update design points and run design points simulations. What does the error message mean? Hope I have described the CFX Workbench problems clearly. If there’s anything not clear in my questions, let me know and I will explain it more clearly.
__________________
Best regards, Meimei |
|
January 15, 2015, 06:00 |
|
#2 |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
I can definitely confirm all the "bugs/features" that you´ve reported. And there is pretty nothing you can do about it.
One trick i am doing is:
since dp0 is empty, no unnecessary results will be copied to the dp-folders. For the initialization there is an option for it to use the very last result, but i am not sure if this is pointing to the "last result in the dp (e.g. *_dpx_007.res when running for the 8th time)" OR the last result from the "parent setup (which basically is the dp0 case)". Regarding the last error(5): i think the expression in Pre is causing an error. Did you use any blanks in the names? |
|
January 19, 2015, 10:45 |
|
#3 | |
Senior Member
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 16 |
Quote:
Also thanks for that trick. It's helpful. Anyone has any other clue to the other problems?
__________________
Best regards, Meimei |
||
March 13, 2015, 09:42 |
|
#4 | |
Member
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11 |
Quote:
|
||
March 13, 2015, 09:58 |
|
#5 | |
Member
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11 |
Quote:
By the way, what do you mean by 'via the wb-container,solution'? |
||
March 13, 2015, 10:49 |
|
#6 |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
Always delete via the wb-project schematic. Right-Click above "solution" (e.g. delete all results...) in the corresponding "FluidFlow" container in the wb-schematic.
I am not sure if the above works (#2) if you want to run subsequent simulations and start one from the results of the previous. I guess "last results" means the last loadable *.res in the dp-folder NOT the last results from another or previous dp. |
|
March 14, 2015, 02:08 |
|
#7 | |
Member
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11 |
Quote:
I tried ‘Clear Old Solution Data’ firstly.It clear all the old solution result files in dp0 folder but not the latest one. So when I run the other design pointssimulations afterwards, workbench will still copy the latest result file to thedp1, dp2… folders which occupy too much hardware space. Then I tried ‘Clear Old Solution Data’. Inthis way, Workbench does clear all the result files in the dp0 folder andnothing will be copied to the design points folders. This won’t generate anynon-necessary files and save space. But in this way, the design pointsimulations won’t have any initial solution to start from at all. Thesimulations will just start from a CFX default solution. Sometimes we need aclose initial condition to start with to accelerate the calculations. |
||
March 14, 2015, 03:16 |
CFX problems I got in Workbench
|
#8 |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
You can choose a fixed initial value file when setting up the solver and then save these settings. So the solver settings will be used for all Design Points. I guess a dynamicall ini file from a previous DP is not available out of the box but a fixed one for all dp. And since you can place the ini file anywhere (except for the user file directory of the DP), it won't be copied arround by the Design Point Loop.
|
|
March 20, 2015, 02:46 |
|
#9 | |
Member
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11 |
Quote:
Do you mean I shall open CFX pre at Workbench and set a simulation initial condition as shown in the attached figure? I tried and it doesn’t work. Workbench still copies the initial condition to design points folders. |
||
March 20, 2015, 04:43 |
|
#10 |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
hmmm.. okay. I wasn't aware of that.
Last chance would be to use the solver entry from the wb-schematic to specify the ini-file instead of the solver spec. in cfx-pre Carefully check the conflict settings in the wb-schematic if you already setup these parameter in cfx-pre But i would guess that wb is copying the files anyway, but give it a try. So, turns out to be a bug looking like a feature. |
|
March 20, 2015, 09:58 |
|
#11 |
Member
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11 |
So it seems that nobody could give a solution to this annoying bug?
|
|
June 28, 2017, 02:50 |
associate different res for each designpoint
|
#12 |
New Member
i man
Join Date: Feb 2013
Posts: 10
Rep Power: 13 |
I use parameter study in workbench design point in order to run cfx. There is two major way for initilization: update from current or update design points in order.
But i want to initilize ech design point with secefic res that i had. for example initilize dp0 from cfx006.res and initilize dp1 from cfx003.res. Is it possible? |
|
June 28, 2017, 19:43 |
|
#13 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
In that case I would not do it using workbench but I would use the command line option to write a batch file which does all your simulations, and you can define any initial conditions for any run you like.
|
|
July 3, 2017, 02:49 |
in batch mode with slurm comman
|
#14 |
New Member
Véronique Penin
Join Date: Mar 2014
Location: Lyon, France
Posts: 21
Rep Power: 12 |
Good morning,
I met I think all these problems... In you launch your wb in batch mode, no DesignPointLog.csv will be upgraded if you need to use "slurm" command in you job. Ansys is aware of this problem and provides no solution.... Véronique |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about Workbench CFX error message | Anna Tian | CFX | 6 | June 21, 2014 13:13 |
CFX conjugate heat transfer problems | dingsheng1206 | CFX | 7 | February 13, 2014 14:29 |
Import Fan 3D Model - Workbench or CFX? | Stewart Long | CFX | 2 | October 28, 2008 05:05 |
CFX -5.7.1 Intermittent Licensing Problems | James Date | CFX | 4 | February 14, 2005 07:22 |
CFX - Parallel Problems | CFX User | CFX | 0 | November 1, 2004 19:12 |