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

2d - simulation - cylindrical - symmetry condition?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2023, 01:48
Default 2d - simulation - cylindrical - symmetry condition?
  #1
Senior Member
 
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5
qutadah.r is on a distinguished road
hello everyone,


I am simulating a 2d flow in a cylindrical tube using python, how will i account for the symmetry along the z axis?


I need a boundary condition, since I am only simulating half the tube, assuming n is my radial grid point, I am simulating from n=1 to Nr.


Currently i only used this symmetry to calculated the derivatives at n=1 using central differencing using 2 grid spacings instead of one and then assuming symmetry of the grid point across the axis.


so for example. dux/dx @ n1 = [ux(n=3) - ux(n=-1)]/(2*dx) and ux(n=-1) = ux(n=1).


So the equation becomes:


n1 = [ux(n=3) - ux(n=1)]/(2*dx)


Is this reasonable?


Please help. Thanks!


Regards,
Qutadah
qutadah.r is offline   Reply With Quote

Reply

Tags
cylindrical, cylindrical coordinate, gradient, simulation, two-dimensional


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
Symmetry boundary condition, 2D simulation in 3D mesh Shabi Main CFD Forum 1 January 5, 2021 11:10
Simulation of a chimney with heat in open atmosphere Jurado OpenFOAM Running, Solving & CFD 9 December 18, 2020 08:35
symmetry and symmetryPlane boundary condition difference in OpenFOAM smodh OpenFOAM 15 October 19, 2020 09:23
How to use result of one simulation as a Boundary Condition in another simulation? srv537 OpenFOAM Pre-Processing 29 May 21, 2020 11:49
Boundary Condition for Pump simulation for Zero Head Condition Himanshu_Shrivastava Main CFD Forum 0 March 26, 2017 04:25


All times are GMT -4. The time now is 05:29.