CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Boundary Conditions

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

LinkBack Thread Tools Display Modes
Old   March 27, 2010, 15:08
Smile Boundary Conditions
New Member
Victor Pitt
Join Date: Mar 2010
Posts: 3
Rep Power: 9
Victor10 is on a distinguished road
Hello ,
I am writing a Finite Volume method code for isentropic flow through a converging diverging nozzle . I am modelling half of the nozzle due to symmetry about the center line .I am not sure how to apply the Symmetry Boundary Condition .Here is the code I have written for the Symmetry Boundary Condition and the Wall Boundary Condition . Can someone please tell me if it is correct ?

u represents the horizontal velocity through the nozzle ;v the vertical component of velocity ;a is the speed of sound ;d -density ; e- internal energy .

the profile of the nozzle is taken as y=0.5 +1.1(x-1.5)^2 ;

theta = atan(2.2*(x[i][k]-1.5));
//The above line calculates the tangential direction along the upper wall of nozzle//
u[i][k+1]=u[i][k]*cos(2.0*theta) + v[i][k]*sin(2.0*theta) ;
v[i][k+1]=u[i][k]*sin(2.0*theta) - v[i][k]*cos(2.0*theta);
else {
v[i][k+1] =-(u[i][k]*sin(-2.0*theta) + v[i][k]*cos(-2.0*theta));
u[i][k+1] = u[i][k]*cos(-2.0*theta)- v[i][k]*sin(-2.0*theta);

Symmetry Boundary Condition ;


Waiting eagerly for some help.

Regards .

Victor .
Victor10 is offline   Reply With Quote


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
Impinging Jet Boundary Conditions Anindya Main CFD Forum 25 February 27, 2016 13:58
symmetry boundary conditions in cfx lost.identity CFX 41 May 22, 2013 07:21
Problems with boundary conditions for a lowRekOmegaSST turbulence model cfdmarkus OpenFOAM Running, Solving & CFD 16 November 14, 2011 05:44
Pressure boundary conditions Lionel S. Main CFD Forum 1 August 24, 2007 18:03
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15

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