|
[Sponsors] |
Extrange behaviour when solving the "circuitBoardCooling" tutorial |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 21 ![]() |
Hello FOAMers,
Lately I have been playing with the "circuit board colling" tutorial down to "heatTransfer/buoyantSimpleFoam" folder in order to understand the thermal baffles functionality and creation. As it is supposed, it ran well (I haven't checked deeply the log file, but at least it seems it reached a solution. Come on!! It's a tutorial, it HAS TO work fine!). However, when I run paraFoam to check the results, if I check the T field in the Volume Fields section and click on Apply button the application crashes suddenly. It only happens when T file is selected to be displayed. After I discovered it, I tried to figure out what the problem was on my own (I couldn't, indeed, otherwise now I wouldn't be here typing this). I checked the log files generated and I found something suspicious in the log.createBaffles file shown below. Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.x-d406bd3aab60 Exec : createBaffles -overwrite Date : Sep 01 2014 Time : 17:23:06 Host : "linux-cfd" PID : 5960 Case : /home/cfd/OpenFOAM/cfd-2.3.x/run/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading baffle criteria from createBafflesDict Not converting faces on non-coupled patches. Reading geometric fields Reading volScalarField alphat Reading volScalarField p_rgh Reading volScalarField mut Reading volScalarField p Reading volScalarField k Reading volScalarField T Reading volScalarField epsilon Reading volVectorField U Created zone baffleFacesThermoBaffle1D at index 0 with 16 faces Created zone baffleFacesThermoBaffle3D at index 1 with 16 faces Converted 32 faces into boundary faces in patches 4 ( baffleFacesThermoBaffle1D_master baffleFacesThermoBaffle1D_slave baffleFacesThermoBaffle3D_master baffleFacesThermoBaffle3D_slave ) --> FOAM Warning : From function createBaffles in file createBaffles.C at line 773 Setting field on boundary faces to zero. You might have to edit these fields. 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 Writing mesh to 0 End #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 in "/lib64/libc.so.6" #3 at thermalBaffleFvPatchScalarField.C:? #4 Foam::compressible::turbulentTemperatureRadCoupledMixedFvPatchScalarField::~turbulentTemperatureRadCoupledMixedFvPatchScalarField() at ??:? #5 Foam::compressible::thermalBaffleFvPatchScalarField::~thermalBaffleFvPatchScalarField() at ??:? #6 Foam::PtrList<Foam::fvPatchField<double> >::~PtrList() at ??:? #7 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::~GeometricField() at ??:? #8 Foam::basicThermo::~basicThermo() at ??:? #9 Foam::heSolidThermo<Foam::solidThermo, Foam::pureMixture<Foam::constIsoSolidTransport<Foam::species::thermo<Foam::hConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleEnthalpy> > > >::~heSolidThermo() at ??:? #10 Foam::regionModels::thermalBaffleModels::thermalBaffle::~thermalBaffle() at ??:? #11 Foam::regionModels::thermalBaffleModels::thermalBaffle::~thermalBaffle() at ??:? #12 Foam::compressible::thermalBaffleFvPatchScalarField::~thermalBaffleFvPatchScalarField() at ??:? #13 Foam::compressible::thermalBaffleFvPatchScalarField::~thermalBaffleFvPatchScalarField() at ??:? #14 Foam::PtrList<Foam::fvPatchField<double> >::~PtrList() at ??:? #15 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::~GeometricField() at ??:? #16 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::~GeometricField() at ??:? #17 Foam::PtrList<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >::~PtrList() at ??:? #18 at ??:? #19 __libc_start_main in "/lib64/libc.so.6" #20 at /home/abuild/rpmbuild/BUILD/glibc-2.17/csu/../sysdeps/x86_64/start.S:126 After that I made some tests. I tried to only create one of the two baffles separately, instead of both at the same time, and I found out something that may be relevant. When I only create the 1D baffle no error appears in the log.createBaffles file and I'm allowed to see the temperature distribution with paraFoam. When I create the 3D baffle, though, the error comes up again and paraFoam crashes too. What is not going right with the 3D baffle creation in the tutorial? As I said, this is the original tutorial, so it is supposed to work properly out of the box, isn't it? I really need some help with this because I have to learn how to create thermal baffles to solve a similar (but a little more complicated) problem. Thanks in advance! Alex Note: I couldn't avoid to write some personal thoughts (about obvious facts...Oh! I did it again...) that came out of my mind...
__________________
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! ![]() |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Walter
Join Date: Oct 2014
Posts: 3
Rep Power: 11 ![]() |
Hey Alex
Sorry for the delayed answer. I'm completly new in OpenFOAM and saw your thread today. I ran the turtorial "circuitBoardCooling" and for me there is no error, when i create the baffle. Have you tried to run the case with v. 2.3.0? With this version, it works for me. Best regards Walter |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 21 ![]() |
Hi Walter,
Thanks for your answer. Finally I could find the solution some time ago. I don't remember what I did to make it run, but I already got it. 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! ![]() |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Walter
Join Date: Oct 2014
Posts: 3
Rep Power: 11 ![]() |
hey Alex
i have a question: have you ever tried/managed to run the buoyantSimpleFoam-Solver in parallel? I tried it and my problem is, that the 3d baffle seems to have his own polymesh which will not decomposed with the normal command decomposePar. best regards Walter edit: ah it was easier then i've expected. i had to decompose the 3d baffle with the command: decomposePar -region *name of 3d baffle* |
|
![]() |
![]() |
![]() |
Tags |
circuitboardcooling, createbaffles, thermal baffles |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
transsonic nozzle with rhoSimpleFoam | Unseen | OpenFOAM Running, Solving & CFD | 8 | July 1, 2022 06:54 |
Help for the small implementation in turbulence model | shipman | OpenFOAM Programming & Development | 25 | March 19, 2014 10:08 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 06:37 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 04:03 |
Problems with simulating TurbFOAM | barath.ezhilan | OpenFOAM | 13 | July 16, 2009 05:55 |