CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Two metal element conduction problem (https://www.cfd-online.com/Forums/openfoam-programming-development/146942-two-metal-element-conduction-problem.html)

Asghari_M January 10, 2015 11:53

Two metal element conduction problem
 
1 Attachment(s)
Hi all;
I’d like to solve a two-element solid conduction problem. I attached geometrical model in the attach file. As you see, the problem is consisted of two solid element:
1-An Aluminium metal element specified by notation of ABCD with same properties of Aluminium metal.
2-A iron metal element specified by notation of CDEF with same properties of iron metal .
Left edges ( Ac and CE ) and right edges (BD and DF) are insulated.
Top edge (AB) is exposed of a 400k temperature and bottom edge (EF) is also insulated.
Initial temperature for whole of the model is 300k.
There is a common edge between two element, namely, CD.
I want to obtain the transient solution of this 2D conduction problem. There isn't any convection and radiation term in this problem .
Thanks a lot for any help for how to start the solution of this problem by OPENFOAM software.
M.Asghari

ahmmedshakil January 11, 2015 21:57

Hi,
It's easy to solve your problem. You can use chtMultiRegionFoam (comes with openfoam 3.0 ext/1.6 ext) or MRconjugateHeatFoam (http://www.personal.psu.edu/dab143/O...ven_slides.pdf). You can easily find plenty of tutorials how to use these solvers. If you go with chtMultiRegionFoam, just switch off the fluid part if you don't want to solve fluid; you can use mixed temperature boundary condition at the interface.

Asghari_M January 12, 2015 14:04

Quote:

Originally Posted by ahmmedshakil (Post 527034)
Hi,
It's easy to solve your problem. You can use chtMultiRegionFoam (comes with openfoam 3.0 ext/1.6 ext) or MRconjugateHeatFoam (http://www.personal.psu.edu/dab143/O...ven_slides.pdf). You can easily find plenty of tutorials how to use these solvers. If you go with chtMultiRegionFoam, just switch off the fluid part if you don't want to solve fluid; you can use mixed temperature boundary condition at the interface.

Dear Ahmmed;
I downloaded your suggested link and also I'm studying chtMultiRegionFoam tutorial. There are some ambiguities for me such as mixed boundary or switching off or some Charcoeffes and so on . After I study these topics completely and if my questions remained, I will comeback this forum thread and will ask my questions & solution procedure you.
However your answer was helpful.
Thanks a lot for your help.
Best regard;
M.Asghari

ahmmedshakil January 12, 2015 21:11

conjugate heat transfer
 
Hi Asghari,
For understanding the interface boundary, just read the boundary condition option that comes with the solver and the comments with the code is really helpful.
And if you have any questions, just throw it to the forum!!!

cheers,
shakil

Quote:

Originally Posted by Asghari_M (Post 527215)
Dear Ahmmed;
I downloaded your suggested link and also I'm studying chtMultiRegionFoam tutorial. There are some ambiguities for me such as mixed boundary or switching off or some Charcoeffes and so on . After I study these topics completely and if my questions remained, I will comeback this forum thread and will ask my questions & solution procedure you.
However your answer was helpful.
Thanks a lot for your help.
Best regard;
M.Asghari


Asghari_M January 28, 2015 13:49

Some errors in paraview
 
Dear Ahmed;
I tried to split meshes but splitMeshRegions doesn't work correctly.
I typed this command according to the following text.
Quote:

toposet
splitMeshRegions -cellZones -overwrite
However whenever I typed parafoam command in DOS command line terminal, I encountered with these output messages in paraview.
Quote:

ERROR: In ..\..\..\..\source\VTK\IO\vtkOpenFOAMReader.cxx, line 7374
vtkOpenFOAMReaderPrivate (05F925E8): Error reading line 61 of C:\Users\Mahdi\AppData\Roaming\blueCFD-SingleCore-2.1\RUN\tutorials\heatTransfer\2DsimpleconductionF oam\constant/bottomSolid/polyMesh/boundary: Expected number, string or (, found ;


ERROR: In ..\..\..\..\source\VTK\IO\vtkOpenFOAMReader.cxx, line 7374
vtkOpenFOAMReaderPrivate (05F92700): Error reading line 61 of C:\Users\Mahdi\AppData\Roaming\blueCFD-SingleCore-2.1\RUN\tutorials\heatTransfer\2DsimpleconductionF oam\constant/topSolid/polyMesh/boundary: Expected number, string or (, found ;


ERROR: In ..\..\..\..\source\VTK\Filtering\vtkExecutive.cxx, line 756
vtkPVCompositeDataPipeline (0BEB9E60): Algorithm vtkPOpenFOAMReader(064A9840) returned failure for request: vtkInformation (0BE954E8)
Debug: Off
Modified Time: 81514
Reference Count: 1
Registered Events: (none)
Request: REQUEST_INFORMATION
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1

Finally, I can observe whole mesh and each region correctly but I can't observe splited meshes.
My system specifications are presented as follows:
Windows 7-32Bit , blueCFD-SingleCore-2.1 and ParaView3.10.1 32Bit.
I would appreciated if you can help me.
Regards.
M.Asghari

Asghari_M April 9, 2015 04:49

Interface determination and switching fluid off
 
Dear Ahmed
I installed OF 2.3.1 on Ubuntu.
The bug problems was almost resolved.
However I couldn't switch fluid off in chtmultiregionFoam. Besides, I don't know how to define interface temperature in changDictionaryDict. How can I resolved these cases?
I'd appreciated for ur response.
Asghari


All times are GMT -4. The time now is 20:24.