Flow Around A Wall
I'm not sure if this is the right spot for this, but here I go. I am trying to learn OF and I've gone through the tutorials. I am trying to simulate a flow around a wall. I attached a picture of what I am using as my geometry. It is a top view. I modified the cavity example's blockmeshdict file so that the points and blocks match up, I think. I modified the patches to do likewise, with the flow going from left to right. Here is what my blockmeshdict file looks like now:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ Thank you for your time :) |
Internal face
Hey Richard,
there should be an errormassage like: "Trying to specify a boundary face 4(8 9 19 18) on the face on cell 1 which is either an internal face or already belongs to some other patch." This tells you this is an internal face. Try a wall made out of 8 vertices. I assume you will have to define 8 blocks: 3 above your wall, 3 below, 1 left of it and 1 right of it. Is it right you wanted to have a flow from vertices 0 1 2 3 13 12 11 10 (inlet) to vertices 7 6 5 4 14 15 16 17 ? So you still have to define them as patch like inlet { type patch; faces ( (0 1 11 10) (1 2 12 11) (2 3 13 12) ); } Same for your atmosphere and define some boundary like velocity and pressure for these patches. |
All times are GMT -4. The time now is 14:52. |