CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   solid/solid heat transport model with chtMultiRegionFoam (http://www.cfd-online.com/Forums/openfoam-solving/87944-solid-solid-heat-transport-model-chtmultiregionfoam.html)

mirko May 3, 2011 11:22

solid/solid heat transport model with chtMultiRegionFoam
 
2 Attachment(s)
Hello,

I am attaching two versions of the same solid/solid heat transport problem. One works, the other does not.

In the working one, I use the compressible::tubulentTemperatureCoupledBaffle BC, while in the other one, I use solidWallHeatFluxTemperatureCoupled BC.

The latter one does not work, with the error that this BC is not permissible for directCoupledWalls.

What is wrong with the latter one?

You can run either of them with Allclean and Allrun.

Thank you,

Mirko

chandramurthy May 3, 2011 12:40

It is a good observation. from the source code, it appears that the former is implemented by inheriting from fixedValueFvPatchField and the later one is done with mixedFvPatchScalarField. however, in the former case, K*(dT/dX)_1=K*(dT/dX)_2 is maintained, which seems to be tangible coupled bcs. in the later case, it is switching between zeroGradient and neighbourvalue, i dont understand how this is physically sound.

mirko May 4, 2011 13:08

Quote:

Originally Posted by chandramurthy (Post 306118)
It is a good observation. from the source code, it appears that the former is implemented by inheriting from fixedValueFvPatchField and the later one is done with mixedFvPatchScalarField. however, in the former case, K*(dT/dX)_1=K*(dT/dX)_2 is maintained, which seems to be tangible coupled bcs. in the later case, it is switching between zeroGradient and neighbourvalue, i dont understand how this is physically sound.

I am staring at the source code, (chtMultiRegionFoam.C) and I don't understand where the temperature coupling (via either boundary condition) is invoked. Do you?


All times are GMT -4. The time now is 00:57.