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

Close-Packed Spheres Natural Convestion Diverge Problem

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By JulioPieri

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2021, 11:43
Post Close-Packed Spheres Natural Convestion Diverge Problem
  #1
Member
 
saidc
Join Date: Feb 2020
Location: Türkiye
Posts: 61
Rep Power: 6
saidc. is on a distinguished road
Hi,

I'm trying to solve natural convection laminar flow of close-packed equal size 1000 of spheres in a cylinder with bouyantPimpleFoam.

Flow is not logically and numerically complicated. In this case, the geometry (png is attached) is complex and causes some restrictions. The overlapping assumption was made to avoid infinite volumes of mesh when generating the geometry. Unfortunately, even with this approach, it becomes difficult to produce a very good mesh even if the number of cells is excessively large.

Some issues about mesh that I wrote on another thread Post

checkMesh:
Code:
Mesh stats
    points:           6182008
    faces:            58780252
    internal faces:   52886104
    cells:            27,916,589
---------------------------------
Checking geometry...
    Overall domain bounding box (-0.0305 -0.0305 -0.0305) (0.0305 0.0305 0.0305)
    Mesh has 3 geometric (non-empty/wedge) directions (1 1 1)
    Mesh has 3 solution (non-empty) directions (1 1 1)
    Boundary openness (1.99962127762e-16 1.22694797709e-17 -9.87824964054e-17) OK.
    Max cell openness = 3.84341179621e-16 OK.
    Max aspect ratio = 52.5849496127 OK.
    Minimum face area = 7.93767293804e-13. Maximum face area = 1.98285487187e-07.  Face area magnitudes OK.
    Min volume = 3.171338e-19. Max volume = 2.1346491e-11.  Total volume = 7.147417e-05.  Cell volumes OK.
    Mesh non-orthogonality Max: 88.09473404 average: 17.4884805521
   *Number of severely non-orthogonal (> 70 degrees) faces: 5263.
    Non-orthogonality check OK.
  <<Writing 5263 non-orthogonal faces to set nonOrthoFaces
    Face pyramids OK.
    Max skewness = 3.2348321860 OK.
    Coupled point location match (average 0) OK.

Mesh OK.

End
Time step continuity errors is constantly increasing to really high numbers so probably there are problems with my boundary conditions besides Mesh.

IC:
Code:
T: 293.15K, U: (0 0 0), p: 1atm, p_rgh: 101593.94 Pa
BCs of cylinder:
Code:
T: Adiabatic (zeroGradient), U: noSlip
p: calculated (1 atm), p_rgh: fixedFluxPressure (101593.94 Pa)
BCs of spheres:
Code:
T: fixedValue (393.15K), U: noSlip
p: calculated (1 atm), p_rgh: fixedFluxPressure (101593.94 Pa)
The solution diverges even if I relax the schemes to the limits, using upwind schemes and increase the tolerances to 1e-4 for p_rgh.

I'm open to any suggestion.

Kind regards,
Said.
Attached Images
File Type: png proto.png (157.0 KB, 9 views)
saidc. is offline   Reply With Quote

Old   November 18, 2021, 11:29
Default
  #2
Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 96
Rep Power: 8
JulioPieri is on a distinguished road
Have you tried running on a Euler-Lagrange solver? Then you model your spheres as heavy material, impose a max packing alpha and let the flow adapt. Not sure if it's gonna work, but it can be a good test.

You can either use MPPICFoam (without energy equation), or you could implement kinematicCloudProperties on a compressible solver like rhoSimpleFoam. swak4Foam can do this for you.

To solve directly the mesh, I'd for first for a 2d axissymetric case to quickly generate the intricate mesh. When you have good snappyHexMesh parameters, jump to the 3d case
JulioPieri is offline   Reply With Quote

Old   November 20, 2021, 06:30
Post
  #3
Member
 
saidc
Join Date: Feb 2020
Location: Türkiye
Posts: 61
Rep Power: 6
saidc. is on a distinguished road
Quote:
Originally Posted by JulioPieri View Post
Have you tried running on a Euler-Lagrange solver? Then you model your spheres as heavy material, impose a max packing alpha and let the flow adapt. Not sure if it's gonna work, but it can be a good test.

You can either use MPPICFoam (without energy equation), or you could implement kinematicCloudProperties on a compressible solver like rhoSimpleFoam. swak4Foam can do this for you.

To solve directly the mesh, I'd for first for a 2d axissymetric case to quickly generate the intricate mesh. When you have good snappyHexMesh parameters, jump to the 3d case
Hi Julio,

Thanks for your reply. I couldn't get the idea you mentioned. The solvers you said are used for kinematic particle transport as far as I know. But there is no particle movement in my case. Spheres are stand still, gas will flow around them. So I wonder how can I implement these solvers to my case and is it necessary? I don't any experience for these solvers.

If I misunderstood you, I would appreciate it if you could explain your idea a little more.

Kind regards,
Said.
saidc. is offline   Reply With Quote

Old   November 22, 2021, 08:04
Default
  #4
Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 96
Rep Power: 8
JulioPieri is on a distinguished road
So, the solvers are indeed designed to study lagrangian particles. However, I think (I'm not sure) you could run it with heavy particles, so they don't move. If you couple the solution between Euler and Lagrange phases (i.e., the flow sees the particles and change its way to get around them) you could mimmic the effect you want.

It's just an idea, and very simple to implement. The lagrangian data is concentrated in a single file, called kinematicCloudProperties. There you create your clouds (set of particles) and specify things like maximum packing, quantity, and diameter.

Start from the MPPICFoam/Goldschmidt tutorial, run it take a look in paraview. To post process lagrangian data, the info will appear in the "Properties" tab in paraview below the mesh/patches stuff.

The idea is to create a cylinder, put the, say, 20 spheres you have, with the diamater they have. Then calculate the maximum packing (a simple volume ratio) and put that number in the file. The spheres will set on the floor randomly but keeping the maximum packing you specified. Then the flow will just pass them as if they were obstructions.

Again, this is just an idea. I've never tried something like that, but could be a test worth trying.
saidc. likes this.
JulioPieri is offline   Reply With Quote

Reply

Tags
buoyantpimplefoam, convection, natural, sphere


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
Natural convection in a kitchen, low air velocity problem AXN STAR-CCM+ 6 April 28, 2017 04:02
Operating Pressure (Natural Convection problem) Andrew Tress Main CFD Forum 1 July 3, 2006 16:00
benchmark problem in natural convection Amit Katiyar CFX 0 December 7, 2003 12:07
CFD problem Setup for Packed Bed Column Vijay CFX 0 June 20, 2003 08:23
transient simulation: natural convection problem? Basics CFX 3 September 25, 2002 09:42


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