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

Transmit parameter introduce cyclic dependency

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2016, 19:23
Default Transmit parameter introduce cyclic dependency
  #1
New Member
 
hukaiming
Join Date: Aug 2016
Posts: 1
Rep Power: 0
hzhkm1985 is on a distinguished road
Hello everyone!
I want to apply "user defined remeshing" to realize the remesh function in CFX, when I run the script file(which suffix is wbjn) which including the part of transmiting the parameter P4 of Result to the P1 of the Geometry,the error message of "Trying to define derived expression "P4" for parameter "P1" will introduce cyclic dependency" is appearing. my code as following. Who have encountered this problem, how did you resolve it?
thank you!!!

# encoding: utf-8
SetScriptVersion(Version="14.0")
Open(FilePath="E:/lizi/rotation.wbpj")
system1 = GetSystem(Name="CFX")

# set parameter and update the geometry
designPoint1 = Parameters.GetDesignPoint(Name="0")
parameter1 = Parameters.GetParameter(Name="P1")
designPoint1.SetParameterExpression(
Parameter=parameter1,
Expression="P4")
Refresh()

# update mesh
system2 = GetSystem(Name="SYS")
component1 = system2.GetComponent(Name="Mesh")
component1.Update(AllDependencies=True)
hzhkm1985 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 03:04
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 02:40.