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

FVM for unsteady diffusion with convective BC.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2016, 04:29
Default FVM for unsteady diffusion with convective BC.
  #1
New Member
 
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 11
abhi084 is on a distinguished road
I am working on a 3D cylindrical code for unsteady diffusion equation using FVM. When I am applying the Dirichlet BC and Neumann BC, I am getting grid independence however when I am applying the convective BC, the solution is changing with the refinement of grid? Can anybody explain this behavior and also how to apply the convective BC for FVM. I think I may be applying the convective BC incorrectly but then the solution should be erratic, what I am getting seems physically possible but then refinement of grid makes it spread more b/w the initial temp., To and ambient temp, Ta.
abhi084 is offline   Reply With Quote

Old   May 20, 2016, 04:44
Default
  #2
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,273
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by abhi084 View Post
I am working on a 3D cylindrical code for unsteady diffusion equation using FVM. When I am applying the Dirichlet BC and Neumann BC, I am getting grid independence however when I am applying the convective BC, the solution is changing with the refinement of grid? Can anybody explain this behavior and also how to apply the convective BC for FVM. I think I may be applying the convective BC incorrectly but then the solution should be erratic, what I am getting seems physically possible but then refinement of grid makes it spread more b/w the initial temp., To and ambient temp, Ta.

You mean you have convective term in purely diffusion equation? Or do you have a transport equation and it also have convective part.
arjun is offline   Reply With Quote

Old   May 20, 2016, 04:49
Default
  #3
New Member
 
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 11
abhi084 is on a distinguished road
its a pure diffusion equation with a convective boundary condition.
abhi084 is offline   Reply With Quote

Old   May 20, 2016, 04:52
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
you cannot use a convective BC.s (like d/dn = 0) in the pure diffusion problem!
FMDenaro is offline   Reply With Quote

Old   May 20, 2016, 04:59
Default
  #5
New Member
 
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 11
abhi084 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
you cannot use a convective BC.s (like d/dn = 0) in the pure diffusion problem!
Why we can't use convective BC's in Diffusion equation. If I am not wrong what you mentioned i.e d/dn=0 are the flux BC (Neumann type) which can very well be used with pure diffusion equation. What I am meaning by convective BC is more of a mixed type Boundary condition like
-k(\partialT/\partialn)=h(Ts-T_\infty)
abhi084 is offline   Reply With Quote

Old   May 20, 2016, 05:29
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
df/dn = q is a Neumann bc and can be used in the pure diffusion problem provided that q is the known physical flux. However, that is not denoted as "convective bc"
FMDenaro is offline   Reply With Quote

Old   May 20, 2016, 05:32
Default
  #7
New Member
 
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 11
abhi084 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
df/dn = q is a Neumann bc and can be used in the pure diffusion problem provided that q is the known physical flux. However, that is not denoted as "convective bc"
I have mentioned what I meant by convective or mixed type BC. What you wrote is a a fixed flux (i.e neumann type BC) Can u plz elaborate on the application of the mixed type (mentioned in my above comment) BC for unsteady diffusion eqn using FVM.
abhi084 is offline   Reply With Quote

Old   May 20, 2016, 05:47
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
q is the RHS (divided by k) of your bc and must be known.
This is a non homogeneous neumann bc, not a robin one
FMDenaro is offline   Reply With Quote

Old   May 20, 2016, 05:56
Default
  #9
New Member
 
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 11
abhi084 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
q is the RHS (divided by k) of your bc and must be known.
This is a non homogeneous neumann bc, not a robin one
Okay but can you suggest any literature/book about it's implementation. The direct implementation of fixed flux (ur q) is fairly straight forward whereas in case of the convective type BC (yes these type BC are called Convective type BC in heat transfer problem) I am getting problems. Your help would be highly appreciated. And can we move past the names, just can you help me in applying this BC to diffusion equation:

-k(dt/dn)=h(T_{s}-T_{\infty})
abhi084 is offline   Reply With Quote

Old   May 20, 2016, 06:09
Default
  #10
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Have a look at
An introduction to computational fluid dynamics. The finite volume method. H. K. VERSTEEG and W. MALALASEKERA.
FMDenaro is offline   Reply With Quote

Old   May 20, 2016, 09:25
Default
  #11
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
in a 1D example, the equation is

dT/dt = d/dx(k*dT/dx)
with the BC: dT/dn=-h(T-T)/k =q

in a FV method, when you integrate the equation over each FV of measure h, you get

dT_av/dt = (k*dT/dx|e - k*dT/dx|w)/h

where |e and |w are the fluxes location at the faces of the FV.
Thus, when the equation has a face coincident to the boundary, you just substitute the known flux q.
Note that to produce a finite solution for any time, the Neumann BC.s must fulfill a compatibility condition otherwise dT_av/dt -> +Inf
FMDenaro 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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
FVM discretization of diffusion term on crvlnr gr Michail Main CFD Forum 3 March 14, 2008 06:52
FVM for diffusion problem or dispersive problems? Wen Main CFD Forum 0 February 22, 2006 13:34
comments on FDM, FEM, FVM, SM, SEM, DSEM, BEM kenn Main CFD Forum 2 July 18, 2004 18:28


All times are GMT -4. The time now is 07:45.