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

Incorrect results for 2D flow between flat plates

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2019, 20:08
Default Incorrect results for 2D flow between flat plates
  #1
New Member
 
Join Date: Sep 2019
Posts: 2
Rep Power: 0
DwightSchrute is on a distinguished road
Hello,


I am new to OpenFOAM. I just ran a simulation for laminar flow between two flat plates (0.1m apart) using the icoFoam solver. The inlet velocity was 0.01m/s and nu was 3.33e-05.Only half the problem was simulated due to symmetry. The outlet pressure was a fixed value of 0. The wall was given a no-slip condition for velocity and zeroGradient for pressure. The problem was simulated for 60 seconds. I used 20x200 and 40x400 meshes.



I have attached the results of the fine mesh. For some reason the results are inaccurate. Clearly mass is not conserved as the velocity has decreased near the walls but has not increased in the middle as expected. I am not sure why this is happening. Could I be missing some setting on OpenFOAM?


Here is the residuals info for the final time-step (there is no indication that continuity is not met, is there?):


Time = 60

Courant Number mean: 0.0178753 max: 0.0386888
smoothSolver: Solving for Ux, Initial residual = 2.23147e-09, Final residual = 2.23147e-09, No Iterations 0
smoothSolver: Solving for Uy, Initial residual = 9.08946e-09, Final residual = 9.08946e-09, No Iterations 0
DICPCG: Solving for p, Initial residual = 1.67006e-06, Final residual = 7.39157e-07, No Iterations 1
DICPCG: Solving for p, Initial residual = 7.39157e-07, Final residual = 7.39157e-07, No Iterations 0
DICPCG: Solving for p, Initial residual = 7.39157e-07, Final residual = 7.39157e-07, No Iterations 0
time step continuity errors : sum local = 2.7874e-11, global = -1.38466e-11, cumulative = -1.89192e-09
DICPCG: Solving for p, Initial residual = 7.445e-07, Final residual = 7.445e-07, No Iterations 0
DICPCG: Solving for p, Initial residual = 7.445e-07, Final residual = 7.445e-07, No Iterations 0
DICPCG: Solving for p, Initial residual = 7.445e-07, Final residual = 7.445e-07, No Iterations 0
time step continuity errors : sum local = 2.80755e-11, global = -1.4021e-11, cumulative = -1.90594e-09
ExecutionTime = 14.87 s ClockTime = 18 s


Thanks for the help.
Attached Images
File Type: png Screenshot (163).png (31.4 KB, 7 views)
DwightSchrute is offline   Reply With Quote

Old   October 1, 2019, 19:38
Default
  #2
New Member
 
Join Date: Sep 2019
Posts: 2
Rep Power: 0
DwightSchrute is on a distinguished road
I have figured out the mistake. I had mentioned the symmetry boundary as 'symmetryPlanes' rather than 'symmetryPlane' in blockMeshDict. Also, I had given zeroGradient boundary condition for 'type' concerning the symmetry plane rather than 'symmetryPlane'.
DwightSchrute is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Gate valve flow simulations... nikesh FloEFD, FloWorks & FloTHERM 5 January 28, 2014 02:31
Run-time postprocessing - incorrect flow rate through faceZone billie OpenFOAM Post-Processing 54 December 2, 2013 06:55
MRFSimpleFoam simulation flow over flat plate rorating baoaero OpenFOAM Running, Solving & CFD 0 September 17, 2013 22:07
Different flow patterns in CFX and Fluent avi@lpsc FLUENT 4 April 8, 2012 07:12
Convergence but incorrect results in Free Surface flow fmjb CFX 10 October 26, 2011 08:18


All times are GMT -4. The time now is 17:24.