CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Initializing inlet velocity for a wedged mesh?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 27, 2019, 11:55
Default Initializing inlet velocity for a wedged mesh?
  #1
New Member
 
anu
Join Date: Jun 2019
Posts: 9
Rep Power: 7
anu.raghun is on a distinguished road
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
File Type: png 200-flatplate.png (142.9 KB, 6 views)
Attached Files
File Type: pdf drawing wedgeTest deltaPlate.pdf (10.6 KB, 1 views)
anu.raghun is offline   Reply With Quote

Old   June 28, 2019, 06:18
Default
  #2
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8
yambanshee is on a distinguished road
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)
yambanshee is offline   Reply With Quote

Old   June 28, 2019, 12:14
Default
  #3
New Member
 
anu
Join Date: Jun 2019
Posts: 9
Rep Power: 7
anu.raghun is on a distinguished road
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?
anu.raghun is offline   Reply With Quote

Reply

Tags
inlet velocity, velocity angle, wedge block


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, overset mesh: acceleration JohnAB STAR-CCM+ 17 April 3, 2014 13:54
How to define a fixed velocity for a given mass flow rate on inlet mqasimali FLUENT 2 April 12, 2013 18:24
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


All times are GMT -4. The time now is 14:08.