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

Implementation of theta BC in cylindrical coordinate system FVM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2016, 06:01
Default Implementation of theta BC in cylindrical coordinate system FVM
  #1
New Member
 
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 11
abhi084 is on a distinguished road
I am working on cylindrical coordinate system using FVM. I am solving the 3d unsteady diffusion equation using r,theta and z coordinates. Whereas I am able to apply the r and z BC's, I am unable to understand how to correctly apply the theta boundary condition. The equation is

\rhoc \frac{dT}{dt}=\frac{1}{r}\frac{d}{dr}kr\frac{dT}{dr}+\frac{1}{r}\frac{d}{d\phi}\frac{kdT}{rd\phi}+\frac{d}{dz}\frac{kdT}{dz}

P.S.: The equation has partial differentials, couldn't find out how to write them here....

The theta BC is

T(r,0,z,t)=T(r,2\pi,z,t) and
\frac{dT}{d\phi} (r,0,z,t)=\frac{dT}{d\phi} (r,2\pi,z,t)

Please help me in understanding how to implement this BC in the above equation using FV Method. Also if u guys need it u can assume the wall temperatures as fixed temperatures (Dirichlet BC, since my problem is implementation of theta BC.)
Any help is appreciated.
abhi084 is offline   Reply With Quote

Old   June 2, 2016, 11:28
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
First, in a FV formulation you have to work with the conservative form of the equation in such a matter to discretize the fluxes of the balanced varables.

Then, the azimuthal direction has the natural periodic condition f(0)=f(2*pi), if you work in the physical domain you see easily this fact.
FMDenaro is offline   Reply With Quote

Old   June 2, 2016, 11:56
Default
  #3
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
First, in a FV formulation you have to work with the conservative form of the equation in such a matter to discretize the fluxes of the balanced varables.

Then, the azimuthal direction has the natural periodic condition f(0)=f(2*pi), if you work in the physical domain you see easily this fact.
Yes tats what I'm asking physically these boundary conditions make sense as teperature at same CV centre can't have 2 distinct values at 0 and 2*pi angle and same goes for flux which comes from the second theta BC. What I mean to ask is how to implement these in my program. Like when I do with r and z, I get the discretized equation in the form of
a_{p}T_{p}=\sum a_{b} T_{b}+ ap0*T_{old}

What I mean is how to put the theta BC in conservation form of above diffusion equation, (similar to r and z???) , but i'm unable to understad how to do that.

Thank you for your help and any suggestion is appreciated.
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
Free CFD code with implementation of Menter's k-omega SST model nikola_m Main CFD Forum 2 May 8, 2020 12:13
Issues in FGM combustion model implementation Lisandro Maders OpenFOAM Programming & Development 15 April 22, 2020 19:18
a little confused with the implementation of compressibleInterFoam su_junwei OpenFOAM Running, Solving & CFD 2 May 7, 2014 17:33
Implementation issues of fvSchemes / laplacianScheme, in particular gaussLaplacianSch thomek OpenFOAM Programming & Development 0 October 18, 2010 05:10
Please explain the implementation of species transport Eqn in reactingFoam kallipygian OpenFOAM Running, Solving & CFD 0 October 13, 2008 07:29


All times are GMT -4. The time now is 08:44.