CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   What are the right BCs for a multi-solid-region problem? (https://www.cfd-online.com/Forums/openfoam-solving/238145-what-right-bcs-multi-solid-region-problem.html)

froberto August 25, 2021 16:54

What are the right BCs for a multi-solid-region problem?
 
2 Attachment(s)
Hi all,
I am trying to model a problem consisting of a solid (sub-divided into two regions) and a fluid.
The two solid regions produce heat at different rates, and they have the same material properties.

I dug into this forum for quite a while and found two posts:
https://www.cfd-online.com/Forums/openfoam-pre-processing/211078-solid-solid-thermal-resistance-layer-thickness.html
https://www.cfd-online.com/Forums/openfoam-solving/151469-boundary-condition-conjugate-thermal-heat-conduction.html

They seem to agree on the fact that solid-to-solid interfaces should be modeled using compressible::turbulentTemperatureCoupledBaffleMix ed.
However, my result doesn't look good at the interface (see attached figure).

I have attached all the files.
Any ideas of what is going on/suggestions are welcome!
Thank you,


Here is a snippet of the solid "heater0" changeDictionaryDict:
Code:

        heater0_to_heater1
        {
            type            compressible::turbulentTemperatureCoupledBaffleMixed;
            Tnbr            T;
            kappaMethod    solidThermo;
            value          uniform 298;
        }

Here is a snippet of the solid "heater1" changeDictionaryDict:
Code:

        heater1_to_heater0
        {
            type            compressible::turbulentTemperatureCoupledBaffleMixed;
            Tnbr            T;
            kappaMethod    solidThermo;
            value          uniform 298;
        }

And here is a snippet of the topoSetDict:
Code:

    // Heater 0
    {
        name    heater0CellSet;
        type    cellSet;
        action  new;
        source  boxToCell;
        box    (-0.004 -0.05 -0.1) (0.004 -0.025 0.1);
    }
    {
        name    heater0;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set    heater0CellSet;
    }
    // Heater 1
    {
        name    heater1CellSet;
        type    cellSet;
        action  new;
        source  boxToCell;
        box    (-0.004 -0.025 -0.1) (0.004 0.0 0.1);
    }
    {
        name    heater1;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        set    heater1CellSet;
    }

Attachments:
Attachment 86025
Attachment 86027

froberto August 31, 2021 19:12

Solved using sample
 
When using the sample utility I have the possibility to select "cellPointFace" interpolationScheme.
The plots now look right.
I am assuming, paraview plots the cell values by default or something like that.

Anyway, I thought it was mentioning that the following post is related:
https://www.cfd-online.com/Forums/op...d-patches.html


All times are GMT -4. The time now is 21:35.