Transient boundary condition with Fluent ANSYS12
hi everyone, i need to set a transient boundary condition for a pressure outlet.
I want it to decrease linearly from 160000 Pa to 60000 in 0.2 secs With StarCCM+ i use this field function Quote:
With fluent, i tried the profiles like stated in the manual (chapter7.1.9) but it doesnt seem to work. How can i do this either way ?? thx Djan |
I think the best way to do this is with an UDF. Something like that:
Code:
|
wow thank you,i didnt expect an answer so quickly i am really a novice in C so i dont get all of
what you wrote there but it seems to work so it's GREAT ! :D Can you explain the Code:
face_t f; |
face_t is a data type specific to FLUENT. It is used to store an integer that identifies a particular face within a face thread (a boundary is a face thread). The macro begin_f_loop need it to work. Actually, begin_f_loop will give a value to the variable "f" that represents the current face under calculation. This value change at each loop. There is a lot of macro that use this value to give useful information about the given face, like its area or its temperature, as examples.
|
All times are GMT -4. The time now is 15:04. |