|
[Sponsors] |
Add conjugate heat transfer between solid/liquid to buoyantBoussinesqPimpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 29, 2017, 07:17 |
Add conjugate heat transfer between solid/liquid to buoyantBoussinesqPimpleFoam
|
#1 |
New Member
Can Huang
Join Date: Oct 2010
Posts: 8
Rep Power: 16 |
Hallo everyone,
I have developed a melting/solidification solver based on buoyantBoussinesqPimpleFoam. It was applied to melt of a cylinderical geometry. Now I have to calculate the temperature of the container (solid) with the melt. So I studied the chtMultiRegionFoam, but I found that it's quite difficult to directly integrate the code to my code because of may things such as the "setRegionFluidFields.H" etc. However I understand that basic steps are 1. create fields of each mesh (per region)it was also confirmed by the old presentation about "conjugate heat transfer" by Craven and Campbell 2011, link: http://www.google.de/url?sa=t&rct=j&...yET3qTlotFMBEg I have also done the toturials for chtMultiRegionFoam, but what I want is simply to calculate T for solid coupled with exsting models in melt. Based on their hints, I extends the laplacianFoam to a very simple heat transfer code for testing/learning purpose. In that code, simple do following steps: 1. create mesh for solid and liquid separately: fvMesh solidMesh, fvMesh liquidMesh 2. create T fields sperately: Code:
volScalarField Tsolid ( IOobject ( "T", runTime.timeName(), solidMesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), solidMesh ); volScalarField Tliquid ( IOobject ( "T", runTime.timeName(), liquidMesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), liquidMesh ); (take the liquid as an example) Code:
{ volScalarField& T = Tliquid; dimensionedScalar& DT = DTliquid; solve ( fvm::ddt(T) - fvm::laplacian(DT, T) ); } I have tested it in a very simple geometry: two blocks of two regions connected by a interface. It was created by blockMesh and splitMeshRegions -cellZones -overwrite. The just created code "chtTFoam" works fine if the BC on interfaces "Solid_to_liquid" and "liquid_to_Solid" are set to e.g. zeroGradient. But If I set them to "compressible::turbulentTemperatureCoupledBaffleMi xed" for conjugate heat transfer, the solver said: -> FOAM FATAL IO ERROR: Question: 1. does anyone know which boundary condition is suitable for such a simple condition?Thanks a lot for helping and discussion! best regards, Can |
|
May 29, 2017, 10:04 |
it works now
|
#2 |
New Member
Can Huang
Join Date: Oct 2010
Posts: 8
Rep Power: 16 |
Thanks to some hints from some colleagues, it works now!
One has to add the libraries in Make/option: then solver know the boundary condition "compressible::turbulentTemperatureCoupledBaffleMi xed" Code:
EXE_LIBS = \ -lcompressibleTransportModels \ -lfluidThermophysicalModels \ -lsolidThermo \ -lspecie \ -lturbulenceModels \ -lcompressibleTurbulenceModels \ -lmeshTools \ -lfiniteVolume \ -lradiationModels \ -lfvOptions \ -lregionModels \ -lsampling |
|
July 24, 2017, 20:46 |
|
#3 |
New Member
C.V
Join Date: Jul 2017
Posts: 1
Rep Power: 0 |
Could you please post you solver in order to understand how are you implementing conjugate heat transfer into buoyantBoussinesqPimpleFoam?.
I'm also trying to modify fabian roesler solver from melting problem: looking for appropriate solvers but I don't know how to implement chtMultiRegionFoam. |
|
March 13, 2019, 11:16 |
|
#4 |
New Member
Amal
Join Date: May 2018
Posts: 3
Rep Power: 8 |
Dear onlyacan,
I tried doing what you did but didn't work. I am relatively new to OpenFOAM. It would be helpful you can share all the changes you made in buoyantbuossinesq pimple foam. I am trying to model incompressible liquid inside a solid cavity with heat transfer from the solid boundaries. Any suggestion for solving this problem will be great. |
|
Tags |
cht, cht coupling, chtmultiregionfoam, conjugate heat transfer, heat boundary condition |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
heat flux on solid surface in conjugate heat transfer | skuznet | OpenFOAM Pre-Processing | 0 | December 10, 2013 00:36 |
Conjugate heat transfer | ali_1364reza | FLUENT | 1 | May 31, 2012 09:38 |
Conjugate heat transfer in reacting flow | ali_1364reza | OpenFOAM | 1 | May 30, 2012 14:15 |
Conjugate heat transfer | ali_1364reza | CFX | 3 | May 30, 2012 07:42 |
Conjugate Heat Transfer between fluid and solid | Li Yang | Main CFD Forum | 8 | March 27, 2004 11:05 |