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

Finally got my aircraft radiator case to run, but weird results

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2026, 16:11
Default Finally got my aircraft radiator case to run, but weird results
  #1
Senior Member
 
Alan w
Join Date: Feb 2021
Posts: 320
Rep Power: 7
boffin5 is on a distinguished road
After a bit of effort, I have my aircraft heat exchanger simulation running.
But, the results don't seem to make sense. Attached is an image of the T field,
with some representative air temperatures in front of the HX, and behind it.

As can be seen, the air temperature in front of the HX is 2 degrees hotter than the air temperature behind it. This doesn't make sense, as the heated air should be coming out of the radiator, behind it.

I am attaching some relevant files for those who might be interested, including the p and T files for the fluid and porous zones. Also the constant/fluid/fvOptions file, which defines the porosity of the porous zone.

Note in my simulation, the longitudinal axis is along the Y direction, with the X axis coming out of the screen. This caused me some confusion with the fvOptions e1 and e2 variables. But I think(?) I have it right.

Here is the fvOptions file:
Code:
fluidToporous
{
    type            constantHeatTransfer;

    interpolationMethod cellVolumeWeight;
    nbrRegion       porous;
    master          false;

    nbrModel        porousTofluid;
    fields          (h);
    semiImplicit    no;
}

porosityBlockage
{
    type            interRegionExplicitPorositySource;

    interRegionExplicitPorositySourceCoeffs
    {
        interpolationMethod cellVolumeWeight;
        nbrRegion       porous;

        type            DarcyForchheimer;
        
        // D 100;  // Very little blockage
        // D 200;  // Some blockage but steady flow
        // D 500;  // Slight waviness in the far wake
        // D 1000; // Fully shedding behavior

        d   (400  400  100);
        f   (400  400  100);

        coordinateSystem
        {
            origin  (0 0 0);            
            e1      (0 -1 0);    // (0 -1 0)
            e2      (1 0 0);     // (1 0 0)             
            }
        }
    }
The T and p BC files for the fluid zone:
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 0 0 1 0 0 0];

internalField   uniform 272.3;

boundaryField
{
    #includeEtc "caseDicts/setConstraintTypes"
    
    frontier
    {
        type            slip;
    }

    inlet
    {
        type            fixedValue;
        value           uniform 272.3;
    }

    outlet
    {
        type            inletOutlet;
        inletValue      uniform 272.3;
        value           uniform 272.3;
    }

    "fuselage|duct|lips|rad-fairing"
    {
        type            zeroGradient;
    }
    
    centerline
    {
        type            symmetry;
    }
}


// ************************************************************************* //



/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2412                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


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

internalField   uniform 75300;

boundaryField
{
    #includeEtc "caseDicts/setConstraintTypes"

    inlet
    {
        type            zeroGradient;
    }

    outlet
    {
        type            fixedValue;
        value           $internalField;
    }

    frontier
    {
        type            slip;
    }

    "fuselage|duct|lips|rad-fairing"
    {
        type            zeroGradient;
    }

    centerline
    {
        type            symmetry;
    }
}
And for the porous zone:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2412                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 0 0 1 0 0 0];

internalField   uniform 383;

boundaryField
{
    #includeEtc "caseDicts/setConstraintTypes"
    
    radinlet
    {
        type            fixedValue;
        value           uniform 272.3;
    }

    radoutlet
    {
        type            inletOutlet;
        inletValue      uniform 383;
        value           uniform 383;
    }

    rad_radfrontier
    {
        type            zeroGradient;
    }
    
    rad_radcenterline
    {
        type            symmetry;
        }
}


// ************************************************************************* //


/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2412                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


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

internalField   uniform 75300;

boundaryField
{
    #includeEtc "caseDicts/setConstraintTypes"

    radinlet
    {
        type            zeroGradient;
    }

    radoutlet
    {
        type            zeroGradient;
        }

    rad_radfrontier
    {
        type            zeroGradient;
    }

   rad_radcenterline
    {
        type            symmetry;
    }

    
}
The ambient air temperature is 272.3 deg K, and for the porous zone T is 383 deg K. The aircraft speed is 84.88 meters per second.

Hopefully with help, I can solve this mystery!
Attached Images
File Type: png SnapCrab_NoName_2026-1-14_11-51-34_No-00.png (81.6 KB, 18 views)
boffin5 is offline   Reply With Quote

Old   January 15, 2026, 09:03
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 885
Blog Entries: 1
Rep Power: 20
dlahaye is on a distinguished road
No clue, sorry to say.

I, however, wonder.

Does it make sense here to run an adiabatic case (without the solid) and subsequently run a case in which the presence of the solid is modeled using boundary conditions?
dlahaye is offline   Reply With Quote

Old   January 15, 2026, 12:10
Default
  #3
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 894
Rep Power: 19
Tobermory will become famous soon enough
It looks to me that the rise in temperature upstream of the HX is due to the flow decelerating in the diffuser just upstream of the HX (which, with a compressible equation of state leads to a pressure rise and small temperature rise) ... you can see the same effect, and same deltaT, in other parts of the picture where the flow is decelerating, and the opposite (a cooling) in the nozzle downstream of the HX where the flow is accelerating.

My suspicion is that the HX heat source is not active ...?
Tobermory is offline   Reply With Quote

Old   January 15, 2026, 12:19
Default
  #4
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 894
Rep Power: 19
Tobermory will become famous soon enough
I am not familiar with prorous zone modelling, or how your two zones interact, but one quick observation on your porous zone boundary:

Code:
    radoutlet
    {
        type            inletOutlet;
        inletValue      uniform 383;
        value           uniform 383;
    }
I don't think that this is doing what you think it is. By default, if the flow is exiting the porous zone through this boundary, then the temperature on the boundary will be governed by the temperature of the fluid that enters the boundary ... i.e. the upstream fluid, at 272K. The inletValue of 383K is only used if there is reverse flow INTO the porous zone through the outlet boundary ... which I am assuming is not the case. The "value" part of the boundary is ignored (in fact, if you look at your solution, in the T file you will find that this value has been updated with the latest calculated boundary T value .. which is probably 272K!). This explains why the outlet temperature from the HX is 272K.

So, long and short of it - you can't inject heat into the porous region using an inletOutlet outlet condition ... you need to either do it at the inlet to the porous region, or using a volume source.

Hope that helps.
Tobermory is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Visualizing Aircraft CFD results in Virtual Reality mihaipruna Main CFD Forum 2 March 10, 2020 18:39
Weird results with small time steps Zackzack FLUENT 0 July 10, 2018 07:54
Weird velocity results for low mach number combustion Rafael Meier OpenFOAM Running, Solving & CFD 0 June 8, 2018 12:36
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
intermediate results during a transient run Michael Skoblin CFX 1 September 25, 2006 15:00


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