|
[Sponsors] |
May 31, 2011, 04:35 |
UDF for periodic boundary condition
|
#1 |
New Member
Angie
Join Date: Nov 2010
Posts: 17
Rep Power: 16 |
Hi Guys
My case is gas solid flow in a pipe. Instead of simulating a long pipe , I take a small length using periodic BC. After every iteration the values from outlet will be updated in inlet. I want to write a UDF for this. Can anybody help me please. Regards Angie |
|
May 31, 2011, 09:07 |
|
#2 |
Senior Member
|
Hi Angie,
If you don't want to use FLUENT periodic BC (maybe for its restrictions ?), you have to loop over desired faces with an exhaustive search. (it's much more better to have same topologies in two faces) Regards, Amir Last edited by Amir; May 31, 2011 at 13:46. |
|
June 1, 2011, 03:02 |
|
#3 |
New Member
Angie
Join Date: Nov 2010
Posts: 17
Rep Power: 16 |
Thanks Amir for your reply.
Can you please elaborate it more for me to understand....... Regards Angie |
|
June 1, 2011, 06:45 |
|
#4 | |
Senior Member
|
Quote:
If it doesn't the case, for writing UDF and for simplicity, use the same topology on both faces which you want to project data. After that, you can use 2 procedures: 1) if you have used same topologies and strategies in creating faces, FLUENT searchs faces' elements in the same manner, so you can write data in a temporary files and then use them; in this method, you have to ensure same searching manner. 2) in this method you can use exhausting search between to faces to achive appropriate cells to which you want to project data. (using this method is not reasonable and also time-consuming and it isn't recommended) Regards, Amir |
||
April 30, 2012, 09:51 |
|
#5 |
New Member
Learner
Join Date: Nov 2011
Location: Ingolstadt
Posts: 27
Rep Power: 15 |
Hi Angeline, Amir
I assume the use of periodic BC is to reduce the computational domain. I have been using it to update the values of outlet to inlet in a 2D flow. I am basically using it to achieve a fully developed flow (Thermally and hydrodynamically). Amir: Could you pls clarify if I can really use periodic BC to achieve fully developed temperature profile? My results from simulations match with the analytical results but the temperature profile doesnt seem to maintain constant even after 10m length of the pipe. Is there anything I need to note before using periodic BC? Raghu |
|
April 30, 2012, 11:04 |
|
#6 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
Hi Raghu,
Thermally fully developed doesn't mean that temperature profile no longer changes. It is the relative shape of the profile that no longer changes, and the local convection coefficient becomes a constant independent of flow axis. |
|
November 7, 2015, 01:08 |
Reason for divergence of continuity in Periodic boundary condition
|
#7 |
Member
HK
Join Date: Oct 2015
Location: Madras
Posts: 31
Rep Power: 11 |
Hi all
I was working on Periodic Boundary condition for a wavy channel considering one module at a time in Fluent at very low Re (Laminar and steady). In this case except continuity both momentum and energy equations are converging. What might be the reason for this issue Thanks in Advance. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Resolved: Changing boundary condition with UDF according to pressure outlet boundary | alpemre | Fluent UDF and Scheme Programming | 12 | February 24, 2014 11:18 |
Boundary Condition Types Using Scheme and UDF | Nasir | FLUENT | 0 | September 15, 2008 22:54 |
UDF for pressure oulet boundary condition | Jubs | FLUENT | 0 | February 13, 2007 01:26 |
UDF for the boundary condition | Sridhar | FLUENT | 3 | July 13, 2001 20:18 |
UDF : boundary condition ID | Flav | FLUENT | 4 | June 28, 2001 10:52 |