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

Workbench Design Points Update (Parametric Modelling)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By SalvusApfel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2016, 10:47
Default Workbench Design Points Update (Parametric Modelling)
  #1
New Member
 
Andrew Norfolk
Join Date: Feb 2016
Posts: 29
Rep Power: 10
Andrew Norfolk is on a distinguished road
Hi,

I'm currently running a project in ANSYS Workbench where i'm generating thermal resistance curves for forced convection over a specific heat sink profile (varying the length of the heat sink extrusion and the inlet velocity). I am doing this using the parametric modelling feature which allows me to set up one numerical study and use identical settings for the mesh, setup etc. across all the simulations.

I have successfully run a total of 50 simulations which have output the required data for the varying inlet velocities and extrusion lengths.....

I have since noticed that I have not correctly defined the thermal resistance and need to modify the definition. When I try to change the definition it does not simply update all the thermal resistance values but rather wants me to rerun all of the simulations to get the results again! This should not be necessary as all the information needed to reevaluate the resistance can be found in the existing results file and I choose to retain all of the individual simulation data files (mesh, geometry, results etc.).

Does anybody know I can get all my design points to update their output parameters with having to re-mesh and re-solve each one?

Many thanks,

Andrew Norfolk
Andrew Norfolk is offline   Reply With Quote

Old   June 20, 2016, 19:35
Default
  #2
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14
Kapi is on a distinguished road
You are basically running the model with different condition now hence it is asking you to re-run all the simulation again.
I dont think you can get results without re-running the simulations!
Kapi is offline   Reply With Quote

Old   June 21, 2016, 04:48
Default
  #3
New Member
 
Andrew Norfolk
Join Date: Feb 2016
Posts: 29
Rep Power: 10
Andrew Norfolk is on a distinguished road
The thermal resistance value I have redefined is a CFD Post Processing output expression.

Thermal Resistance=(volumeAve(T)@HEATSINK-293.15[K])/power

Whereas before I made the silly mistake of forgetting to minus the input temperate:

Thermal Resistance=(volumeAve(T)@HEATSINK)/power

The way I see it, this expression can just be re-evaluated using existing results to solve the modified expression, there is no need to re-solve the entire problem as the physics has not changed!
Andrew Norfolk is offline   Reply With Quote

Old   March 31, 2020, 06:01
Default Late answer
  #4
New Member
 
A
Join Date: Feb 2017
Location: Dortmund
Posts: 2
Rep Power: 0
SalvusApfel is on a distinguished road
Hey,
might be a bit too late but for future references:
Ansys Workbench supports the use of journals (Workbench -> File -> Scripting) which enables you to use python to update CFD-Post.
For example, I'm using this code to update 10 Desingpoints. Because the simulations are already done and I'd just added an additional CFD-post parameter, Ansys just updates CFD-Post module.


The code:

# encoding: utf-8
# 2020 R1
SetScriptVersion(Version="20.1.164")
for i in range(1, 10):
designPoint1 = Parameters.GetDesignPoint(Name=str(i))
Parameters.SetBaseDesignPoint(DesignPoint=designPo int1)
system1 = GetSystem(Name="CFX")
resultsComponent1 = system1.GetComponent(Name="Results")
resultsComponent1.Update(AllDependencies=True)



Regards
mirkolaw likes this.
SalvusApfel is offline   Reply With Quote

Reply


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
Parametric study by Ansys Workbench Sahar FaPerhu ANSYS 17 August 23, 2017 04:29
How to Connect Points in Design Modeler to make airfoil profile (2D) andrew_diablo CFX 3 July 7, 2017 06:23
Importing Points in Design Modeler danh ANSYS Meshing & Geometry 5 March 30, 2015 11:45
Changing CFX.def in WorkBench Parametric analysis sodjaj ANSYS 1 August 23, 2010 11:04
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36


All times are GMT -4. The time now is 12:44.