CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

boundary cond correct in U, not in paraview

Register Blogs Community New Posts Updated Threads Search

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

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.

-Jensen
ajnewman is offline   Reply With Quote

Reply


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
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
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 03:32
CFX does not continue Shafiul CFX 10 February 17, 2011 07:57


All times are GMT -4. The time now is 21:07.