CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   How to set uniform heating boundary condition? (http://www.cfd-online.com/Forums/openfoam/106878-how-set-uniform-heating-boundary-condition.html)

 Sargam05 September 11, 2012 10:09

How to set uniform heating boundary condition?

Hello everyone,

I would like to specify uniform heating boundary condition in 0/T file. In my case, an initially unreformed cube is subjected to a uniform temperature rise ΔT = T - Tr (there is no body forces). Tractions are zero at all cube surfaces.

It is 3D problem. I have taken a quarter geometry (with 3 symmetry planes).

Following are the boundary conditions

0/T

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

dimensions [0 0 0 1 0 0 0];

internalField uniform 0;

boundaryField
{

left
{
type symmetryPlane;
}
right
{
type fixedValue;
value uniform 100;
}
top
{
type fixedValue;
value uniform 100;
}
bottom
{
type symmetryPlane;
}
front
{
type fixedValue;
value uniform 100;
}
back
{
type symmetryPlane;
}

}

0/D

FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object D;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 0 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
left
{
type symmetryPlane;
}
right
{
type tractionDisplacement;
traction uniform (0 0 0);
pressure uniform 0;
value uniform (0 0 0);
}
top
{
type tractionDisplacement;
traction uniform (0 0 0);
pressure uniform 0;
value uniform (0 0 0);
}
bottom
{
type symmetryPlane;
}
front
{
type tractionDisplacement;
traction uniform (0 0 0);
pressure uniform 0;
value uniform (0 0 0);
}
back
{
type symmetryPlane;
}

}

I have taken initial temp. = 0, and final or heating temp.= 100. Does these are the correct boundary condition for uniform heating?

Sangeeta

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