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

non consistent wallHeatFlux from solid to liquid

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2019, 11:52
Default non consistent wallHeatFlux from solid to liquid
  #1
New Member
 
Korbinian Faust
Join Date: Feb 2019
Posts: 7
Rep Power: 2
Kobi_Faust is on a distinguished road
Hi all,

I'm having a problem with the coupling of different materials via mappedWall in between a solid and a liquid region.

If I look (in the postProcessing) at the heatfluxes of the coupled patches all the solid-to-solid transitions perfectly fit (power outflow of the one patch equals inflow of the other patch).
But ALL solid-to-water transitions don't. Thereby the heat-flux of the solid (to water) meets the estimated outflow, but the heat flux of the adjoining water area is around 40 % smaller.

Any ideas on this?

The model runs without any warnings and also all other results (pressure, velocity, etc.) are looking reasonable.

Details:

Solver: chtMultiRegionFoam

My model has several solid regions and a water region. Each region is meshed seperatly with an unstructured mesh. The connecting patches are coupled via the mappedWall boundary option:

The following code sections are not complete, but I think all necessery parts should be given. (Otherwise it would be too extensive).

Solid Region 1: constant/Meat_15/polyMesh/boundary
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  6
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       polyBoundaryMesh;
    location    "constant/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

6
(
    Meat_15_phi_innen
    {
        type            mappedWall;
        sampleMode 		nearestPatchFaceAMI;
        sampleRegion    Cladding_innen;
        samplePatch     Cladding_innen_phi_aussen_to_Meat_15;
		offsetMode		uniform;
        offset          ( 0 0 0 );
        nFaces          17268;
        startFace       87464;
    }
...
)
Solid Region 2: constant/Cladding_innen/polyMesh/boundary
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  6
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       polyBoundaryMesh;
    location    "constant/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

12
(
    Cladding_innen_phi_innen_to_Wasser
    {
        type            mappedWall;
        sampleMode 		nearestPatchFaceAMI;
        sampleRegion    Wasser;
        samplePatch     Wasser_innen_phi_innen;
		offsetMode		uniform;
        offset          ( 0 0 0 );
        nFaces          336126;
        startFace       1679966;
    }
    Cladding_innen_phi_aussen_to_Meat_15
    {
        type            mappedWall;
        sampleMode 		nearestPatchFaceAMI;
        sampleRegion    Meat_15;
        samplePatch     Meat_15_phi_innen;
		offsetMode		uniform;
        offset          ( 0 0 0 );
        nFaces          50154;
        startFace       2302500;
    }
...
)
Water Region: constant/Wasser/polyMesh/boundary
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  6
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       polyBoundaryMesh;
    location    "constant/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

24
(
    Wasser_innen_phi_innen
    {
        type            mappedWall;
        sampleMode 		nearestPatchFaceAMI;
        sampleRegion    Cladding_innen;
        samplePatch     Cladding_innen_phi_innen_to_Wasser;
		offsetMode		uniform;
        offset          ( 0 0 0 );
        nFaces          575864;
        startFace       16477096;
    }
...
)
The termperature coupling is done with "compressible::turbulentTemperatureCoupledBaffleMi xed"

Solid Region 1: 0/Meat_15/T
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.0                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0/fuel1";
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [ 0 0 0 1 0 0 0 ];

internalField   uniform 310;

boundaryField
{
    Meat_15_phi_innen
    {
        type            compressible::turbulentTemperatureCoupledBaffleMixed;
        value           uniform 310;
        Tnbr            T;
        kappaMethod     solidThermo;
    }
...
}
Solid Region 2: 0/Cladding_innen/T
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.0                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0/fuel1";
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [ 0 0 0 1 0 0 0 ];

internalField   uniform 310;

boundaryField
{
    Cladding_innen_phi_innen_to_Wasser
	{
        type            compressible::turbulentTemperatureCoupledBaffleMixed;
        value           uniform 310;
        Tnbr            T;
        kappaMethod     solidThermo;
    }
    Cladding_innen_phi_aussen_to_Meat_15
	{
        type            compressible::turbulentTemperatureCoupledBaffleMixed;
        value           uniform 310;
        Tnbr            T;
        kappaMethod     solidThermo;
    }
...
}
Water Region: 0/Wasser/T
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.0                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0/coolant";
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [ 0 0 0 1 0 0 0 ];

internalField   uniform 310.14;

boundaryField
{
	Wasser_innen_phi_aussen
	{
		type            compressible::turbulentTemperatureCoupledBaffleMixed;
        value           uniform 310;
        Tnbr            T;
        kappaMethod     fluidThermo;
	}
...
}
Thanks for any idea and solution!!
Kobi_Faust is offline   Reply With Quote

Old   March 23, 2019, 08:19
Default
  #2
Member
 
julien givernaud
Join Date: Dec 2018
Posts: 42
Rep Power: 2
julieng is on a distinguished road
The is some other subject related to the unsatisfied energy balance, see
buoyantSimpleFoam energy balance error


Maybe someone more expert than me can help you... and me


Best regards
julieng is offline   Reply With Quote

Reply

Tags
mappedwall, wallheatflux

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
[DesignModeler] Solid and Liquid modelling and Meshing Issue nvarma ANSYS Meshing & Geometry 4 April 10, 2015 03:27
Liquid and Solid properties in Condensation and solidification sourav Fluent UDF and Scheme Programming 1 April 2, 2013 09:13
Modeling solidification/melting when a solid metal injected into liquid steel Raijin Thunderkeg FLUENT 1 November 27, 2012 22:24
Suggest some papers on settling solid liquid flow / heterogeneous suspension flow Ruonin Main CFD Forum 2 July 23, 2012 08:50
2 phase flow liquid flow solid particles sachin OpenFOAM Running, Solving & CFD 0 August 28, 2008 17:51


All times are GMT -4. The time now is 10:52.