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

Temperature inlet/outlet boundary conditions

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2011, 09:44
Default
  #21
Member
 
Wolfram Kretzschmar
Join Date: Dec 2009
Posts: 71
Rep Power: 16
Wolle is on a distinguished road
Hi all!

Quote:
Originally Posted by poplar View Post
If you have one outlet and the outlet perpendicular to gravity, simply specify a fixed value zero for pressure. If not,you have to specify the static pressure p in version 1.6, pd(=p-rho*h*x) in 1.5. Setting pd=0 is a easy way, I am not sure whether 1.6 supports pd. In 1.6, it seems that uniformDensityHydrostaticPressure is supposed to facilitate the transition from pd to p by specifying an equivalent to constant pd.
Refering to the above example and running it in OF1.7,wouldn't this mean to set p_rgh to zero? What to set for p then? How to apply the uniformDensityHydrostaticPressure BC correctly? I just can't get it right with this p/p_rgh distinction...

In all setups I tried, setting p_rgh to zero lead to an immediate abort of the solver at timestep 0.

Cheers
Wolle

P.S.: Does anyone have a copy of the complete case discussed above by any chance?
__________________
CAELinux 2010 -- OpenFOAM 1.7
Wolle is offline   Reply With Quote

Old   August 8, 2011, 10:15
Default Temperature problem
  #22
New Member
 
Peter
Join Date: Feb 2011
Posts: 13
Rep Power: 15
Peter88 is on a distinguished road
I am trying to do a natural convection case. I got some weird low temperature under the cilinder and pressure stripes at my boundaries Somebody can help me out? See attachment for pictures. The cilinder is 400K and the internal field 300K. If somebody want to see some 0 files, tell me.
Attached Images
File Type: jpg Temp.jpg (15.9 KB, 60 views)
File Type: jpg p_rgh.jpg (24.5 KB, 50 views)
File Type: jpg P.jpg (24.6 KB, 50 views)
File Type: jpg Velocity.jpg (16.8 KB, 41 views)
Peter88 is offline   Reply With Quote

Old   July 20, 2016, 17:06
Default Heat transfer in turbulent pipe flow
  #23
New Member
 
Ravi
Join Date: Jul 2016
Posts: 3
Rep Power: 10
ravikanthmannem is on a distinguished road
Hi, can anybody tell me what has to be the temperature boundary condition of pipe wall and pipe outlet in a turbulent pipe flow where there is uniform heat flux(37.5 W/m^2) at wall and fluid entering at 300K
ravikanthmannem is offline   Reply With Quote

Old   January 30, 2019, 00:55
Default
  #24
Member
 
Mondal131211's Avatar
 
Mondal
Join Date: Sep 2018
Location: Canberra ACT
Posts: 68
Rep Power: 8
Mondal131211 is on a distinguished road
Quote:
Originally Posted by ozzythewise View Post
Hi,

Below are my 0/U, 0/T and 0/p files for you to take a look at. I have also attached a picture of my velocity field to show you what the results I got looked like:

0/U:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
heatedPlate
{
type freestream;
freestreamValue uniform (0 0 0);
}
leftsideatmosphere
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}
rightsideatmosphere
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}
topatmosphere
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}
frontAndBack
{
type empty;
}
}

0/T:


dimensions [0 0 0 1 0 0 0];

internalField uniform 300; //300k

boundaryField
{
heatedPlate
{
type fixedValue;
value uniform 400; //400K
}
leftsideatmosphere
{
type zeroGradient;
}
rightsideatmosphere
{
type zeroGradient;
}
topatmosphere
{
type zeroGradient;
}

frontAndBack
{
type empty;
}
}

0/p:

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{

heatedPlate
{
type buoyantPressure;
rho rhok;
value uniform 0;
}
topatmosphere
{
type buoyantPressure;
rho rhok;
value uniform -1.138941; //-rho*g*h
}
leftsideatmosphere
{
type uniformDensityHydrostaticPressure;
rho 1.161;
pRefValue 101325;
pRefPoint (0 0 0);
value $internalField;
}
rightsideatmosphere
{
type uniformDensityHydrostaticPressure;
rho 1.161;
pRefValue 101325;
pRefPoint (0.1 0 0);
value $internalField;
}
frontAndBack
{
type empty;
}

}

I hope these help. If you need to know anything else just let me know.

-J
Hi ozzythewise,

Though you have posted this thread a long time ago, I hope you can solve my problem easily. can you please look at this link and make any comment for my problem? I am really struggling with this problem.

Natural Convection inside a open Cavity
Mondal131211 is offline   Reply With Quote

Old   May 19, 2019, 07:14
Default
  #25
Senior Member
 
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7
Raza Javed is on a distinguished road
Hello Everyone,


I am using chtMultiRegionSimpleFoam and my Openfoam version is 4.1.


I have created geometry in Salome and and then imported the UNV file to Openfoam.


My geometry consists of a pipe and three rectangular plates, and all these things are in one box.



The rectangular plates are acting as a heat source which I made using fvOption.


Now, the fluid will flow from the pipe, and due to these hot rectangular plates, the temperature of the fluid will change inside the pipe.


At the inlet, I need to put the flow-rate of 5 litres/minutes.



At the inltet, temperature could be room temperature.


Now, My task is to see the temperature change at the outlet.



I have put some boundary conditions for Velocity, Temperature and Pressure, at inlet, outlet and at the walls of pipe.


But my solver is not converging.



I am not getting which boundary conditions to use.


I have tried putting flowRateInletVelocity, but I don't know which boundary conditions to put at other boundaries in this case?


I am putting my geometry and boundary conditions with this post.


I shall be very thankful, is someone can help me out in this.


Thank you


Code:
boundary
{
    inlet
    {
        type            patch;
    }
    outlet
    {
        type            patch;
    }

}
U
{
    internalField   uniform (0 1e-3 0);

    boundaryField
    {
        inlet
        {
            type                flowRateInletVelocity;//pressureInletVelocity;//fixedValue;
            volumetricFlowRate  0.066;
            extrapolateProfile  yes;
            value               $internalField;//uniform (0 1e-3 0);
        }

        outlet
        {
            type                zeroGradient;
            //value           uniform (0 0 0);//$internalField;
        }
        "fluid_to_box"
        {
            type            noSlip;
        }
    }
}

T
{
    internalField   uniform 300;

    boundaryField
    {
        inlet
        {
            type            fixedValue;
            value           uniform 450;//$internalField;
            
        }

        outlet
        {
            type            inletOutlet;
            value           $internalField;
            inletValue      $internalField;
        }

        "fluid_to_box"
        {
            type            compressible::turbulentTemperatureCoupledBaffleMixed;
            Tnbr            T;
            kappaMethod     fluidThermo;
            value           uniform 300;
        }
    }
}


epsilon
{
    internalField   uniform 0.01;

    boundaryField
    {
        inlet
        {
            type            fixedValue;
            value           uniform 0.01;
        }

        outlet
        {
            type            inletOutlet;
            inletValue      uniform 0.01;
        }

        ".*"
        {
            type            epsilonWallFunction;
            value           uniform 0.01;
        }
    }
}

k
{
    internalField   uniform 0.1;

    boundaryField
    {
        inlet
        {
            type            inletOutlet;
            inletValue      uniform 0.1;
        }

        outlet
        {
            type            zeroGradient;
            value           uniform 0.1;
        }

        ".*"
        {
            type            kqRWallFunction;
            value           uniform 0.1;
        }
    }
}


p_rgh
{
    internalField   uniform 0;

    boundaryField
    {
        inlet
        {
            type            fixedFluxPressure;//zeroGradient;
            value           uniform 0;
        }

        outlet
        {
            type            fixedValue;
            value           uniform 0;
        }

        ".*"
        {
            type            fixedFluxPressure;
            value           uniform 0;
        }
    }
}

p
{
    internalField   uniform 0;

    boundaryField
    {
        ".*"
        {
            type            calculated;
            //value           uniform 0;
        }
    }
}
Attached Images
File Type: png circular.png (53.4 KB, 21 views)
Raza Javed is offline   Reply With Quote

Old   June 11, 2021, 15:07
Default
  #26
New Member
 
Bhavin Yardi
Join Date: Jun 2021
Posts: 1
Rep Power: 0
bhavin_1906 is on a distinguished road
I have a hot plate coinciding with the bottom of my Domain and I want to simulate the natural convection. The problem is that here I do not know which is my inlet and which one is outlet. I have my boundaries as TOP, SIDES, BOOTTOM & PLATETOP. I have used the inletoutlet conditions of the top & sides and zeroGradient for the bottom. But, it seems that the air isn't moving out of the domain, as the temperature continously goes on increasing and never stabilizes. I have a uniform heat source as the BC for the plate. Can someone help me with this problem?
bhavin_1906 is offline   Reply With Quote

Reply


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
CFX doesn't continue calculation... mactech001 CFX 6 November 15, 2009 22:25
increasing mesh quality is leading to poor convergence tippo CFX 2 May 5, 2009 11:55
free stream temperature (boundary conditions) Leentje FLUENT 2 October 11, 2006 09:48
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
Please help with flow around car modelling! Tudor Miron CFX 17 March 19, 2004 20:23


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