|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Mohammed
Join Date: Apr 2012
Posts: 2
Rep Power: 0 ![]() |
Hello,
I'm modeling transient inlet pressure conditions on FLUENT for the first time. The function is rather easy: P=10+2t ; where t=time (s) But I need P to max out at 50Pa. I've read I can do this using User-Defined Functions on C language. Is this necessary? If it is, I should just write the code and make sure to include #include "udf.h" and UDF_PROFILE (inlet_pressure, passed-in variables)? and how would I know what the correct names of the passed-in variables? Also, once the file is written, all i have to do is compile it using the DEFINE window when I start the calculation set-up? Please advise me if I am wrong about anything. Thank you in advance for your help. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
xrs333
Join Date: Aug 2010
Posts: 125
Rep Power: 18 ![]() |
It's more straightforward to use transient profile:
( (pressure transient 3 0) (time 0 20 21) (pressure 10 50 50) ) |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| periodic boundary conditions fro pressure | Salem | Main CFD Forum | 21 | April 10, 2013 01:44 |
| Problems with boundary conditions - velocity and pressure not zero | M_Flodin | FLUENT | 0 | April 1, 2011 10:32 |
| Boundary Conditions : Total Pressure or Velocity | Gearb0x | OpenFOAM Running, Solving & CFD | 2 | February 28, 2011 22:18 |
| Does star cd takes reference pressure? | monica | Siemens | 1 | April 19, 2007 12:26 |
| what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |