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

[Other] Amount of cells needed?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2013, 03:53
Default Amount of cells needed?
  #1
New Member
 
Eric
Join Date: Mar 2013
Posts: 22
Rep Power: 13
erichu is on a distinguished road
Hi,

I have previuosly posted here related to a nozzle mesh problem which has been solved with a fine mesh, good schemes as well as suitable turbulence model.

However, I am now extending my model to the complete geometrical entity which is a 1.2 meter long lance with varying radius(minimum radius 1mm, max radius 4mm). My goal is to calculate the flow rate of water (velocity, density=constant) of the complete lance using known pressures at inlet and outlet, 50 mbarg and 0 barg, respectively. Reynolds number is approximatley 200 (from experimental resutls) so I use laminar flow settings.


At the moment while using simpleFoam, my convergence is very slow and approaches constant residual higher than my required tolerance. Using relaxation factors for U, p around 0.01 - 0.1 leads to a continuing minimisation of the residual, however, very slow. Looking at late intermediate iterations in paraView, it appears that the velocity profile isn't correct as the flow has not a shape of a parabola (maybe explained by the fact that the mesh has a lot of cells in the center of the tube).

It is becoming clearer and clearer that my mesh is most likely not good enough, however, what that exactly means in my case, I am not sure of.

My current mesh is based on the geometry seen in the attached file, consisting of about 100 000 hex cells.

My question is maybe too general but what should my mesh look like to improve convergence and a good result that compares to the experimental data?

Thanks for your input
Attached Images
File Type: jpg nozzle.JPG (22.5 KB, 13 views)
erichu is offline   Reply With Quote

Old   April 24, 2013, 05:10
Default
  #2
Member
 
Andreas Wendy
Join Date: Aug 2012
Posts: 73
Rep Power: 13
A.Wendy is on a distinguished road
Quote:
Originally Posted by erichu View Post

My question is maybe too general but what should my mesh look like to improve convergence and a good result that compares to the experimental data?
you can never say this in general. if you want to be sure that your mesh is ok in a numerical point you have run it with a mewsh and refine it until there is no change in the results. Than your result is independent of the mesh.

100.000 cells are not much. when your mesh is base on blockMesh and SHM just douple the cell numbers in the blockMeshDict and try to compute.

best wishes

Andreas
A.Wendy is offline   Reply With Quote

Old   April 25, 2013, 04:21
Default
  #3
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 16
fredo490 is on a distinguished road
Just to confirm, your mesh is 3D ?
The best thing to find if you mesh is good is to look at your data with paraview or any other software. Try to find the high gradient regions and check if you have enough cells in the gradient direction. To build a good mesh from the first time, you need to have a good guess of the flow structure and you also need to use all your previous simulation experiences.
fredo490 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
[snappyHexMesh] snappyHexMesh sticking point natty_king OpenFOAM Meshing & Mesh Conversion 11 February 20, 2024 09:12
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 13:41
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 10:58


All times are GMT -4. The time now is 00:08.