# Maintaining average temperature at Inlet in cyclic Boundary condition

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 8, 2018, 03:18 Maintaining average temperature at Inlet in cyclic Boundary condition #1 Member   HK Join Date: Oct 2015 Location: Madras Posts: 31 Rep Power: 10 Dear all, I want to maintain the average temperature at the inlet to fixed value of 1 in my cyclic boundary condition. (streamwise periodic heat transfer) I have seen the fvOption utility patchMeanVelocityForce to fix the average velocity at any patch to desired value. Is there any utility available in OpenFOAM to fix the average temperature of any patch? Thanks in advance Last edited by Luttappy; May 16, 2018 at 06:05.

 May 16, 2018, 06:01 Maintaining average temperature at Inlet in cyclic Boundary condition #2 Member   HK Join Date: Oct 2015 Location: Madras Posts: 31 Rep Power: 10 Since i am not dealing with actual temperature and my temperature range is from 0 to 1, this can be implemented in OpenFOAM very easily by following way. Find the average temperature (Tavg) at INLET after every time step after solving energy equation. Divide the temperature field of whole computational domain by Tavg (T=T/Tavg) Proceed to next time step In some cases people suggest this procedure after every N time step rather than every time step. This N can be found by trial and error. If we don't fix average temperature at INLET to a constant value, temperature value inside the domain can go to very very low value (Cold walls + hot fluid entering case) or very very high value (Hot walls + cold fluid entering case). This is because of the cyclic boundary condition applied at INLET and OUTLET. Please correct me if i am wrong

 June 1, 2018, 15:14 #3 New Member   Samson Join Date: Apr 2016 Posts: 4 Rep Power: 10 Hello Luttappy, did you find out how to set the value for the temperatur with a cyclic inlet boundary condition? Greetings

June 21, 2018, 02:04
#4
Member

HK
Join Date: Oct 2015
Posts: 31
Rep Power: 10
Quote:
 Originally Posted by SamuelPei Hello Luttappy, did you find out how to set the value for the temperatur with a cyclic inlet boundary condition? Greetings
I resolved it in this way.

Quote:
 Originally Posted by Luttappy Since i am not dealing with actual temperature and my temperature range is from 0 to 1, this can be implemented in OpenFOAM very easily by following way. Find the average temperature (Tavg) at INLET after every time step after solving energy equation. Divide the temperature field of whole computational domain by Tavg (T=T/Tavg) Proceed to next time step In some cases people suggest this procedure after every N time step rather than every time step. This N can be found by trial and error. If we don't fix average temperature at INLET to a constant value, temperature value inside the domain can go to very very low value (Cold walls + hot fluid entering case) or very very high value (Hot walls + cold fluid entering case). This is because of the cyclic boundary condition applied at INLET and OUTLET. Please correct me if i am wrong

September 11, 2018, 15:44
#5
New Member

anonymous
Join Date: Nov 2016
Posts: 29
Rep Power: 9
Quote:
 Originally Posted by Luttappy I resolved it in this way.
Hi Luttappy, could you please share your code for this? Maybe your .C files would help. Thanks.

 September 25, 2018, 04:27 #6 Senior Member   Peter Baskovich Join Date: Jul 2014 Posts: 127 Rep Power: 11 Me too please! I have a non-uniform cross section periodic channel that this may work for. Sharing your solution would be very helpful... Regards Peter

 Tags average, average field, cyclic bc, inlet bc, openfoam

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post Saima CFX 46 September 11, 2021 07:38 Abo Anas CFX 27 May 11, 2018 01:44 Mike_Tom CFX 6 September 29, 2016 01:27 zoeburton1987 FLUENT 0 May 15, 2012 09:20 chong chee nan FLUENT 0 December 29, 2001 05:13

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

 Contact Us - CFD Online - Privacy Statement - Top