
[Sponsors] 
Is there a bug when running createBaffles in parallel??? 

LinkBack  Thread Tools  Search this Thread  Display Modes 
May 12, 2015, 12:57 
Is there a bug when running createBaffles in parallel???

#1 
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 20 
Dear foamers,
I'm in the need of some urgent help but I don't know if someone have the knowledge to help me. My problem is related to the createBaffles utility, more exactly when using it in parallel in a multi region case. I used to use it some months ago in order to create thermal baffles in a case that I finally refused because finally I created the baffles as a solid region instead. In that case I used to obtain some physical values for the thermal distribution in the baffles. Now, after some work with the solid baffles, I tried to go back to the same case with thermal baffles created as a surface instead of as a solid. My surprise was that in the last iteration the temperature in the whole baffle remains constant with the same value as in the initial conditions. Here comes the specification I use in my baffle's creation process: Code:
baffles { shieldBaffle1D_1_up { // Use predefined faceZone to select faces and orientation. type faceZone;// zoneName shield_1_up; patchPairs { type wall; patchFields { #include "./0.org/include/wallBafflePatches_shield" #include "./0.org/include/1DBaffle/1DTemperatureMasterBafflePatches_shield" } } } Code:
"./0.org/include/wallBafflePatches_shield" alphat { type compressible::alphatWallFunction; value uniform 0; } epsilon { type compressible::epsilonWallFunction; value uniform 0.01; } k { type compressible::kqRWallFunction; value uniform 0.01; } mut { type mutkWallFunction; value uniform 0; } p { type calculated; value uniform 1e2; } p_rgh { type fixedFluxPressure; } U { type fixedValue; value uniform (0 0 0); } G { type MarshakRadiation; T T; emissivityMode lookup; emissivity uniform 0.08; value uniform 0; } IDefault { type greyDiffusiveRadiation; T T; emissivityMode lookup; emissivity uniform 0.08; value uniform 0; } Code:
"./0.org/include/1DBaffle/1DTemperatureMasterBafflePatches_shield" T { type compressible::thermalBaffle1D<hConstSolidThermoPhysics>; thickness uniform 0.002; // thickness [m] Qr Qr; relaxation 0; Qs uniform 0; // heat flux [W/m2] # include "1DbaffleSolidThermo_shield" value uniform 500; } Code:
"1DbaffleSolidThermo_shield" specie { nMoles 1; molWeight 20; } transport { kappa 21;//400ºC } thermodynamics { Hf 0; Cp 460; } equationOfState { rho 7930; } Code:
Old case > "0/air/T" shieldBaffle1D_1_up_master { type compressible::thermalBaffle1D<hConstSolidThermoPhysics>; thickness uniform 0.002; Qr Qr; relaxation 0; Qs uniform 0; specie { nMoles 1; molWeight 20; } transport { kappa 21; } thermodynamics { Hf 0; Cp 460; } equationOfState { rho 7930; } coupleGroup shieldBaffle1D_1_up; value uniform 600; } shieldBaffle1D_1_up_slave { type compressible::thermalBaffle1D<hConstSolidThermoPhysics>; thickness uniform 0.002; Qr Qr; relaxation 0; Qs uniform 0; specie { nMoles 1; molWeight 20; } transport { kappa 21; } thermodynamics { Hf 0; Cp 460; } equationOfState { rho 7930; } coupleGroup shieldBaffle1D_1_up; value uniform 600; } Code:
Current case > "processor*/0/air/T" shieldBaffle1D_1_up_master { type compressible::thermalBaffle1D<hConstSolidThermoPhysics>; refValue uniform 500; refGradient uniform 0; valueFraction uniform 0; value uniform 500; sampleMode nearestPatchFace; sampleRegion air; samplePatch shieldBaffle1D_1_up_slave; coupleGroup shieldBaffle1D_1_up; thickness uniform 0.002; Qs uniform 0; specie { nMoles 1; molWeight 20; } equationOfState { rho 7930; } thermodynamics { Cp 460; Hf 0; } transport { kappa 21; } QrPrevious uniform 0; Qr Qr; QrRelaxation 0; } shieldBaffle1D_1_up_slave { type compressible::thermalBaffle1D<hConstSolidThermoPhysics>; refValue uniform 500; refGradient uniform 0; valueFraction uniform 0; value uniform 500; sampleMode nearestPatchFace; sampleRegion air; samplePatch shieldBaffle1D_1_up_master; coupleGroup shieldBaffle1D_1_up; QrPrevious uniform 0; Qr Qr; QrRelaxation 0; } I will really appreciate any hint given in order to solve my little problem... Many thanks in advance! 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! Last edited by zfaraday; May 12, 2015 at 12:59. Reason: style 

May 12, 2015, 14:32 

#2 
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 20 
Well... after another attempt I can state that it's not an issue about using the utility in parallel or not, because I have now run it normally and I still have the same problem... Any hint on what should I do so as to solve my problem?
For more information, I'm using chtMultiRegionSimpleFoam solver with frozenFlow option so that only enthalpy equation is solved. Furthermore, convection can be neglected (vaccum conditions, I set up a cp for the air of 10e5) and only radiation and conduction must be taken into account in this case. Hope someone can help me to set up properly the thermalBaffle1D BC. Many thanks in advance. 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! 

Tags 
createbaffles, multi region, parallel, thermal baffles 
Thread Tools  Search this Thread 
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Problem running movingCylinders case in parallel with foamextend3.1  mhkenergy  OpenFOAM Running, Solving & CFD  5  March 3, 2017 06:20 
running OpenFoam in parallel  vishwa  OpenFOAM Running, Solving & CFD  22  August 2, 2015 09:53 
Something weird encountered when running OpenFOAM in parallel on multiple nodes  xpqiu  OpenFOAM Running, Solving & CFD  2  May 2, 2013 05:59 
Parallel Moving Mesh Bug for Multipatch Case  albcem  OpenFOAM Bugs  17  April 29, 2013 00:44 
Running PimpleDyMFoam in parallel  paul b  OpenFOAM Running, Solving & CFD  8  April 20, 2011 06:21 