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

implementation boundary condition for non-orthogonal mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 22, 2010, 10: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: 8
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, 16:54
Default
  #2
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 369
Rep Power: 10
arjun is on a distinguished road
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 06:45
Rotating interpolated boundary condition hani OpenFOAM Running, Solving & CFD 0 July 4, 2006 07:09
Dynamic Mesh & Symmetry boundary condition Matt3o FLUENT 0 January 27, 2006 11:07
Gambit problems Althea FLUENT 21 February 6, 2001 08:05


All times are GMT -4. The time now is 02:19.