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

Gradient calculation at highly non-uniform cell interfaces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2018, 20:12
Default Gradient calculation at highly non-uniform cell interfaces
  #1
Member
 
Ashish Kumar
Join Date: Jun 2015
Posts: 33
Rep Power: 11
ashish.svm is on a distinguished road
I am solving scalar transport in a thin Y shapes channel. Mesh has a very small cell at the at the intersection point.

This is my problem set-up
problemDefinition1.jpg

This is the mesh zoomed at the intersection point

intersectionCell.PNG

I think calculation of pressure gradient (velocity) is wrong at the cells near the intersection, because of very large contrast in cell size.

velocityMagnitude.jpg
Velocity in the outlet section should be equal to the sum of the velocity in the inlet section. But that is not the case with my simulation.

I have tried different gradSchemes such as
-extendedLeastSquares 0
-cellLimited leastSquares 0.0

What type gradScheme should I use for this type of problem? Or is there any other method to calculate velocity correctly?
ashish.svm is offline   Reply With Quote

Old   March 31, 2018, 01:57
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
If I understand your sketch right, you have very long cells in direct contact with the tiny cell in the intersection point. This is not recommended in fluid dynamics. I recommend to reduce the cell size stepwise toward the intersection point. BlockMesh supports this, it is easy.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   July 13, 2018, 18:02
Default
  #3
Member
 
Ashish Kumar
Join Date: Jun 2015
Posts: 33
Rep Power: 11
ashish.svm is on a distinguished road
Quote:
Originally Posted by piu58 View Post
If I understand your sketch right, you have very long cells in direct contact with the tiny cell in the intersection point. This is not recommended in fluid dynamics. I recommend to reduce the cell size stepwise toward the intersection point. BlockMesh supports this, it is easy.
Can you please explain the reason behind not using the tiny cell at the intersection point? Or if you can give some reference also that will be useful.

Thanks.
ashish.svm 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
wallHeatFlux utility for an incompressible case Mr.Jingles OpenFOAM Post-Processing 67 April 6, 2023 04:25
Inlet patch problems martyn88 OpenFOAM Running, Solving & CFD 6 April 21, 2017 19:34
LES supersonic free jet martyn88 OpenFOAM 22 April 17, 2015 07:00
gradient calculation of cell vertex finite volume method h.bozorgi Main CFD Forum 0 January 29, 2014 05:19
Need help with boundary conditions: open to atmosphere Wolle OpenFOAM 2 April 11, 2011 08:32


All times are GMT -4. The time now is 13:07.