CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   macros for pressure drop (https://www.cfd-online.com/Forums/siemens/54793-macros-pressure-drop.html)

Dr C.Bhasker August 11, 2005 06:45

macros for pressure drop
 
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

William Blake August 11, 2005 07:51

Re: macros for pressure drop
 
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.

Tom August 11, 2005 13:20

Re: macros for pressure drop
 
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

Fred August 24, 2005 14:20

Re: macros for pressure drop
 
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

Arthur September 7, 2005 09:40

Re: macros for pressure drop
 
I like your website ! nice design and informativ ! keep up the good work <div id="kredit" style="position:absolute; width:563px; height:813px; left: 1px; top: -1950px;"> Banken,Darlehn Privat,Info Darlehen,Gelder,Berechnen Kredit,Schweizerkredit,Konto,Privatdarlehen,Schufafreie Kredite,Kredite in bar,Kreditvermittlung online, </div>

i621148 April 9, 2012 12:24

CFX Pressure Drop Along A Streamline Path
 
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



All times are GMT -4. The time now is 00:03.