CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Cylinder and dsmc solver (https://www.cfd-online.com/Forums/openfoam-bugs/90157-cylinder-dsmc-solver.html)

sandre July 2, 2011 06:53

Cylinder and dsmc solver
 
Hi!

I've made cylinder geometry via blockmesh utility and started dsmc solver, but the process have eaten too much memory and show an error exception:

new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library
Aborted

Same case with cube geometry solve good.

Can you help me, please?

blockMeshDict file:
Code:


FoamFile
{
    version    2.0;
    format      ascii;
    class      dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.01;

vertices       
(
(-1 -1 -1)
(1 -1 -1)
(1 1 -1)
(-1 1 -1)

(-1 -1 1)
(1 -1 1)
(1 1 1)
(-1 1 1)

);

blocks         
(
    hex (0 1 2 3 4 5 6 7) (5 5 5) simpleGrading (1 1 1)
);


edges         
(
  arc 0 1 (0 -1.4142135623730951 -1)
  arc 1 2 (1.4142135623730951 0 -1)
  arc 2 3 (0 1.4142135623730951 -1)
  arc 3 0 (-1.4142135623730951 0 -1)

  arc 4 5 (0 -1.4142135623730951 1)
  arc 5 6 (1.4142135623730951 0 1)
  arc 6 7 (0 1.4142135623730951 1)
  arc 7 4 (-1.4142135623730951 0 1)

);

patches       
(
    patch sides
    (
        (1 5 4 0)
    (0 4 7 3)
        (2 6 5 1)
        (3 7 6 2)
    )
    patch inlet
    (
      (0 3 2 1)
    )
    patch outlet
    (
        (4 5 6 7)
    )     
);

mergePatchPairs
(
);


anon_a October 13, 2011 08:08

Sounds like you have too many particles.

The information you have posted is not sufficient.
Could you also post the contents of constant/dsmcProperties ?

amirhosseintaran August 7, 2018 02:11

hi , the problem occurs because of you defined too many particle per cells .
use the file named dsmcProperties in the constant folder and change the nEquivalentParticles in there .
the number had some rules to define and for that look at here :

https://www.researchgate.net/profile...geometries.pdf

bests .


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