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

Write xy plot for every design point

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2017, 09:20
Default Write xy plot for every design point
  #1
New Member
 
Hannes
Join Date: Oct 2016
Posts: 6
Rep Power: 10
hannesjk is on a distinguished road
Hello!

I have a model of which i want to calculate the pressure difference between inlet and outlet for different geometry parameters. I use workbench to add all the different geometries in design points. I wonder if i can, for every design point, make Fluent write an XY-plot with pressure difference along a line between inlet and outlet. I can easily do this manually in Fluent, but is it possible to do it automatically for every design point?

Also is there a way to calculate the average pressure for all cross sections along a line instead of just for each point along a line?

Thanks!
hannesjk is offline   Reply With Quote

Old   March 1, 2017, 12:34
Default
  #2
New Member
 
Hannes
Join Date: Oct 2016
Posts: 6
Rep Power: 10
hannesjk is on a distinguished road
I found out that you can use macros to do this. The problem is that the macro is deleted every time workbench changes to a new design point. Is there a way to solve this?
hannesjk is offline   Reply With Quote

Old   July 4, 2017, 02:12
Default
  #3
New Member
 
mohammad
Join Date: May 2016
Location: Tehran
Posts: 17
Rep Power: 10
myaghoobi2 is on a distinguished road
Hi
An easy way to do it: you can run all your design points and save the data files of fluent. Then write a script for workbench that change the "current design point" and open CFD-post and then write that xy data you need.

about that problem you said : "The problem is that the macro is deleted every time workbench changes to a new design point" also you can write a really simple script -by means of record journal script that is available in Workbench>>file>>scripting- that in each design point load and interpret a macro at beginning of solution.

if you have got more questions about that scripting do not hesitate to contact me:
http://mech.sharif.ir/~yaghoobi_mohammad/

Tnx

Last edited by myaghoobi2; July 4, 2017 at 05:13.
myaghoobi2 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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 14:06
Parameter Design point update Workbench 14 snpradeep CFX 16 December 7, 2020 15:49
paraview - cell data or point data on plot over line bye bye my blue OpenFOAM 0 December 13, 2016 07:07
How to request cfx to write variables at a point? Uday CFX 1 February 6, 2006 00:42
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 16:56


All times are GMT -4. The time now is 13:39.