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

implementation boundary condition for non-orthogonal mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 22, 2010, 11:40
Question implementation boundary condition for non-orthogonal mesh
  #1
New Member
 
Mohammad Haddadi
Join Date: Aug 2009
Location: Tehran,Iran
Posts: 4
Rep Power: 0
m.iran is on a distinguished road
Send a message via Yahoo to m.iran
hi everybody
I am writing a code that solves diffusion for non-orthogonal mesh and I don't know how could I insert boundary condition
I mean for example for 2D orthogonal system we have:

ap*phip=de*phie+dw*phiw+dn*phin+ds*phis+su

but in non-orthogonal system some terms will be added to source term, that is we will have:

ap*phip = deksi*phie+dwksi*phiw+dneta*phin+dseta*phis+deeta( phine-phise)-dweta(phinw-phisw)+dnksi(phine-phinw)-dsksi(phise-phisw)+su

and it is simiplified to :

ap*phip=deksi*phie+dwksi*phiw+dneta*phin+dseta*phi s+su

in which ;
su=su+deeta(phine-phise)-dweta(phinw-phisw)+dnksi(phine-phinw)-dsksi(phise-phisw)

NOW I DON'T KNOW HOW SHOULD I INSERT BOUNDARY CONDITION TYPE I AND TYPE II FOR THIS SYSTEM

THANKS EVERYBODY
m.iran is offline   Reply With Quote

Old   April 22, 2010, 17:54
Default
  #2
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,286
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
look into cfd wiki and how diffusion term is descretized. Work the same way.
arjun is offline   Reply With Quote

Reply

Tags
boundary condition, coordinate transform, non-orthogonal


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
Dynamic Mesh & Symmetry boundary condition Matt3o FLUENT 1 May 7, 2024 15:32
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
Mixed/Robin boundary condition aaev OpenFOAM Bugs 2 December 15, 2011 15:03
Slip boundary condition what is inside normunds OpenFOAM Running, Solving & CFD 2 June 4, 2007 07:45
Rotating interpolated boundary condition hani OpenFOAM Running, Solving & CFD 0 July 4, 2006 08:09


All times are GMT -4. The time now is 22:01.