|
[Sponsors] |
Problems using createBaffles to create a 3D thermal baffle |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 2, 2014, 16:26 |
Problems using createBaffles to create a 3D thermal baffle
|
#1 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Dear FOAMers,
As I commented in my latest thread (extrange-behaviour-when-solving-circuitboardcooling-tutorial) opened recently, lately I have been testing the Circuit Board Cooling tutorial. My main aim was to discover the procedure of creating 3D baffles for thermal applications in a multi region problem. I had a bunch of problems during my several attempts, because the tutorial is made up of only one region and I didn't know the exact execution order of the multiple applications needed in order to create the geometry I need. The utilities I used in my case are:
However I got confused because I didn't know if I had to create the baffle first and then split the regions or the opposite (I tried both, I tried almost everything). These are the Allrun scripts that I think should suit my needs:
________________________________1st Question________________________________ · What is the most proper procedure to generate correctly the regions and the baffle? Did I miss any step? How would you do that? __________________________________________________ ________________________ I'll let you know that both procedures created the baffle patches but no one generated the 3D baffle region it is supposed to be generated after the process is finished. That is, something didn't work well. As this was my first attempt creating 3D thermal baffles I finally decided to simplify my case, because I thought that maybe the problem came from the multi region specification. Thus, I ended up creating a single air block with a baffle (very, very similar to the tutorial case, but all was made by me except the baffle definition that was taken from the tutorial). My surprise was that the result was the same I got before with the multi region case (it was the same geometry but without using the topoSet step in the Allrun script). Baffle patches were created but no 3D baffle region nowhere... At this point, I tried to find out what was happening and I found out something suspicious in the log.createBaffles and the 0/T files. Attached you can see both files coming from the tutorial (*.txt) and from my personal attempt (*.myCase.txt). The main difference between both log files is that this piece is missing in my case but not in the tutorial case: Code:
Selecting extrudeModel linearNormal Selecting region model functions none The thermal baffle is 3D Selecting thermodynamics package { type heSolidThermo; mixture pureMixture; transport constIso; thermo hConst; equationOfState rhoConst; specie specie; energy sensibleEnthalpy; } Selecting radiationModel opaqueSolid Selecting absorptionEmissionModel none Selecting scatterModel none ________________________________2nd Question________________________________ · Why is the region not created if I used exactly the same specification in the createBaffleDict file that is used in the tutorial? What am I doing wrong? I'm begining to get crazy for it since I have tried it a bunch of times and it never works in my case but keeps working in the tutorial case... __________________________________________________ ________________________ On the other hand, I noticed that the definition of the boundary condition in the baffle patch of the T file (also in the other variables) is quite diferent from one case to the other. Let's see the difference.
You can see the differences deeper by checking the files attached if you need it. ________________________________3rd Question________________________________ · Is this error related to the previous one? Is it really an error? Why is it occurring? __________________________________________________ ________________________ As you can see I am having strong problems and I don't know what to do next because, as I already said, I have been trying to figure out what is going wrong for a few days with no success. That's why now I really need some help to go forward with my case. I'm sure that the problem is something obvious, or even ridiculous, but I haven't been able to solve it by myself so far. So if anybody has a hint or advice I will be very grateful to read it. Many thanks in advance. Alex PS: My apologies for the size of the text
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
February 6, 2015, 19:43 |
|
#2 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
Did you get this to work ?
I suspect that buoyant simple foam is different from chtmultiregionssimplefoam and that the baffle region may need to be explicitly created just like the other regions int chtmultiregionsimplefoam. I m at the same point with this so any tips or even a working case with chtmultiregionssimplefoam and thermalbaffle3d would be welcome
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
February 8, 2015, 09:18 |
|
#3 | |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Hi Derek
Quote:
By the way, if you are using buoyantSimpleFoam, have you taken a look at the circuitBoardCooling tutorial? It's the tutorial I learnt the baffle creation set up from. Study that case and understand it and afterwards try to create your own (3D?) baffle. If you finally can create it successfully you could come back here to mention it so I never managed to create a 3D baffle on my own... Regards, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
||
February 9, 2015, 15:38 |
|
#4 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
Attachment 37066These is a straight merge of the CHTmultregionsimplefoam and the 3D baffel from circuit cooling
I got it to solve but its lost its heat input via the Q field. To see the baffle set a temperature in the baffle changedictionarydict. I've turned off the heater so you can see the baffle heat it up.
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
February 2, 2016, 08:31 |
check controlDcit
|
#5 |
New Member
Jongtae Kim
Join Date: Mar 2009
Location: Daejeon, Republic of Korea (South)
Posts: 8
Rep Power: 17 |
I had the same problem before.
Do you add a line to include thermlaBaffle lib in the controlDict? You can find the line in the controlDict file in circuitBoardCooling tutorial. |
|
February 2, 2016, 12:19 |
|
#6 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Hi @jkim!
Yes, you are right, I forgot to add the library in the controlDict, I realized that some time ago, but never tried it again since it was a problem of the past and I had no time to try it again. However, I'm sure it was because of what you say that I had this problem. Thanks to point it out! Best regards, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
October 1, 2016, 16:44 |
|
#7 |
Senior Member
Sergei
Join Date: Dec 2009
Posts: 261
Rep Power: 21 |
Can those baffle be used along with viewFactor radiation mode? I mean, I have a region with external boundaries. Then I create some internal baffles (they are seen by the code as boundaries, right?). And now I want the external and internal boundaries to take part in radiation exchange. Can it work out?
|
|
October 1, 2016, 17:44 |
|
#8 | |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
Quote:
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
||
October 1, 2016, 19:00 |
|
#9 |
Senior Member
Sergei
Join Date: Dec 2009
Posts: 261
Rep Power: 21 |
||
October 3, 2016, 12:31 |
|
#10 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Hi Sergei,
I see that you are struggling with radiation mixed with baffles as per what I have been seeing in several posts regarding these matters. Well, as per your question, yes, you can use baffles with radiation (no matter what kind of model you use in order to compute it). Regarding the viewFactors method, you can specify what BC's (baffles included) play a role in radiation within the viewFactorsDict file. If you want to get a tutorial case where radiation takes an important role you can download it from my web site. In this case radiation is modelled via fvDOM model, however you can switch it to viewFactors and play around with it a little. Hope it helps. Best regards, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
September 6, 2017, 18:07 |
|
#11 |
Senior Member
|
Hi all,
I'm trying to set up a case with Baffles as well, following a similiar way to what Alex did. In few words, I copied the same settings from the circuitBoad tutorial and changed them according to mine. When I run the createBaffles utility I got this: Code:
inconsistent patch and patchField types for patch type empty and patchField type zeroGradient file: /home/michele/OpenFOAM/michele-dev/run/mio_heatTransfer/baffles_thermal_dicts/0/baffle3DRegion/T.boundaryField.side from line 32 to line 32. From function static Foam::tmp Foam::fvPatchField::New(const Foam::fvPatch&, const Foam::DimensionedField&, const Foam::dictionary&) [with Type = double] in file /home/ubuntu/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 160. FOAM exiting Can someone explain me what top, bottom and side means for the BC of the Baffles? Code:
FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 300; boundaryField { bottom { type compressible::thermalBaffle; kappaMethod solidThermo; value uniform 300; } side { type zeroGradient; } top { type compressible::thermalBaffle; kappaMethod solidThermo; value uniform 300; } } Last edited by student666; September 8, 2017 at 07:33. |
|
Tags |
3d thermal baffles, createbaffles, thermal baffles |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
[snappyHexMesh] handling of baffle regions or surfaces with zero thickness with snappyHexMesh | StSchiff | OpenFOAM Meshing & Mesh Conversion | 5 | March 8, 2017 10:45 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |
[blockMesh] Problems of mutiple regions | fw407 | OpenFOAM Meshing & Mesh Conversion | 2 | February 8, 2008 08:54 |
Info: Short Course On Thermal Design of Electronic Equipment | Arnold Free | Main CFD Forum | 0 | August 10, 1999 11:18 |