|
[Sponsors] |
Using a journal file to apply periodic boundary conditions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 23, 2014, 11:51 |
Using a journal file to apply periodic boundary conditions
|
#1 |
New Member
Arvind
Join Date: Apr 2014
Location: USA
Posts: 20
Rep Power: 12 |
I am working on a periodic fluid flow and heat transfer problem in a pipe.For the fluid flow part I will have to write the velocity profiles at pipe outlet and read them at the inlet for each period till the flow is fully developed and for the heat transfer part I will have to write the outlet temperature at the end of each period, re-scale the profiles using a matlab code and read them at the inlet till thermally fully developed condition is reached. I am not familiar with journal scripts in fluent so please suggest a way to automate the process using TUI feature of fluent or by using a journal file.
|
|
September 23, 2014, 14:59 |
|
#2 |
Senior Member
|
Fluent already has a periodic B.C., so you don't need to do it "by hand". Is there a particular reason for doing so?
In case you still want to do it (maybe you want to test a specific scaling for the temperature), you can check this: http://www.cfd-online.com/Forums/blo...nt-part-4.html It is an UDF for mapping the velocity fields (adding the temperature is trivial) from one generic face to an inlet one during the simulation. In your case you should just set the two faces as the inlet and outlet of your domain and follow the instructions in the UDF. Still, if just periodicity is what you want, then use the default one already implemented. |
|
September 23, 2014, 17:11 |
|
#3 | |
New Member
Arvind
Join Date: Apr 2014
Location: USA
Posts: 20
Rep Power: 12 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 03:30 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 10:03 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 16:02 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 17:44 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 15:55 |