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

Using sample to Inlet velocity field

Register Blogs Community New Posts Updated Threads Search

Like Tree9Likes
  • 1 Post By amanbearpig
  • 1 Post By amanbearpig
  • 1 Post By vatavuk
  • 5 Post By amanbearpig
  • 1 Post By v199ah

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 8, 2014, 11:38
Default Using sample to Inlet velocity field
  #1
Member
 
Join Date: Apr 2011
Posts: 57
Rep Power: 15
amanbearpig is on a distinguished road
Hello, I'm trying to use the sample utility to get a velocity field to use as the inlet field for a subsequent simulation.

I run sample, and get my U file from a constant plane (setting the point and normal direction), which appears to have twice the amount of values I was expecting. I looked at the file, and there are duplicates of all the values (I'm not entirely sure why this is, perhaps how I am sampling the plane?). So, I go through and delete every other line in the U vector field to eliminate the duplicates - getting a vector field which matches what I need for the inlet.

However when I take this field and set it as a nonuniform List<vector> at the inlet (as an initial condition) the result is nothing like what it should be! I'm attaching a picture of the sampled field, and then the result when I try and place this sampled field as the inlet initial condition.

Where am I going wrong in this process? My guess is something to do with the sampling/removing duplicate values, but I'm not sure what precisely I'm doing incorrectly. Thank you for your help!
Attached Images
File Type: jpg SampledU_Velocity_Field.jpg (13.3 KB, 170 views)
File Type: jpg Inlet_VelocityField_Messedup.jpg (13.2 KB, 170 views)
amanbearpig is offline   Reply With Quote

 


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
Velocity inlet boundary condition for porous medium Chander CFX 3 March 11, 2012 21:18
Inlet velocity mismatch in low microchannel alligngr8 FLUENT 0 December 10, 2011 01:43
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
velocity of massless particles and velocity of flow field in same coordinate payam_IUST FLUENT 0 October 18, 2009 23:24
Variables Definition in CFX Solver 5.6 R P CFX 2 October 26, 2004 02:13


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