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

Pipe in pipe heat exchanger

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Bloerb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2016, 04:59
Question Pipe in pipe heat exchanger
  #1
New Member
 
Join Date: Mar 2014
Posts: 6
Rep Power: 12
Zoli is on a distinguished road
Hello people

I am a PhD. student at the department of hydraulic machines in Slovakia. Till now a made all of my simulations in ANSYS Fluent, but want to know the basics of OpenFOAM simulations. As my first case i choosed a pipe in pipe heat exchanger, following the tutorials on site:

https://openfoamwiki.net/index.php/G..._-_planeWall2D

Everything looks fine, but this case deals with a co-current heat exchanger, so the both mediums are flowing in the same direction (1,0,0).

I want to change the direction of the bottom fluid to (-1,0,0) however when i change the vector in the \system\bottomAir\changeDictionaryDict file to

U
{
internalField uniform (0 0 0);

boundaryField
{
leftLet
{
type fixedValue;
value uniform ( -0.1 0 0 );
}

rightLet
{
type inletOutlet;
inletValue uniform ( 0 0 0 );
value uniform ( -0.1 0 0 );
}

bottomAir_bottom
{
type symmetryPlane;
}

"bottomAir_to_.*"
{
type fixedValue;
value uniform (0 0 0);
}
}
}

the direction does not change. I would appriciate You help.

Thank You.

Zoli
Zoli is offline   Reply With Quote

Old   February 1, 2016, 14:18
Default
  #2
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
I have not opened the original files, but if you only changed the values this will not work. You want to change inlet and outlet. You therefore need to switch the boundary conditions for those and in addition the velocity at the inlet since it will enter the domain from the opposite direction. Maybe something like this:

Code:
U
    {
        internalField   uniform (0 0 0);

        boundaryField
        {
            leftLet
            {
                
                type            inletOutlet;
                inletValue      uniform ( 0 0 0 );
                value           uniform ( 0 0 0 );
            }

            rightLet
            {
                type            fixedValue;
                value           uniform ( -0.1 0 0 );
            }
    }
What i suppose you have done however is fix the velocity on the outlet side and put a inletOutlet on the inlet. But since inletOutlet switches to fixedValue if the flow is into the domain you have one side with fixed Velocity of zero and one with -0.1
Zoli likes this.
Bloerb is offline   Reply With Quote

Old   February 2, 2016, 04:12
Wink
  #3
New Member
 
Join Date: Mar 2014
Posts: 6
Rep Power: 12
Zoli is on a distinguished road
Hello Dear Bloerb!

I changed the BC as YOu written, and the simulation worked like a charm

Thank You very much for the help.
I think we can close this thread

Best regards:

Zoli
Zoli 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
Ansys Fluent analysis of heat exchanger MStudent FLUENT 2 April 20, 2015 09:40
[ANSYS Meshing] how to apply interior boundary condition in double pipe heat exchanger m7566 ANSYS Meshing & Geometry 7 April 10, 2015 09:21
[GAMBIT] double pipe heat exchanger with helical fin around inner tube mozafarie ANSYS Meshing & Geometry 5 November 7, 2012 06:02
Need Help on Heat Flux Profile within Pipe Wall mep10jl FLUENT 3 June 6, 2011 18:08
Concentric Tube Heat exchanger (pipe in pipe) in 2D ckliew ANSYS 0 February 24, 2011 08:48


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