CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Nonuniform internal temperature field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2015, 02:05
Default Nonuniform internal temperature field
  #1
New Member
 
Stefan
Join Date: Mar 2015
Location: Bavaria
Posts: 7
Rep Power: 11
deve is on a distinguished road
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;
}
I appreciate every answer.
Regards,
Deve
deve is offline   Reply With Quote

Old   July 7, 2015, 11:39
Default
  #2
MSF
New Member
 
Join Date: Apr 2014
Location: Germany
Posts: 24
Rep Power: 12
MSF is on a distinguished road
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
MSF is offline   Reply With Quote

Old   July 9, 2015, 01:12
Default
  #3
New Member
 
Stefan
Join Date: Mar 2015
Location: Bavaria
Posts: 7
Rep Power: 11
deve is on a distinguished road
Quote:
Originally Posted by MSF View Post
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
Thanks for your reply. That might be working very well for simple geometries, since my mesh absolutely nonuniform that might by a bit difficiult, but nevertheless possible.

But assuming, I'm able to create this cellZone, how do I declarate in the "T"-file that different zones have different temperatures?
deve is offline   Reply With Quote

Old   February 3, 2016, 10:56
Default Any answer to this?
  #4
New Member
 
Nick
Join Date: Sep 2012
Posts: 11
Rep Power: 13
Nicolastheterminator is on a distinguished road
Hi,

The answer to this question really interests me.

Has anybody solved it?

Kind regards,
Andris
Nicolastheterminator is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL AndoniBM OpenFOAM Running, Solving & CFD 2 March 25, 2015 18:44
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Internal field temperature decreases after each iteration (Combustion Modeling) germinal OpenFOAM Running, Solving & CFD 1 November 29, 2010 13:16
Initialize volume temperature field with a computed field magnounibo FLUENT 2 December 11, 2009 03:06


All times are GMT -4. The time now is 17:11.