Initializing inlet velocity for a wedged mesh?

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

June 27, 2019, 10:55
Initializing inlet velocity for a wedged mesh?
#1
New Member

anu
Join Date: Jun 2019
Posts: 9
Rep Power: 6
Hi everyone! I'm trying to simulate laminar flow over a delta wing, and have been running into some problems.
I wanted an inlet velocity parallel to the z axis, so it would flow over the delta wing parallel to its symmetric axis. However, the velocity in paraView appears to be flowing along the x axis. Could someone help me with this?
I've attached a drawing to give you a sense of what I want.
Here is my blockMeshDict:

Quote:
 convertToMeters 0.1; vertices ( (0 0 0) //0 (-0.5 0 -2) //1 (0.5 0 -2) //2 (0 -2 0) //3 (-0.5 -2 -2) //4 (0.5 -2 -2) //5 ); blocks ( hex (0 1 2 0 3 4 5 3) (50 1 200) simpleGrading (0.2 1 1) ); edges ( ); boundary ( axis { type empty; faces ( (0 3 3 0) ); } plate { type plate; faces ( (3 4 5 3) ); } outlet { type patch; faces ( (4 1 2 5) ); } inlet1 { type patch; faces ( (3 0 2 5) ); } top { type symmetry; faces ( (0 1 2 0) ); } inlet2 { type patch; faces ( (1 4 3 0) ); } ); mergePatchPairs ( );

and my U file:

Quote:
 dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { axis { type empty; } outlet { type zeroGradient; } inlet1 { type fixedValue; value uniform (0 0 -0.1); } inlet2 { type fixedValue; value uniform (0 0 -0.1); } plate { type fixedValue; value uniform (0 0 0); } top { type symmetry; } }

I'd appreciate any help!
Attached Images
 200-flatplate.png (142.9 KB, 6 views)
Attached Files
 drawing wedgeTest deltaPlate.pdf (10.6 KB, 1 views)

 June 28, 2019, 05:18 #2 Senior Member   Zander Meiring Join Date: Jul 2018 Posts: 125 Rep Power: 7 For your internal field (all mesh that isn't boundary) is set to 0 in all directions. If you want to initilize your flow, you can set your internal field to have some velocity in the z direction, ie: Code: internalField uniform (0 0 0.1)

 June 28, 2019, 11:14 #3 New Member   anu Join Date: Jun 2019 Posts: 9 Rep Power: 6 Hi, thanks for replying I tried changing it and it doesn't seem to have made a difference? Does it have to do with the coordinate system I'm using?

 Tags inlet velocity, velocity angle, wedge block