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

UDF to set velocity and pressure in inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2012, 11:15
Default UDF to set velocity and pressure in inlet
  #1
New Member
 
Gerardo
Join Date: Apr 2012
Location: Trento Italy
Posts: 5
Rep Power: 14
GerardX89 is on a distinguished road
Hello everybody,

I want to set velocity and pressure at the same inlet,
does anyone knows how can I do that?
I tried using Pressure inlet and try to set it as the Fluent tutorial manual said
into the modelling cavitation chapter:
"Step 6: Boundary Conditions
(a) Set the conditions for the mixture.
−→Boundary Conditions...
i. In the Boundary Conditions panel, keep the default selection of mixture in the Phase drop-down list and click Set....
ii. Enter 500000 for the Gauge Total Pressure. iii. Enter 449000 for the Supersonic/Initial Gauge Pressure.
If you choose to initialize the solution based on the pressure-inlet conditions, the Supersonic/Initial Gauge Pressure will be used in conjunction with the specified stagnation pressure (the Gauge Total Pressure) to compute initial values according to the isentropic relations (for compressible flow) or Bernoulli’s equation (for incompressible flow). Otherwise, in an incompressible flow calculation, the Supersonic/Initial Gauge Pressure input will be ignored by FLUENT. In this problem the velocity will be initialized based on the difference between these two values."


So I tried to use the Supersonic/Initial Gauge Pressure to set the velocity but it's not working. It seems to be ignored by FLuent.

I read that somebody may used a UDF to do that.
Can anyone please tell me how to do that or give to me a template so that I can have something to start working with?

Thanks in advance for your Help
Bests
Gerardo
GerardX89 is offline   Reply With Quote

Reply

Tags
inlet boundary condition, inlet pressure, udf, velocity inlet


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
Set inlet velocity and pressure in cavitational model GerardX89 FLUENT 1 July 5, 2012 17:17
can i set the velocity and pressure at the inlet at the same time by UDF minyang.cau FLUENT 0 July 15, 2009 00:14
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 03:15
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13


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