CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

boundary cond correct in U, not in paraview

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

LinkBack Thread Tools Display Modes
Old   April 30, 2014, 19:32
Default boundary cond correct in U, not in paraview
New Member
Join Date: Feb 2014
Posts: 12
Rep Power: 3
ajnewman is on a distinguished road

I created a codedFixedBC with the following code

vector dir1 = vector(1,0,0);
vector dir2 = vector(0,1,0);
scalarField x = patch().Cf()&dir1;
scalarField y = patch().Cf()&dir2;
scalarField r = pow(pow(x,2) + pow(y,2),0.5);
operator == (vector(0,0,1)*r);

If it isn't evident the boundary condition is supposed to be linear growth in U_3 over a circular domain as a function of r

If I run the code for a single time step I can look at the nonuniform list<vector> for the patch at which this BC is applied. Here I can see a point having the value (0,0,0) which I would expect at the origin. If I examine the data in paraView using data along a line, or a point probe there is a non zero value of U_3 at (0,0,0). In fact the linear profile shows a distinct non zero plateau as the origin is approached.

Am I doing something dumb in paraView or is there actually a problem with my BC?

Any input is appreciated.

ajnewman 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
Implementation of boundary conditions for FVM Tom Main CFD Forum 7 August 26, 2014 05:58
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Domain Imbalance HMR CFX 3 March 6, 2011 21:10
CFX does not continue Shafiul CFX 10 February 17, 2011 08:57

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