CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Nonuniform Temperature Gradient Boundary Condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2017, 00:13
Default Nonuniform Temperature Gradient Boundary Condition
  #1
New Member
 
Join Date: Oct 2015
Location: Florida
Posts: 4
Rep Power: 11
Engineer23 is on a distinguished road
Hello,

I'm trying to specify temperature gradient values for temperatures at each location on the top face of a slab and I haven't been able to get it to work yet. Can you guys help?

My code looks something like this:

FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 273;

boundaryField
{
walls
{
type zeroGradient;
}

bottom
{
type fixedValue;
value uniform 273;
}

top
{
type fixedGradient;
value nonuniform List<vector>

(

(0.00625 0.00625 0.0254)
(0.01875 0.00625 0.0254)
...
...
)
}
}
Engineer23 is offline   Reply With Quote

Old   August 4, 2017, 18:58
Default
  #2
Senior Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 119
Rep Power: 10
dewey is on a distinguished road
Could you do that?
dewey is offline   Reply With Quote

Reply

Tags
gradient, nonuniform, openfoam


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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 11:20
Radiation interface hinca CFX 15 January 26, 2014 18:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
Dynamic Temperature Boundary Condition Kshitij FLUENT 0 October 12, 2005 14:40


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