CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

initila condition

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 9, 2011, 17:57
Default initila condition
  #1
Senior Member
 
hamid
Join Date: Nov 2010
Posts: 185
Rep Power: 6
hamid1 is on a distinguished road
Hello Everybody

My question is does different initial condition in steady and non steady flow lead to different result? how can one initialize in the best way?

thanks
hamid1 is offline   Reply With Quote

Old   February 10, 2011, 04:40
Default
  #2
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
Amir is on a distinguished road
Hi hamid,
if you use enough iterations per time step in order to reach convergence criteria in both cases, your result will not be different. this is a valuable tip for steady cases in which convergency problems exist!
Amir is offline   Reply With Quote

Old   February 11, 2011, 04:44
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 100
Rep Power: 8
alastormoody11 is on a distinguished road
Hi,

In steady cases initial conditions do not matter with regards to the final converged solution, however the closer your initial conditions are to the converged solution the lesser the number of iterations are required to reach the converged solution.

On the other hand in unsteady you need to know the initial conditons and if you give the wrong initial conditions, the solution goes awry because in an unsteady case the every time step is based on the solution of the preceding time step. So if you give wrong initial conditions your entire solution is wrong.
alastormoody11 is offline   Reply With Quote

Old   February 11, 2011, 19:01
Default
  #4
Senior Member
 
hamid
Join Date: Nov 2010
Posts: 185
Rep Power: 6
hamid1 is on a distinguished road
thank you for reply,
so plz just imagine that I have an unsteady problems, if first I solve it in steady mode (with arbitrary I.C.) until it converge and then shifting to Unsteady mode, then in this situation with any i.c. i will reach to the correct result in unsteady?
hamid1 is offline   Reply With Quote

Old   February 12, 2011, 10:03
Default
  #5
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
Amir is on a distinguished road
Hamid,
if you solve steady case and then shift to unsteady solver, the results of converged steady solution will be your I.C. for unsteady ones! if you set another I.C. here by initializing or patching, your steady data will vanish!
Amir is offline   Reply With Quote

Old   February 12, 2011, 17:02
Default
  #6
Senior Member
 
hamid
Join Date: Nov 2010
Posts: 185
Rep Power: 6
hamid1 is on a distinguished road
yeah, exactly.. i meant as you said kindly, i.e. with any i.c. (arbitrary), solving the problem first in steady mode and leading to a well converged result then using the result as i.c. for unsteady problem will lead to a correct solution...
but I did it for one of my problems as follow: there are two pipes attached to each other in the way that there are three openings, say opening 1,2 and 3, all three openings are supposed to be out let pressure, opening 1= 13300pa, opening2=13300 and opening 3(suction)= -100000 pa, for initialization first I made a mass balance between opening 3 and 2 and in other time I made a mass balance between opening 3 and opening 1&2, but the results are totally different ??
any clues or hint will diffidently help me, thanks
hamid1 is offline   Reply With Quote

Old   February 13, 2011, 08:43
Default
  #7
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
Amir is on a distinguished road
Hi Hamid,
would you explain your time varying parameters and also physical I.C. in your cases?
Amir is offline   Reply With Quote

Old   February 13, 2011, 14:42
Default
  #8
Senior Member
 
hamid
Join Date: Nov 2010
Posts: 185
Rep Power: 6
hamid1 is on a distinguished road
Hi Amir,
thanks for reply, then would u forward me ur email add I will send u the pics of b.c and IC by attachment
hamid1 is offline   Reply With Quote

Old   February 14, 2011, 05:14
Default
  #9
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
Amir is on a distinguished road
Hi,
your pictures recieved.
as I understood, non of your parameters vary with time e.g. p=p(t) or ,... are they?
in these cases you just have a steady problem that converge to result from an initial guess that depend on schemes that you used.
Amir is offline   Reply With Quote

Old   February 14, 2011, 06:11
Default
  #10
Senior Member
 
hamid
Join Date: Nov 2010
Posts: 185
Rep Power: 6
hamid1 is on a distinguished road
thanks for reply, actually there are two phases (red and blue in which red has higher viscosity and density), by implementing the intake opening(3), the fluid moves and the idea is to absorb the red phase inside the opening 3, I think there is an unsteady problem, as u can see in one case the trend is red phase absorbing through opening 3 and in the other case (with other i.c.) the red phase is going to way out from another opening, plz kindly let me know what do u think then,
hamid1 is offline   Reply With Quote

Old   February 14, 2011, 12:17
Default
  #11
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
Amir is on a distinguished road
Hamid,
if you want to see final phase positions, it's steady problem. but if you want to trace phase changing from specific initial phase positions then u should use unsteady solver and using steady solution here is not reasonable.
Amir is offline   Reply With Quote

Old   February 14, 2011, 12:51
Default
  #12
Senior Member
 
hamid
Join Date: Nov 2010
Posts: 185
Rep Power: 6
hamid1 is on a distinguished road
thanks, yes I want to see the movement of the second phase (red one) so it would be unsteady, but for i.c. could it influence my result, why I have different result for case 1 and case2 initialization? does solving in steady first and then using the result as new i.c. for unsteady solve my problem, i mean the steady solution works like a filter which whatever is my first i.c. , the coming out results is a good i.c. for unsteady,
thanks again,
hamid1 is offline   Reply With Quote

Old   February 14, 2011, 16:33
Default
  #13
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
Amir is on a distinguished road
Ok, notice that I.C. in unsteady cases is a part of your problem it's not a first guess! you don't have permission to set it by chance. as you said, you want to trace second phase from t=0 to desired time, it will absolutely depend on your I.C..
it would be surprising if you got same results with different I.Cs. !
if you trace second phase for long time and your case doesn't have any special features to be oscillated for example, your final phase position may be independent of I.C. ,here as I said before you can use steady solvers.
Amir is offline   Reply With Quote

Old   February 16, 2011, 06:27
Default
  #14
Senior Member
 
hamid
Join Date: Nov 2010
Posts: 185
Rep Power: 6
hamid1 is on a distinguished road
But the i.c. is considered in all the domain in fluent, as far as I understand, so it would be kind of initial guess, is it right? then how can I find the exactly correct i.c.?
bests, hamid
hamid1 is offline   Reply With Quote

Old   February 16, 2011, 09:36
Default
  #15
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
Amir is on a distinguished road
Right, I.C. is for whole domain but it's not a guess it's initial system condition e.g. at t=0. for unsteady problems I.C. should be given to you like boundary conditions. you can't find I.C. just like B.C.
you will get different results for different boundary condition just like I.C..
Amir 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
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49
vorticity boundary condition bearcharge Main CFD Forum 0 May 14, 2010 11:32
Airfoil boundary condition Frank Main CFD Forum 1 April 21, 2008 18:36
Slip boundary condition what is inside normunds OpenFOAM Running, Solving & CFD 2 June 4, 2007 06:45
Pressure Boundary Condition Matt Umbel Main CFD Forum 0 January 11, 2002 11:06


All times are GMT -4. The time now is 19:58.