CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Additional Variable BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2010, 12:33
Default Additional Variable BC
  #1
Eli
New Member
 
Join Date: Mar 2009
Posts: 18
Rep Power: 17
Eli is on a distinguished road
Hi There
How can I set such a Boundary condition on wall for an "Additional variable" C:

K \partial C/\partial x= H (C-C0)


K and H are constants.

It's like heat transfer coefficient for wall but the variable is C.
Thank you so much
Eli is offline   Reply With Quote

Old   May 22, 2010, 13:42
Default
  #2
New Member
 
Jordi
Join Date: May 2010
Posts: 26
Rep Power: 16
Jordi is on a distinguished road
It looks like a diffusion, is that your system? You do not provide very much info on your problem, but if it's like a heat convection, where C is temperature, then you can fix both temperature (C) and transfer coeff. (H) at the same surface, can't you?
Jordi is offline   Reply With Quote

Old   May 23, 2010, 19:49
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,844
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Can do this with a gradient boundary with a CEL expression. Should be easy.
ghorrocks is offline   Reply With Quote

Old   May 24, 2010, 16:19
Default
  #4
Eli
New Member
 
Join Date: Mar 2009
Posts: 18
Rep Power: 17
Eli is on a distinguished road
Thank you so much Glenn
Your advices have always helped me and other students.
But would you please explain it more for me? or refer me to a tutorial or example?
I don't know how to interpret a gradient boundary.

Thanks again

Last edited by Eli; May 24, 2010 at 16:47.
Eli is offline   Reply With Quote

Old   May 24, 2010, 16:26
Default
  #5
Eli
New Member
 
Join Date: Mar 2009
Posts: 18
Rep Power: 17
Eli is on a distinguished road
Quote:
Originally Posted by Jordi View Post
It looks like a diffusion, is that your system? You do not provide very much info on your problem, but if it's like a heat convection, where C is temperature, then you can fix both temperature (C) and transfer coeff. (H) at the same surface, can't you?
Thanks Jordi for your attention,
C is a scaler variable and shows kind of concentration in the simulation, I just don't know how to define the Left hand of equation.
Eli is offline   Reply With Quote

Old   May 24, 2010, 19:42
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,844
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Recast the equation as dC/dx=H/K(C-C0) then you have the gradient of the scalar at the boundary is a simple function. Set the function to a CEL expression and it is done.

Set this for the additional variable boundary condition at the walls.
ghorrocks is offline   Reply With Quote

Old   January 13, 2011, 09:57
Default
  #7
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by Eli View Post
Hi There
How can I set such a Boundary condition on wall for an "Additional variable" C:

K \partial C/\partial x= H (C-C0)


K and H are constants.

It's like heat transfer coefficient for wall but the variable is C.
Thank you so much
I have a similar problem, I want to set a BC on a complex 3D wall for my additional variable that looks like:
V*C-D*dC/dn = k*C,
where V, D and k are constants and C is my additional variable. The problem is how to calculate the dC/dn as it is the gradient in the normal direction from the wall. Any suggestions?
Lance is offline   Reply With Quote

Old   January 13, 2011, 17:53
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,844
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Will the CEL variables normal, with extensions like _Coordinate_Direction help you? See the CFX reference guide, "Quantitative CEL functions in CFX"
ghorrocks is offline   Reply With Quote

Old   January 14, 2011, 05:56
Default
  #9
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Will the CEL variables normal, with extensions like _Coordinate_Direction help you? See the CFX reference guide, "Quantitative CEL functions in CFX"
Yes, maybe. In POST I calculated the gradient of my AV in the Variables tab, so that I got AV.Gradient X, AV.Gradient y, and AV.Gradient Z. Then I made an expression: AV.Gradient X*Normal X+ AV.Gradient Y*Normal Y+AV.Gradient Z*Normal Z. Is this be the same as Av.Gradient Normal?
And can I define AV.Gradient X (...etc) in PRE as well?

And btw, how do I define the boundary condition at the wall? The units resolve to [kg/(s m^2)]. Transfer coefficient+additional variable or Flux in?

Last edited by Lance; January 14, 2011 at 12:16.
Lance 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
Additional variable John CFX 2 October 16, 2008 06:33
Problems with additional variable Krishna Premi CFX 1 October 29, 2007 09:19
Additional Variable - Diffusive Transport Equation RadheShyam Das CFX 3 October 18, 2007 13:35
Multi_component Vs Additional Variable Anurag CFX 2 February 4, 2005 17:45
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


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