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

Using a journal file to apply periodic boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 11
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: 2,152
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
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: 11
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


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 17:30.