CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM

setup of inital condition

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 9, 2010, 07:55
Default setup of inital condition
  #1
New Member
 
Silvia Di Francesco
Join Date: Jun 2010
Posts: 9
Rep Power: 6
gija79 is on a distinguished road
hi
I would like to simulate an unsteady flow with a linear thermal gradient (with the vertical depth Z) at inlet.
The all dominion should be initialized with the same gradient.
How can I impose these value of temperature to the internal mesh? the simplified problem is something like the image attached.
Suggestion about the solver to use?
Thanks Silvia
Attached Images
File Type: jpg example_fahrad.jpg (17.2 KB, 34 views)
gija79 is offline   Reply With Quote

Old   September 10, 2010, 13:14
Default
  #2
Member
 
edison
Join Date: May 2009
Location: Australia
Posts: 33
Rep Power: 7
Edison_Ge is on a distinguished road
You may need to do some modification on the source code for new inlet boundary. http://www.tfd.chalmers.se/~hani/kur...yCondition.pdf
This pdf may help you find a way.
Edison_Ge is offline   Reply With Quote

Old   September 10, 2010, 13:25
Default
  #3
Member
 
edison
Join Date: May 2009
Location: Australia
Posts: 33
Rep Power: 7
Edison_Ge is on a distinguished road
actually, it may be easier that. Take a look at the discussion BC in openFoam
and then check the user guide 4.2.9. Hope it may help.
Edison_Ge is offline   Reply With Quote

Old   September 10, 2010, 14:52
Default
  #4
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 418
Rep Power: 14
santiagomarquezd will become famous soon enough
Did you try funkySetFields?

Bye.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Post-doctoral Fellow
Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL
T.E.: 54-342-4511594 Ext. 1005
Güemes 3450 - (3000) Santa Fe
Santa Fe - Argentina
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   September 23, 2010, 13:30
Default bouyantboussinesqpimpleFoam
  #5
New Member
 
Silvia Di Francesco
Join Date: Jun 2010
Posts: 9
Rep Power: 6
gija79 is on a distinguished road
thanks for the suggestions. I used funkysetfields for temperature gradient and
timeVaryingUniformFixedValue for unsteady conditions at inlet.
The fluid to simlate to is water, so uncompressible
About the solver:
I tried to use bouyantboussinesqpimpleFoam putting the following boundary conditions:


U
internalField uniform (0 0 0);

boundaryField
{
inlet : timeVaryingUniformFixedValue;

outlet: zeroGradient;

bottom fixed value uniform (0 0 0);

atmosphere zeroGradient;

defaultFaces empty (2D case)
}

T

inlet
type fixedValue;
value nonuniform
All other boundaries are set as zerogradient.


p
inlet
{
type zeroGradient;

}
outlet
{
type fixedValue;
value uniform 0;

}
bottom
{
type zeroGradient;
}
atmosphere
{
type fixedValue;
value uniform 0;

defaultFaces
{
type empty;

For thermopysical aspect I use the folowing:

thermoType hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<icoPolynomial>>>>>;

mixture water 1 18 4190 0 1.001e-03 10;

pRef 100000;



I tried with and without gravity but the temperature field seems to become crazy, with value too high!

Did I make some big mistake or should I consider a different solver?
and which one?
thank you
Silvia
gija79 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Hexa mesh, curve mesh setup, bunching law Anorky ANSYS Meshing & Geometry 4 November 12, 2014 01:27
How to setup boundary condition with couple solver JINHUI FLUENT 0 September 8, 2006 18:07
Boundary Condition Setup Lee Main CFD Forum 1 September 8, 2004 23:10
how to setup boundary condition young Main CFD Forum 4 April 11, 2004 20:57
Please, how to setup different initial condition. RAN FLUENT 1 November 8, 2002 09:51


All times are GMT -4. The time now is 05:38.