CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Using a journal file to apply periodic boundary conditions

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 23, 2014, 11:51
Post Using a journal file to apply periodic boundary conditions
  #1
New Member
 
Arvind
Join Date: Apr 2014
Location: USA
Posts: 20
Rep Power: 4
Arvind_CFD is on a distinguished road
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.
Arvind_CFD is offline   Reply With Quote

Old   September 23, 2014, 14:59
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 566
Blog Entries: 14
Rep Power: 18
sbaffini will become famous soon enough
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.
sbaffini is offline   Reply With Quote

Old   September 23, 2014, 17:11
Default
  #3
New Member
 
Arvind
Join Date: Apr 2014
Location: USA
Posts: 20
Rep Power: 4
Arvind_CFD is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
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.
I have tried the periodic condition in fluent but had issues with convergence for my pipe geometry so I am planning to do it this way. Thanks for the inputs.
Arvind_CFD is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Pre-Processing 24 August 23, 2015 22:41
swak4foam building problem GGerber OpenFOAM Installation 54 April 24, 2015 16:02
Swak4Foam funkyDoCalc with OF2.3 massflow NiFl OpenFOAM 8 March 24, 2014 21:06
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 16:55


All times are GMT -4. The time now is 21:12.