CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Negative values of concentration while solving temperature

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2009, 01:42
Default Hi Vishal, I m not sure but j
  #1
Member
 
Sachin Kanetkar
Join Date: Mar 2009
Posts: 57
Rep Power: 17
sachin is on a distinguished road
Hi Vishal,
I m not sure but just a suggestion are your boundary conditions correct
or check your domain if it is too complex.... try to simplify... if that works fine....reduce the grid size (inc no. of grid pts)and reduce time step size
I think the equations would be making solution quite unstable
Though I m not sure...just some suggestions
Hope you find the error
Regards
Sachin
sachin is offline   Reply With Quote

Old   February 9, 2009, 03:13
Default Hi Vishal, I guess these are
  #2
Member
 
Sachin Kanetkar
Join Date: Mar 2009
Posts: 57
Rep Power: 17
sachin is on a distinguished road
Hi Vishal,
I guess these are to stringent BC's may be they reach at some point where they dont satisfy them correctly
My suggestion - for outlet just extrapolate the values by zerogradient...chk result...if this doesnt work ... ...i hope it does
Dont modify the whole set at time....modify B.C's one by one ...try modify only for Phi then for C1 then for C2 ...see if u can get descent results no absurd values...if this also fails change one boundary everytime and run ...might find why it fails...I know this sounds wierd...
Just one more question are you very sure of the eq you have discretised...i mean u have separated phi from conc ..ok but after they recombine do they give the equations back
Sachin
sachin is offline   Reply With Quote

Old   February 9, 2009, 03:39
Default Hi Sachin, Thanks for the r
  #3
Senior Member
 
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18
nandiganavishal is on a distinguished road
Hi Sachin,

Thanks for the response.. I would try them.. and would get back to you...


The exact equations which I would like to solve are

div {(D1*grad(C1) + D1*Z1*C1*grad(Phi))} = 0 -(1)
div {(D2*grad(C2) + D2*Z2*C2*grad(Phi))} = 0 -(2)
laplacian (phi) = - alpha * Z1*C1 - alpha*Z2 * C2 - (3)

where C1 C2 and Phi are concentrations and potential respectively and D1,D2,Z1,Z2, alpha are constants

Regards

Vishal
nandiganavishal 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
Time step vs Negative concentration James CFX 5 April 19, 2006 19:40
Negative concentration Gab CFX 8 September 17, 2005 14:16
negative species concentration again Andrew Garrard FLUENT 0 March 22, 2005 12:36
negative concentration Andrew Garrard FLUENT 0 January 24, 2005 12:37


All times are GMT -4. The time now is 14:52.