|
[Sponsors] | |||||
Unsteady Cylindrical heat equation with no source |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 13 ![]() |
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. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 7,063
Rep Power: 75 ![]() ![]() ![]() |
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. |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 13 ![]() |
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?
|
|
|
|
|
|
|
|
|
#4 | |
|
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 7,063
Rep Power: 75 ![]() ![]() ![]() |
Quote:
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 |
||
|
|
|
||
|
|
|
#5 | |
|
New Member
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 13 ![]() |
Quote:
|
||
|
|
|
||
|
|
|
#6 |
|
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 7,063
Rep Power: 75 ![]() ![]() ![]() |
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).
|
|
|
|
|
|
|
|
|
#7 |
|
New Member
Abhi
Join Date: Dec 2014
Posts: 28
Rep Power: 13 ![]() |
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......
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom Thermophysical Properties | wsmith02 | OpenFOAM | 4 | June 1, 2023 15:30 |
| Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
| [swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
| Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |
| DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |