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

Defining a Loss Coefficient after Run

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2015, 10:42
Default Defining a Loss Coefficient after Run
  #1
New Member
 
Alex
Join Date: Jun 2015
Posts: 22
Rep Power: 0
MrNavierStokes is on a distinguished road
Hello CFD-Community,

I am currently working on a 2D simulation of a flow-through cascade and would like to use a UDF for the post-processing task. I have no experience in C language at all and need some help.
The UDF should use the Facet-Maximum value of the total-pressure on the INLET to define the loss coefficient \zeta_{(y)} as a new variable called "Zeta", so I can later use "Zeta" to calculate the mass-averaged value of it over a defined plane.

So I need the UDF to take the Facet-Maximum value of the total-pressure on the INLET and calculate:

\zeta_{(y)} = \frac{p_{tot,max,inlet} - p_{tot (y)}}{\rho \cdot c^{2}_{inlet}}

Where p_{tot (y)} refers to the Facet values of the total-pressure on a plane in my flow-field.

So how do I start?

I hope somebody can help me.

Thank you very much!

Regards
MrNavierStokes 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
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Velocity profile disturbance due to loss coefficient rks171 Main CFD Forum 3 May 25, 2012 17:30
porous medium - defining loss coeff for two fluids sudhakar CFX 0 December 9, 2006 08:11
Loss coefficient at openings Forrest CFX 1 June 11, 2005 18:09
Need help for loss coefficient of elbow diffuser Pete Main CFD Forum 0 November 9, 2004 02:54


All times are GMT -4. The time now is 15:17.