CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Conjugate heat transfer and multiregion

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2009, 20:48
Default Conjugate heat transfer and multiregion
  #1
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Hello everybody!

I was wondering when to use conjugateHeatFoam solver and when to use the chtMultiRegionFoam solver. To me, it looks like the conjugate solver was developed first and then chtMultiregionFoam was developed as its successor to add flexibility, and the conjugateHeatFoam sovler is now kept in the dev-package for legacy reasons. Is that right?

A lot of the information in the forum and on the wiki on CHT seems outdated (if availiabe at all). E.g. I could not get any of the suggested ways to post process multiregion results to work. The solution I found for 1.5 is to use "foamToVTK -region X". For this to work, you have to create a symbolic link constant/X/polyMesh that points to 0.001/X/polyMesh/ for all mesh regions X.

"foamToVTK -cellSet X" runs without any extra labour, however it doesn't seem to load simulation results. Using the -cellSet option will only show the mesh and a cellID variable.

Cheers!
-Anton
akidess is offline   Reply With Quote

Old   June 4, 2009, 05:19
Default
  #2
New Member
 
Kyian Barrat
Join Date: Apr 2009
Posts: 25
Rep Power: 16
Khelian973 is on a distinguished road
Hi Anton

I have the same problem to postprocess the data with chtMultiRegionFoam using ParaFoam... and the tutorial multiRegionHeater
Is it necessary to use VTK? It must exist a solution using ParaFoam i guess, but im just a beginner
Is it possible to find an updated tutorial for this solver?

Kyian
Khelian973 is offline   Reply With Quote

Old   June 4, 2009, 14:34
Default
  #3
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Hello Kyian,

using foamToVTK is the only solution I found. You lose a bit of the convenience paraFoam provides, but it works. Unfortunately I do not know of an updated tutorial.

-Anton
akidess is offline   Reply With Quote

Old   June 5, 2009, 08:35
Smile multimesh postprocessing
  #4
mgc
New Member
 
Maria
Join Date: Apr 2009
Posts: 12
Rep Power: 16
mgc is on a distinguished road
Quote:
Originally Posted by akidess View Post
I could not get any of the suggested ways to post process multiregion results to work. The solution I found for 1.5 is to use "foamToVTK -region X". For this to work, you have to create a symbolic link constant/X/polyMesh that points to 0.001/X/polyMesh/ for all mesh regions X.

Hi Anton,

I work with several meshes. For postprocessing I convert the foam results into ".vtk".

If the structure of your case is like the one of ../tutorials/conjugateHeatFoam/conjugateCavity, then try doing:

1.- For main mesh (region0)
~/.../caseDirectory $ foamToVTK -case caseName

2.- For other meshes
~/.../caseDirectory $ foamToVTK -case caseName -region otherMeshName

3.- Visualization with ParaView
Open: caseDirectory/CaseName/VTK/caseName*.vtk
Open: caseDirectory/CaseName/VTK/otherMeshName/caseName*.vtk
Use Paraview filter: GroupDataSet to join both meshes results.

It should work.

Be careful with the symbolic link!!
- caseDirectory/caseName/constant/polyMesh is the main mesh (region0).
- caseDirectory/caseName/constant/solid is a symbolic link BUT it points to the caseDirectory/solid/constant, where the polyMesh of the solidMesh is located (solidMesh = otherMeshName).

Marķa

Last edited by mgc; June 5, 2009 at 08:53.
mgc is offline   Reply With Quote

Old   August 13, 2009, 15:27
Default
  #5
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Hello Maria,

sorry for the late response. I took a break from the CHT stuff for a bit while I was busy with other things. Thanks a lot for the tip with GroupDataSet, it was very helpful.

Anton
akidess is offline   Reply With Quote

Old   January 8, 2010, 00:45
Default Conjugate heat transfer
  #6
Member
 
MSarkar
Join Date: Dec 2009
Posts: 99
Rep Power: 16
msarkar is on a distinguished road
Hello All,

I am new in OpenFOAM but not in CFD. I am using OpenFOAM-1.5. Need to simulate 2D conjugate heat transfer. Could anyone guide me how to approach it as there is no tutorials available? I think it can be simulated using chtMultiregionFoam solver but how to use it?

Thanks a lot!!
msarkar is offline   Reply With Quote

Old   March 11, 2010, 05:53
Default conjugate heat transfer
  #7
mik
Member
 
Michea Ferrari
Join Date: Mar 2010
Location: Switzerland
Posts: 30
Rep Power: 16
mik is on a distinguished road
Hi all,

I have the same problem, i want to simulate the "MultiRegionHeater" tutorials but I don't know if I have to use "blockMesh" and the solver "chtMultiRegionFoam" doesn't work!

The error is:
---------------------------------------------------------------------------------------------------------
Cannot find file "points" in directory "constant/bottomAir/polyMesh"

From function Time::findInstance(const fileName&, const word&, const IOobject::readOption)
in file db/Time/findInstance.C at line 148.
---------------------------------------------------------------------------------------------------------

Some one can help us?

Thanks a lot!

Mik

FOAM exiting
mik is offline   Reply With Quote

Old   March 11, 2010, 09:47
Default
  #8
New Member
 
J H
Join Date: Mar 2009
Location: Germany
Posts: 20
Rep Power: 17
kawuppdich is on a distinguished road
look at the Allrun file in the tutorial. There you can see what to do step by step. Also look here http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2008/chtFoam.pdf
kawuppdich is offline   Reply With Quote

Old   March 12, 2010, 11:10
Default Conjugate heat transfer
  #9
mik
Member
 
Michea Ferrari
Join Date: Mar 2010
Location: Switzerland
Posts: 30
Rep Power: 16
mik is on a distinguished road

Hi Kawuppdich
, Thanks for the documents,
thanks to this and two commands I have run the simulation!

I have still problems with the simulation and open paraview!

I don't understand what I have to do for open the simulation.
Theoretically it is explained in the last page but I don't understand this command at all!

The last page name is: "Running and visualizing the result" and except for the first point I don't manage to do it!
What I have to do, re-merge the mesh?

It is open-source VTK ?

Thaks

Mik


mik is offline   Reply With Quote

Old   March 12, 2010, 11:31
Default
  #10
New Member
 
J H
Join Date: Mar 2009
Location: Germany
Posts: 20
Rep Power: 17
kawuppdich is on a distinguished road
nice that i could help, I had trouble too with this solver

in of16 in the Allrun is a good way to see the results

there you touch each region. Then you have to start paraview with
Code:
paraview
and then you can open the .OpenFOAM files to view each result. It is possible to open more than one region at the same time.

greetings
kawuppdich is offline   Reply With Quote

Old   July 25, 2013, 05:52
Default
  #11
New Member
 
Antoine A
Join Date: Jul 2013
Posts: 1
Rep Power: 0
Antoine89 is on a distinguished road
Quote:
Originally Posted by mik View Post

Hi Kawuppdich
, Thanks for the documents,
thanks to this and two commands I have run the simulation!
Hi mik,
I know that it's been a while but could you tell me which commands you wrote to run the simulation cause I don't find in this .pdf file why I'm wrong.

thanks a lot

Rgds

AA
Antoine89 is offline   Reply With Quote

Reply

Tags
cht, conjugate, multiregion, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:31.