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

Getting different results when applying fixed pressure/flow rate initial conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2019, 19:18
Default Getting different results when applying fixed pressure/flow rate initial conditions
  #1
New Member
 
Yanxuan Shao
Join Date: Sep 2019
Posts: 5
Rep Power: 7
shaoyx is on a distinguished road
Hi,

I am trying to simulate flow in a 2-D pipe with obstacles using SimpleFoam solver (laminar). I used both fixed inlet/outlet pressure and fixed flow rate of the pipe for initial condition. The two situations have similar Re (which is around 20000), while their results are very different in the section of pipe without obstacles after the turbulence is fully developed. Attached are pictures of results of the two simulation (1. results with fixed pressure initial condition, 2. results with fixed flow rate initial condition). So I am wondering which one of the results (or maybe neither of them) is correct, and what causes this. Thank you so much for your reply in advance!

Best,
Charlotte
Attached Images
File Type: jpg 1.jpg (25.7 KB, 22 views)
File Type: jpg 2.jpg (24.9 KB, 18 views)
shaoyx is offline   Reply With Quote

Old   October 17, 2019, 02:30
Default
  #2
Senior Member
 
Ruiyan Chen
Join Date: Jul 2016
Location: Hangzhou, China
Posts: 162
Rep Power: 10
cryabroad is on a distinguished road
Have you compared the flow rate in both cases? Are they the same?

I don't think fixed inlet/outlet pressure is a good pair, it doesn't make sense at least in my opinion. Also, in terms of the velocity contour from the first picture, why the velocity is not uniform at the inlet (assuming that the flow goes from left to right)?

For pipe flows common practice would be velocity-inlet and pressure-outlet, and you can assign a velocity profile at the inlet to make it more realistic.
cryabroad is offline   Reply With Quote

Old   October 17, 2019, 10:33
Default
  #3
New Member
 
Yanxuan Shao
Join Date: Sep 2019
Posts: 5
Rep Power: 7
shaoyx is on a distinguished road
Hi Ruiyan,

Thanks for your reply. Yes I checked both flow rate and they are the same.

For the first one, I guess velocity is not uniform because only inlet pressure is controlled.

I will try velocity inlet and pressure outlet as you suggested. Thanks!

Charlotte
shaoyx is offline   Reply With Quote

Reply


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
Problem with chtMultiregionFoam radiation boundary condition baran_foam OpenFOAM Running, Solving & CFD 10 December 17, 2019 18:36
Suppress twoPhaseEulerFoam energy AlmostSurelyRob OpenFOAM Running, Solving & CFD 33 September 25, 2018 18:45
chtMultiRegionSimpleFoam turbulent case Aditya Patil OpenFOAM Running, Solving & CFD 6 April 24, 2017 23:13
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 14:40
Cannot run the code properly: very large time step continuity error crst15 OpenFOAM Running, Solving & CFD 9 December 14, 2014 19:17


All times are GMT -4. The time now is 09:10.