|
[Sponsors] |
July 7, 2015, 03:05 |
Nonuniform internal temperature field
|
#1 |
New Member
Stefan
Join Date: Mar 2015
Location: Bavaria
Posts: 7
Rep Power: 11 |
Good morning,
I'm working on a simulation using porousInterFoam with different porousZones. In this simulation a liquid flows from one end of the domain to the other one (see red arrows). While flowing from one end to the other, the fluid passes over areas with different temperatures. Since my viscosity is highly dependant on the temperature I have to take this effect into consideration. My problem is that don't know how I can set the interField in such a way that for example zone 1 has 300K and zone 2 has 400K. I found this post http://www.cfd-online.com/Forums/openfoam-solving/111568-difference-between-internalfield-setfields.html but saw that they work with boxes and stuff, which I'm not familiar with. For the creation of the mesh, I had to use Hypermesh since the geometry is more complex than the one in the picture attached. http://www.pic-upload.de/view-276034...rfeld.png.html So my questions are: 1) is it possible to apply a nonuniform temperature field where different elements have different temperatures? 2) If so, how do I have to modify the input-file for "T"? 3) Is there a conveniant way of creating some kind of "zones" with hypermesh (sth. similar to a porousZone), exporting it in .cas-format and then be able to access the zones saying Code:
internalField{ zone1 400; zone2 300; } Regards, Deve |
|
July 7, 2015, 12:39 |
|
#2 |
New Member
Join Date: Apr 2014
Location: Germany
Posts: 24
Rep Power: 12 |
Hello,
the boxes are very simple: first three numbers are the left bottom point of the box and the second three numbers are the right upper point of the box. A box refers to a Rectangle in 2D so the third coordinate does not matter. Include two boxes in your setFieldsDict and run setFields before the start of your Simulation. Don't forget to copy your T-File. A good example for all this can be found in the damBreak tutorial of OpenFoam. Greetings |
|
July 9, 2015, 02:12 |
|
#3 | |
New Member
Stefan
Join Date: Mar 2015
Location: Bavaria
Posts: 7
Rep Power: 11 |
Quote:
But assuming, I'm able to create this cellZone, how do I declarate in the "T"-file that different zones have different temperatures? |
||
February 3, 2016, 11:56 |
Any answer to this?
|
#4 |
New Member
Nick
Join Date: Sep 2012
Posts: 11
Rep Power: 14 |
Hi,
The answer to this question really interests me. Has anybody solved it? Kind regards, Andris |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL | AndoniBM | OpenFOAM Running, Solving & CFD | 2 | March 25, 2015 19:44 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
Internal field temperature decreases after each iteration (Combustion Modeling) | germinal | OpenFOAM Running, Solving & CFD | 1 | November 29, 2010 14:16 |
Initialize volume temperature field with a computed field | magnounibo | FLUENT | 2 | December 11, 2009 04:06 |