|
[Sponsors] |
November 2, 2016, 18:33 |
Out of memory while sampling surfaces
|
#1 |
Senior Member
Join Date: Jun 2016
Posts: 102
Rep Power: 10 |
Hello all,
I have encountered a memory trouble. My workstation has 128GB memory and my case will occupy about 80GB memory while running. I need to save 2 surfaces instead of the whole result so I added functions in my controlDict. However everytime this sampling code leads to an out of memory problem. Code:
functions { mysurfaces { type surfaces; functionObjectLibs ( "libsampling.so" ); writeControl adjustableRunTime; writeInterval 0.005; surfaceFormat vtk; interpolationScheme cellPoint; fields ( p U ); surfaces ( surfaceXZ { type plane; basePoint (0.1001 0.1001 0); normalVector (0 1 0); } surfaceYZ { type plane; basePoint (0.1001 0.1001 0); normalVector (1 0 0); } ); } myline { type sets; functionObjectLibs ( "libsampling.so" ); writeControl adjustableRunTime; writeInterval 0.005; setFormat raw; interpolationScheme cellPoint; fields ( U ); sets ( lineZ { type uniform; axis z; start (0.1001 0.1001 0); end (0.1001 0.1001 0.8); nPoints 401; } ); } } Thanks |
|
November 3, 2016, 09:13 |
|
#2 | |
Member
Bruno Blais
Join Date: Sep 2013
Location: Canada
Posts: 64
Rep Power: 13 |
That is indeed a very troubling amount of memory.
Does the same error occur if you try to save only P instead of U and P or it does not change? Are you using the latest version? This seems very anormal, so there might be an underlying bug that manifest itself only for very large cases... Quote:
|
||
November 3, 2016, 12:03 |
|
#3 | |
Senior Member
Join Date: Jun 2016
Posts: 102
Rep Power: 10 |
I'm using the latest version of deb pack. I've tested this case on a half-size mesh(1/8) and everything runs smoothly.
If I only save one surface of U it's safe. About 15GB will be occupied when writing. But if I add the line sampling it will crash again. I should go back and test each value separately so that I can know where is the problem. Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel partition memory allocation problem | Jepice | Fidelity CFD | 2 | July 28, 2017 18:20 |
Run-time memory allocation error | akalopsis | CFX | 0 | November 17, 2014 18:17 |
Lenovo C30 memory configuration and discussions with Lenovo | matthewe | Hardware | 3 | October 17, 2013 11:23 |
RAM memory problem | alpha | Main CFD Forum | 8 | February 12, 2008 12:07 |
"Memory too low" problem with Fluent HELP NEEDED | Amr | FLUENT | 6 | May 8, 2006 13:06 |