|
[Sponsors] |
January 15, 2016, 01:42 |
External Connections
|
#1 |
New Member
Join Date: Feb 2015
Posts: 5
Rep Power: 11 |
Hey guys,
I'm trying to link up ANSYS to an external python code for generating some geometry for optimisation. I've got it working as I want except that ANSYS doesn't write out the parameters when you change one of them and update. This means my code can't read in any parameters to build off. I've read through the documentation that exists, and everything seems to be in order, but that said, the documentation is clear as mud for a first time user of external connections. Have any of you guys had any experience with external connections and know what I'm doing wrong? A truncated version of my config file is below. HTML Code:
<Configuration CellName="Foilgen" SystemName="Aerofoil Update" Version="" ShowEditConfiguration="True"> <Instructions WorkingDirectory = "[insert directory here]"> <Instruction Type="Init"> <ParameterParsingRules> <Parameter Name="Wing 1 - Angle" Type="Input"> <Rule Type="File">currentProfile.inp</Rule> <Rule Type="StartLine">1</Rule> <Rule Type="PreString">Wing1_Angle=</Rule> <Rule Type="DataType">Double</Rule> </Parameter> </ParameterParsingRules> </Instruction> <Instruction Type="Update"> <Name>UpdateAerofoil</Name> <Script>AerofoilGenExec.py</Script> </Instruction> </Instructions> </Configuration> Last edited by DrDevice; January 20, 2016 at 01:54. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting an external B0_x field in MHD module | fferroni | FLUENT | 11 | August 1, 2022 09:20 |
CGNS Compiling | Diego | Main CFD Forum | 17 | December 21, 2014 02:40 |
Can't get data from OpenFoam to external solver using externalCoupled | perry | OpenFOAM Running, Solving & CFD | 4 | May 26, 2014 09:09 |
Can't Update FLuent Setup with active Connections in Mesh | dulka90 | FLUENT | 8 | December 9, 2013 12:36 |
Update boundary conditions calculated by an external program | CedricVH | OpenFOAM | 2 | January 15, 2010 12:55 |