CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Solving Parallel Plate Flow with icoFoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 22, 2023, 02:05
Default Solving Parallel Plate Flow with icoFoam
  #1
New Member
 
Johannes
Join Date: Feb 2023
Posts: 6
Rep Power: 3
roo1valk is on a distinguished road
Good day all,


I am trying to run a simple parallel plate flow case using the icoFoam solver. However, I am getting a strange result for my velocity field, shown in the image below. I have had a look at the icoFoam - Elbow tutorial, which I understand to have similar boundary conditions. I suspect I might be missing something really simple, but cannot figure out what is wrong. I have tried a few different combinations of boundary conditions. Any pointers would be greatly appreciated. My blockMeshDict, p and U files are included below.


My blockMeshDict file body:

scale 1;

vertices
(
(0.01 0.005 -0.1)
(-0.01 0.005 -0.1)
(-0.01 -0.005 -0.1)
(0.01 -0.005 -0.1)
(0.01 0.005 0.1)
(-0.01 0.005 0.1)
(-0.01 -0.005 0.1)
(0.01 -0.005 0.1)
);

blocks
(
hex (0 1 2 3 4 5 6 7) (4 1 40) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
fixedWalls
{
type wall;
faces
(
(1 5 4 0)
(3 7 6 2)
);
}
frontback
{
type empty;
faces
(
(2 6 5 1)
(0 4 7 3)
);
}
inlet
{
type patch;
faces
(
(0 3 2 1)
);
}
outlet
{
type patch;
faces
(
(4 5 6 7)
);
}
);

My boundary conditions for p:

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
fixedWalls
{
type zeroGradient;
}

inlet
{
type zeroGradient;
}

outlet
{
type fixedValue;
value uniform 0;
}

frontback
{
type empty;
}
}


My boundary conditions for U:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
fixedWalls
{
type noSlip;
}

inlet
{
type fixedValue;
value uniform (0 0 1);
}

outlet
{
type zeroGradient;
}

frontback
{
type empty;
}
}
Attached Images
File Type: png Screenshot from 2023-06-22 07-49-59.png (12.0 KB, 6 views)
roo1valk is offline   Reply With Quote

 


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
Maximum number of iterations exceeded chtmultiregionsimpleFoam Moncef OpenFOAM Running, Solving & CFD 28 July 13, 2020 14:26
Segmentation fault when using reactingFOAM for Fluids Tommy Floessner OpenFOAM Running, Solving & CFD 4 April 22, 2018 12:30
HeatSource BC to the whole region in chtMultiRegionHeater xsa OpenFOAM Running, Solving & CFD 3 November 7, 2016 05:07
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 13:12
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37


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