# macros for pressure drop

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 August 11, 2005, 06:45 macros for pressure drop #1 Dr C.Bhasker Guest   Posts: n/a Sponsored Links Can some body help me to write a macro in Star-Cd to compute pressure drop. Where exactly macros are located and how to access these macros in pro-star post processing? Dr C.Bhasker

 August 11, 2005, 07:51 Re: macros for pressure drop #2 William Blake Guest   Posts: n/a http://www.adapco-online.com/adapco_...t/drpost9.html http://www.adapco-online.com/adapco_...sh4/index.html This is sort of consulting work and if you are willing to pay it should be no problem to do this for you.

 August 11, 2005, 13:20 Re: macros for pressure drop #3 Tom Guest   Posts: n/a Instead of using a macro, I wrote one as a panel. The pressure drop is measured between two different cell types. I just used cset,newset,zone and chose the regions. The pressure drop then is calculated using: oper getc ptot 1 oper getc volu 2 oper mult 1 2 3 cset,newset,type,75 *get prdt1 rtot 3 *get volu1 rtot 2 *set pin prdt1 / volu1 cset,newset,type,76 *get prdt2 rtot 3 *get volu2 rtot 2 *set pout prdt2 / volu2 *set DP pout - pin I hope this helps. Tom

 August 24, 2005, 14:20 Re: macros for pressure drop #4 Fred Guest   Posts: n/a Man, I don't know how you guys can stand using Star-CD! This is ugly. In CFX, you just write a simple, readable expression: Pressure Drop = areaAve(Pressure)@Outlet - areaAve(Pressure)@Inlet You can also use a mass flow average, arithmetic average, etc. -Fred

 September 7, 2005, 09:40 Re: macros for pressure drop #5 Arthur Guest   Posts: n/a I like your website ! nice design and informativ ! keep up the good work
Banken,Darlehn Privat,Info Darlehen,Gelder,Berechnen Kredit,Schweizerkredit,Konto,Privatdarlehen,Schufafreie Kredite,Kredite in bar,Kreditvermittlung online,
Sam0508 likes this.

April 9, 2012, 12:24
CFX Pressure Drop Along A Streamline Path
#6
New Member

Mike Jenkins
Join Date: Apr 2009
Location: Kansas City
Posts: 9
Rep Power: 10
Your post was from a LONG time ago but I just found it extremely usefull.
Do you have any tips on graphing the pressure drop through a streamline in CFX?
The only thing I have found is to create a polyline using points and then graph pressure along it?

Quote:
 Originally Posted by Fred ;169591 Man, I don't know how you guys can stand using Star-CD! This is ugly. In CFX, you just write a simple, readable expression: Pressure Drop = areaAve(Pressure)@Outlet - areaAve(Pressure)@Inlet You can also use a mass flow average, arithmetic average, etc. -Fred

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post david FLUENT 1 February 17, 2014 12:51 Sandilya Garimella FLUENT 4 May 4, 2012 06:12 Madhukar Rapaka FLUENT 3 November 12, 2005 12:58 Thiyaga FLUENT 0 June 11, 2005 00:27 subhra Main CFD Forum 0 May 29, 2005 12:43