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

Unsteady Cylindrical heat equation with no source

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2016, 04:05
Default Unsteady Cylindrical heat equation with no source
  #1
New Member
 
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 11
abhi084 is on a distinguished road
Can anybody explain or provide a program for solving unsteady diffusion equation in 3D for cylindrical coordinates. I mean I am trying solving using FVM (with uniform grid distribution from r=0 to r=R) method but am not sure how to apply the symmetry BC at the axis i..e dt/dr=0 (these are partial derivatives) i.e at r=0.

If anybody has written the program in cylindrical coordinates please help me.
abhi084 is offline   Reply With Quote

Old   July 8, 2016, 04:15
Default
  #2
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 FV method, the axis r=0 cannot be the locus of the faces of a cell.
You can construct the method by starting from the integral form and using the first face of the cell at r=dr/2.
FMDenaro is offline   Reply With Quote

Old   July 8, 2016, 04:26
Default
  #3
New Member
 
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 11
abhi084 is on a distinguished road
first cell face at dr/2. ok so u mean keep first Boundary at dr/2 an d have a node at centre of this cell or keep one face at dr/2 and have the node at axis?
abhi084 is offline   Reply With Quote

Old   July 8, 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
Quote:
Originally Posted by abhi084 View Post
first cell face at dr/2. ok so u mean keep first Boundary at dr/2 an d have a node at centre of this cell or keep one face at dr/2 and have the node at axis?

you can set the node at the axis r=0 and the face at r=+dr/2. For symmetry you have the condition at r=-dr/2. This way, you can compute the balance from the fluxes and have the update for the nodes along r=0.
Remember to use the integral form, not the differential one.




|........ o........ |.......... o............ |.... o.... |

-dr/2.. r=0 ...+dr/2....r=dr....... +3dr/2
FMDenaro is offline   Reply With Quote

Old   July 8, 2016, 05:16
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 can set the node at the axis r=0 and the face at r=+dr/2. For symmetry you have the condition at r=-dr/2. This way, you can compute the balance from the fluxes and have the update for the nodes along r=0.
Remember to use the integral form, not the differential one.




|........ o........ |.......... o............ |.... o.... |

-dr/2.. r=0 ...+dr/2....r=dr....... +3dr/2
Okay yeah thanks was thinking along the same line. Now just one more query, since it is like a 3D problem with r,theta,z let us say that temp matrix is T(i,j,k). Let us say i is for r, j for theta and k for z. But at r=0 how can we have a matrix of the form T(i,j,k) since there is no theta over there. How to take care of this...? (like t(i,j,k) is okay for everywhere else but wat about at r=0 that is main problem)
abhi084 is offline   Reply With Quote

Old   July 8, 2016, 08:48
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
you get r=0 for i=1 and the plane (1,j,k) of the matrix contains value depending only on the k index (z direction).
FMDenaro is offline   Reply With Quote

Old   July 9, 2016, 02:37
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
you get r=0 for i=1 and the plane (1,j,k) of the matrix contains value depending only on the k index (z direction).
Okay thanks......will see to it.......was getting confused here only.....thanks.....but do you have any code of this type by any chance....any programming language would do......
abhi084 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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 10:37.