CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Temperature table as boundary condition

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

Like Tree1Likes
  • 1 Post By jobin2600

LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2014, 04:48
Default Temperature table as boundary condition
New Member
Join Date: Sep 2011
Posts: 16
Rep Power: 14
Philipp Dietrich is on a distinguished road

I currently want to implement a boundary condition for a wall where the temperature is dependent on its position on this wall.
From another program I get a table for the temperature distribution along this wall.

Can anyone tell me how to implement such a boundary condition?
Thanks in advance for your effort.

Btw. I am using openFoam 2.3.0
Philipp Dietrich is offline   Reply With Quote

Old   June 10, 2014, 06:11
Senior Member
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
You can do either of these: (1) "codedFixedValue"; (2) "groovyBC"; in OpenFOAM.

I have never tried former patch, It seems bit difficult. I would suggest you to go for "groovyBC". (refer:

Use any of these as per your requirement.

Best Luck!
Tushar@cfd is offline   Reply With Quote

Old   November 23, 2016, 11:47
Senior Member
Join Date: Apr 2016
Location: Mexico
Posts: 119
Rep Power: 10
dewey is on a distinguished road

Did you find any way to do that?

I want to do something similar, a wall with certain temperature distribution along x.
dewey is offline   Reply With Quote

Old   February 19, 2020, 19:11
Smile Setting an equation(scalar temperature) as boundary condition
New Member
Jobin Raju
Join Date: Nov 2019
Location: Germany
Posts: 3
Rep Power: 6
jobin2600 is on a distinguished road
I was looking for the same and after some digging through the internet this is what did the job for me:

//setting a temperature equation: T = x - 0.5 along a boundary (top and bottom of a square cavity) a natural convection simulation//

		type  codedFixedValue;
		value uniform 0.5;
		name myBC;
		vector dir = vector(1, 0, 0);
		scalarField var = patch().Cf()&dir;
Luttappy likes this.
jobin2600 is offline   Reply With Quote


boundary condition, nonuniform, temperature

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
Temperature and heat flux wall boundary condition L. Hamid FLUENT 2 February 9, 2014 23:59
Temperature dependant mixed Boundary condition argonaut OpenFOAM Pre-Processing 2 February 15, 2011 11:02
How to apply the temperature boundary condition on the outside of the mould? alefem FLOW-3D 5 May 25, 2010 05:32
boundary condition : temperature J.D.Yoon FLUENT 1 August 29, 2000 04:08

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