CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   chtMultiRegionFoam not working (https://www.cfd-online.com/Forums/main/243834-chtmultiregionfoam-not-working.html)

MattiaGalanti July 8, 2022 05:29

chtMultiRegionFoam not working
 
Hello everyone. It's been a week since I started working on a multi region problem but the solver seems not to work properly.

1) I created a mesh using snappyHexMesh like tutorial "internalHeater".
2) I extruded in 2D the mesh

I tried the case with zero velocity so to the only the conduction phenomena but between the regions the temperature seems not to be transported.


This is the temperature in 0 file for fluid.
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
arch "LSB;label=32;scalar=64";
class volScalarField;
location "0/fluid";
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [ 0 0 0 1 0 0 0 ];

internalField uniform 320;

boundaryField
{
minX
{
type fixedValue;
value uniform 500;
}
maxX
{
type fixedValue;
value uniform 500;
}

frontAndBack
{
type empty;
}

inlet
{
type fixedValue;
value uniform 500;
}

outlet
{
type zeroGradient;
}

fluid_to_topSolid
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod fluidThermo;
value uniform 320;
}

fluid_to_middleSolid
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod fluidThermo;
value uniform 320;
}

fluid_to_bottomSolid
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod fluidThermo;
value uniform 320;
}
}


This is the temperature for one of the solid in 0 folder:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
arch "LSB;label=32;scalar=64";
class volScalarField;
location "0/bottomSolid";
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [ 0 0 0 1 0 0 0 ];

internalField uniform 500;

boundaryField
{
maxX
{
type fixedValue;
value uniform 500;
}
frontAndBack
{
type empty;
}

bottomSolid_to_fluid
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
value uniform 500;
}
}


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


All the constant in such are exaclty the same of the internalHeater tutorial, copied and pasted.

Am I wrong in something here?


All times are GMT -4. The time now is 12:40.