Nonuniform internal temperature field
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:
Regards, Deve |
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 |
Quote:
But assuming, I'm able to create this cellZone, how do I declarate in the "T"-file that different zones have different temperatures? |
Any answer to this?
Hi,
The answer to this question really interests me. Has anybody solved it? Kind regards, Andris |
All times are GMT -4. The time now is 07:27. |