|
[Sponsors] | |||||
Finally got my aircraft radiator case to run, but weird results |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Senior Member
Alan w
Join Date: Feb 2021
Posts: 320
Rep Power: 7 ![]() |
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)
}
}
}
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;
}
}
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;
}
}
Hopefully with help, I can solve this mystery! |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
|
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? |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 894
Rep Power: 19 ![]() |
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 ...? |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 894
Rep Power: 19 ![]() |
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;
}
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. |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |