|
[Sponsors] |
August 17, 2012, 05:04 |
FixedValue of Temperature for a volume
|
#1 |
Member
M
Join Date: Jul 2012
Posts: 33
Rep Power: 14 |
Hello,
Problematic : Is it possible, with OpenFOAM, to define a fixed temperature for a volume (named cellzone) ? Explication : My problem is that i have a box in a room. I define the temperature field in my box as : Code:
dimensions [ 0 0 0 1 0 0 0 ]; internalField uniform 353; boundaryField { box_to_box2 { type compressible::turbulentTemperatureCoupledBaffleMixed; value uniform 353; neighbourFieldName T; K solidThermo; KName none; } box_to_fluid { type compressible::turbulentTemperatureRadCoupledMixed; value uniform 353; Tnbr T; K solidThermo; QrNbr Qr; Qr none; KName none; } } But after 1 iteration, the fluid cool the box (293 vs 353), so the temperature of my box go down. How can i fix the value in my box ? (I can't delete my interface ?!) Thank you for any hint Best regards. m_f Last edited by m_f; August 17, 2012 at 10:13. |
|
August 23, 2012, 06:49 |
|
#2 |
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23 |
Hi,
if you want temperature in your box fixed, then you do not need to model it! Simply, model box2 and fluid and where the box is, use a Code:
type fixedValue; value uniform 353; could you add a picture of your problem thus everything is clearer? mad |
|
August 23, 2012, 09:34 |
|
#3 | ||
Member
M
Join Date: Jul 2012
Posts: 33
Rep Power: 14 |
Quote:
Finally my goal is to calculate the heat transfert throw box1 faces, with wallHeatFlux (even if i don't know nowadays how it's work....). I use topoSet and splitMeshRegion to create my boxes and my fluid meshes. splitMeshRegion creates automatically my bondary as : Code:
For interface between region fluid and box2 added patches 6 fluid_to_box2 7 box2_to_fluid For interface between region pcb and box1 added patches 8 box2_to_box1 9 box1_to_box2 For interface between region fluid and box1 added patches 10 fluid_to_box1 11 box2_to_fluid Or I have to modify an existing patch, to put fixed value ? I'm a bit lost :/ Quote:
Best regards, m_f |
|||
August 23, 2012, 09:59 |
|
#4 |
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23 |
I have never used wallHeatFux (even though I tried to...). However, calculating the heat transfer should not be a problem...
As for the case: you can delete the box mesh. Interfaces box_to_x can be defined as patch and you can use whenever bc you want on it. mad |
|
August 23, 2012, 10:05 |
|
#5 | ||
Member
M
Join Date: Jul 2012
Posts: 33
Rep Power: 14 |
Hello,
Quote:
For information, bondaries of box1 are defined as : Code:
( box1_to_box2 { type mappedWall; nFaces 1444; startFace 62396; sampleMode nearestPatchFace; sampleRegion box2; samplePatch box2_to_box1; offsetMode uniform; offset (0 0 0); } box1_to_fluid { type mappedWall; nFaces 3724; startFace 63840; sampleMode nearestPatchFace; sampleRegion fluid; samplePatch fluid_to_box1; offsetMode uniform; offset (0 0 0); } ) Quote:
Best regards, m_f |
|||
August 23, 2012, 10:14 |
|
#6 |
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23 |
your fluid has "external" domains, right? your box1_to_x patch must be defined as that one. look at the boundary file and copy the definition (not the nFace startFace though!)
|
|
August 23, 2012, 10:48 |
|
#7 |
Member
M
Join Date: Jul 2012
Posts: 33
Rep Power: 14 |
No, it's a internal fluid, in a kind of canalization. Sorry, i wasn't clear, there are walls all around the fluid, barring inlet and outlet.
But...It's work ! As you said, I modified some point : All box1_to* or *to_box1 were modify : Before : Code:
box1_to_box2 { type compressible::turbulentTemperatureCoupledBaffleMixed; value uniform 353; neighbourFieldName T; K solidThermo; KName none; } box1_to_fluid { type compressible::turbulentTemperatureRadCoupledMixed; value uniform 353; Tnbr T; K solidThermo; QrNbr Qr; Qr none; KName none; } Code:
box1_to_box2 { type fixedValue; value uniform 353; } box1_to_fluid { type fixedValue; value uniform 353; } But, destroying the compressible::turbulentTemperatureRadCoupledMixed wall conditin to a fixedValue, Is the radiation effect of my box1 in the fluid destroy ? I don't really understand how Qr file is used... Code:
Extract of /0/fluid/Qr : "fluid_to_.*" { type greyDiffusiveRadiationViewFactor; emissivityMode solidThermo; << Is solidThermo the material of the fluid or of the _.* ? Qro uniform 0; value uniform 0; } m_f Last edited by m_f; August 23, 2012 at 11:13. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
FloWorks (Flow Express) Volume Goal Setting Issue | rbigelow | FloEFD, FloWorks & FloTHERM | 1 | November 16, 2009 02:32 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
chemical reaction - decompostition | La S. Hyuck | CFX | 1 | May 23, 2001 01:07 |