CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

fixedGradient Boundary Condition

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By HenningW

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 26, 2016, 09:47
Post fixedGradient Boundary Condition
  #1
New Member
 
Alberto Karkour
Join Date: Jul 2016
Location: Maracaibo, Venezuela
Posts: 6
Rep Power: 9
albertokarkour is on a distinguished road
Hey guys! I'm new over here (and also in OpenFoam) my name is Alberto I'm from Venezuela.

I'd like some help about in trying to do a conduction heat transfer case of a solid so from what I've investigated the solver used is laplacianFoam. I did the tutorial that has the flange.ans file and everything was ok.

But now the case I'm trying to do instead of two fixed temperatures has fixed temperatures and a heat flux. Here is the case:

Quote:
Consider a rectangular domain in which a=1m and b=0.8m. The thermal conductivity is k=1.2 W/(m*C). A heat flux q=500W/m2 enters the domain from the upper boundary and the temperatures of the other boundaries are all fixed at u1=0 celcius degrees
I think my mistake is in the 0/T boundary condition fixedGradient. Can someone tell me if I'm inserting it the correct way? Thanks in advance!
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  3.0.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 0 0 1 0 0 0];

internalField   uniform 0;

boundaryField
{

        
    fixedWalls
    {
        type            fixedValue;
        value           uniform 0;
    }

    heatWall
    {
        type            fixedGradient;
        value           uniform 416.67;
    }

    frontAndBack
    {
        type            empty;
    }
}

// ************************************************************************* //
albertokarkour is offline   Reply With Quote

 


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
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
Opening Boundary Condition andreachan Main CFD Forum 11 March 19, 2013 16:46
domain imbalance for enrgy equation happy CFX 14 September 6, 2012 01:54
asking for Boundary condition in FLUENT Destry FLUENT 0 July 27, 2010 00:55


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