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/)
-   -   Setting changeDictionaryDict for a two-solid metal piece (https://www.cfd-online.com/Forums/openfoam-solving/150884-setting-changedictionarydict-two-solid-metal-piece.html)

Asghari_M March 31, 2015 10:23

Setting changeDictionaryDict for a two-solid metal piece
 
1 Attachment(s)
Hi ;
I am studying the temperature distribution within a two-metal solid piece by OPENFOAM solver (according to the attached image).
The boundary conditions are presented as follows:
1-Bottom edge( EF) has 700 (K) temperature.
2-Top edge (AB) has 300 (K) temperature.
3-Left and right boundaries (ACE and BDF, respectively) are adiabatic.
Top region is a steel solid piece and bottom region is an Aluminum solid piece.
Initial temperature field is 300 (k).
My question is that how to set the boundary condition for the interface (CD) in changeDictionaryDict for both top and bottom regions. Is following sub code enough for my settings in this file?

Code:

T
{
boundaryField
{
steel_to_Aluminum
{
type solidWallMixedTemperatureCoupled;
neighbourFieldName T;
K K;
value uniform 300;
}
}

}

Thanks a lot for any suggestion.


All times are GMT -4. The time now is 01:11.