|
[Sponsors] |
February 13, 2012, 22:07 |
Initialization using DEFINE_INIT
|
#1 |
Member
Shashank
Join Date: Apr 2011
Posts: 74
Rep Power: 14 |
I have a fluid zone and a solid zone in my model. These two zones are connected via a wall. Fluent creates a shadow for the wall when I import the meshed model into it, where shadow faces the fluid zone and the primary wall faces the solid zone.
Now I initialize my velocity and temperature using UDF in solid (only temperature) and fluid zones. But how do I initialize the wall temperature? Can I loop over faces of a thread in a DEFINE-INIT macro? Thanks, Shashank |
|
February 14, 2012, 01:40 |
|
#2 |
Senior Member
xrs333
Join Date: Aug 2010
Posts: 125
Rep Power: 16 |
Variables are stored on cell zones, interior face zones, including coupled wall, do no need predefined conditions.
|
|
February 14, 2012, 01:52 |
|
#3 |
Member
Shashank
Join Date: Apr 2011
Posts: 74
Rep Power: 14 |
But the issue is that when I plot "temperature-vs-x" on top wall and its shadow (with node values toggled on), I get three curves. One accessing the value of cell above the wall (in the solid), one using the value of cell below the wall (in the fluid) and the third on between the two (probably on the surface, not sure about this). All I know is that the third one is coming from the corners of the top wall or its shadow.
Could you understand what I just said? |
|
February 14, 2012, 02:01 |
|
#4 |
Senior Member
xrs333
Join Date: Aug 2010
Posts: 125
Rep Power: 16 |
The third one you mentioned is face value and is obtained via interpolation.
|
|
February 14, 2012, 02:07 |
|
#5 |
Member
Shashank
Join Date: Apr 2011
Posts: 74
Rep Power: 14 |
Agreed. But what to do if the values are wrong?
My temp profile in solid: Twall + ax + bf(z) My temp profile in fluid: Twall + ax + cg(z) My supposed/true temp profile of wall: Twall + ax. But the values of Twall are way off! Maybe because Fluent uses the c0 and c1 values to calculate the values at the centroid of the faces. Right? |
|
February 14, 2012, 02:08 |
|
#6 |
Member
Shashank
Join Date: Apr 2011
Posts: 74
Rep Power: 14 |
FYI: Twall, a, b, c are all constants.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FMG initialization query | Mohsin | FLUENT | 6 | November 2, 2016 03:02 |
the initialization of the coupled level set method and vof model in FLUENT 13.0 | dutliang | FLUENT | 3 | December 13, 2011 22:28 |
why my result is 100% decided by initialization? | jiguozhao | CFX | 5 | June 4, 2011 08:18 |
Initialization | a student | Siemens | 2 | May 19, 2006 13:55 |
compressor initialization | paglia | FLUENT | 0 | February 1, 2006 16:14 |