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

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 27, 2019, 10:55
Default Initializing inlet velocity for a wedged mesh?
  #1
New Member
 
anu
Join Date: Jun 2019
Posts: 9
Rep Power: 6
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

 

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 12:54
How to define a fixed velocity for a given mass flow rate on inlet mqasimali FLUENT 2 April 12, 2013 17:24
[Gmsh] 2D Mesh Generation Tutorial for GMSH 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
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 12:04.