|
[Sponsors] |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
Hey guys,
Is it possible to fix the static pressure in a fluid cell zone. For example lets pick a cylinder which has a mass flow inlet and a pressure outlet. Now can I create an interior face and fix pressure on that face or pick a layer of hex elements which form a fluid cell zone inside the cylinder and fix static pressure there (I know its easy to fix the velocities for the fluid cell zone but I need to fix the static pressure). Any suggestions!!!! Saurav |
|
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
I did it by a UDF, use DEFINE_ADJUST macro for that
|
|
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
hi Aimir:
Would you please say more about UDF, I meet the same problem but I don't know how to program it in C language. Please show us some similar examples. Thanks in advance. kevin |
|
![]() |
![]() |
![]() |
#4 |
Guest
Posts: n/a
|
Hi Kevin, The best way to learn how to develop your own UDF codes is to read UDF manual carefully. There're a bunch of examples there that help you get started. You may also check http://www.fluentusers.com/ to get complementary examples.
Let me know what would you like to do by UDF and I may have something useful for your application. |
|
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cell Reynolds Number | laliong | Main CFD Forum | 12 | September 17, 2019 03:18 |
Dynamic Mesh.. Layering.. cell addition | kedarj14 | OpenFOAM Programming & Development | 0 | January 29, 2010 01:48 |
Cell face values computation un unstructured grids | Sergio Rossi | Main CFD Forum | 2 | May 28, 2006 10:04 |
strain rate at arbitrary position in a cell | K. Kevala | FLUENT | 0 | February 4, 2004 17:14 |
high difference between cell and nodal values | Trilok | FLUENT | 2 | November 13, 2003 03:38 |