|
[Sponsors] |
Give Variable from Workbench Scripting to CCL |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 19, 2013, 08:29 |
Give Variable from Workbench Scripting to CCL
|
#1 |
New Member
Robert
Join Date: Apr 2013
Posts: 24
Rep Power: 13 |
Hello,
i want to run some CFX-Simulations with different parameters. Therefor i want to use Workbench Scripting. A short example: Code:
SetScriptVersion(Version="14.5") system1 = GetSystem(Name="CFX") setup1 = system1.GetContainer(ComponentName="Setup") TurbulenceModel = "SST", "BSL Reynolds Stress" #Array of Strings for i in TurbulenceModel setup1.SendCommand(Command=""" TURBULENCE MODEL: Option = Turb[i] #Insert Current Array String END # TURBULENCE MODEL: """) Does anyone know how to do this? I did not find any information about this in the help or the internet.
__________________
Regards Robert |
|
November 25, 2013, 04:47 |
|
#2 |
New Member
Robert
Join Date: Apr 2013
Posts: 24
Rep Power: 13 |
Ok,
I thought so, that there isn't a solution. My Workaround is to use a Text file, where i store the necessary values.
__________________
Regards Robert |
|
Tags |
ccl, perl, python, workbench scripting |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to give enough info to get help | linnemann | OpenFOAM | 8 | September 20, 2017 10:19 |
Embed explicitSetValue in chtMultiRegionFoam | samiam1000 | OpenFOAM | 2 | April 18, 2012 06:14 |
In CFX workbench, which surface, i have to select | senCFX | CFX | 19 | December 19, 2011 02:31 |
How to use / How to find IPMT? | camoesas | CFX | 2 | November 23, 2010 07:36 |
How to limit a variable | ash | OpenFOAM Running, Solving & CFD | 1 | June 26, 2008 21:32 |