# Initializing inlet velocity for a wedged mesh?

 User Name Remember Me Password
 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: 5
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: 6 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: 5 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

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 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 OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post JohnAB STAR-CCM+ 17 April 3, 2014 12:54 mqasimali FLUENT 2 April 12, 2013 17:24 aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52 [snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11 SSL FLUENT 2 January 26, 2008 11:55

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

 Contact Us - CFD Online - Privacy Statement - Top