CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Fluent memory leak problem on windows 10?

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 1 Post By LuckyTran
  • 1 Post By sina_mech
  • 1 Post By sina_mech
  • 1 Post By LuckyTran
  • 1 Post By Daniel_Khazaei

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2017, 14:15
Default Fluent memory leak problem on windows 10?
  #1
Senior Member
 
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21
Daniel_Khazaei will become famous soon enough
I'm running fluent simulation on windows 10 but it seems that I'm facing memory leak problem....

I'm running 4m grid with the following setup:
- Transient, VOF, SIMPLE, second order discretization
- Turbulent: Realizable K-Epsilon with menter-lechner
- Dynamic mesh, spring method

Here is the spec of the system I'm using:
- Core i7 6700K
- 32GB DDR4 RAM

At the beginning of the simulation it only uses 50% of the memory. However after 1 day, it almost uses all of the memory and finally get terminated with low memory error

What's the problem? how much RAM a 4m grid domain needs for the aforementioned case setup?

Best wishes,
Regards
Daniel_Khazaei is offline   Reply With Quote

Old   March 26, 2017, 00:37
Default
  #2
Senior Member
 
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21
Daniel_Khazaei will become famous soon enough
well after watching the simulation, it seems the memory consumption grows by every auto case and data writing
why does it keep case and data in memory after writing it to HDD?
Daniel_Khazaei is offline   Reply With Quote

Old   March 26, 2017, 01:30
Default
  #3
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Are you sure it's not because of your dynamic meshing?
Daniel_Khazaei likes this.
LuckyTran is offline   Reply With Quote

Old   March 27, 2017, 01:48
Default
  #4
Senior Member
 
SinaJ
Join Date: Nov 2009
Posts: 136
Rep Power: 16
sina_mech is on a distinguished road
I recently did a transient multiphase simulation with ~6M cells on a linux cluster of ~150 cores (means too much communications involved) with less than 20GB of ram! My point is that there is something wrong!

It must be with dynamic meshing. Create a monitor and write the mesh-size as a text file so you can have a record of mesh size after it gets terminated. So you can check when/why the mesh gets too fine!
Daniel_Khazaei likes this.
sina_mech is offline   Reply With Quote

Old   March 27, 2017, 17:44
Default
  #5
Senior Member
 
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21
Daniel_Khazaei will become famous soon enough
Quote:
Originally Posted by LuckyTran View Post
Are you sure it's not because of your dynamic meshing?
Quote:
Originally Posted by sina_mech View Post
I recently did a transient multiphase simulation with ~6M cells on a linux cluster of ~150 cores (means too much communications involved) with less than 20GB of ram! My point is that there is something wrong!

It must be with dynamic meshing. Create a monitor and write the mesh-size as a text file so you can have a record of mesh size after it gets terminated. So you can check when/why the mesh gets too fine!
thank you for the recommendations, I will check the dynamic mesh setup for the grid size after re-meshing and get back to you.
Daniel_Khazaei is offline   Reply With Quote

Old   March 28, 2017, 10:07
Default
  #6
Senior Member
 
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21
Daniel_Khazaei will become famous soon enough
Quote:
Originally Posted by sina_mech View Post
I recently did a transient multiphase simulation with ~6M cells on a linux cluster of ~150 cores (means too much communications involved) with less than 20GB of ram! My point is that there is something wrong!

It must be with dynamic meshing. Create a monitor and write the mesh-size as a text file so you can have a record of mesh size after it gets terminated. So you can check when/why the mesh gets too fine!
Again after about 1 day the simulation get terminated with low memory error! I have checked the number of cells after 1500 time steps and the cell count never goes beyond 4.1m cell...well this is expected as the re-meshing is just used to avoid bad quality elements...
Daniel_Khazaei is offline   Reply With Quote

Old   March 28, 2017, 13:29
Default
  #7
Senior Member
 
SinaJ
Join Date: Nov 2009
Posts: 136
Rep Power: 16
sina_mech is on a distinguished road
Quote:
Originally Posted by Daniel_Khazaei View Post
Again after about 1 day the simulation get terminated with low memory error! I have checked the number of cells after 1500 time steps and the cell count never goes beyond 4.1m cell...well this is expected as the re-meshing is just used to avoid bad quality elements...

Well, this is weird then. 4.1M is nothing for 32GB of ram. I would also try to check if the license manager is working well.

How long did it take to get to 1500 time steps? Is this 4.1M the latest mesh size? My point is that a crazy mesh-size increase can happen in just few time steps. You need to know the cell number for every time step.
Daniel_Khazaei likes this.
sina_mech is offline   Reply With Quote

Old   March 28, 2017, 15:49
Default
  #8
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You could also just turn off dynamic meshing altogether. Do you actually need a dynamic mesh in your problem?
Daniel_Khazaei likes this.
LuckyTran is offline   Reply With Quote

Old   March 28, 2017, 16:51
Default
  #9
Senior Member
 
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21
Daniel_Khazaei will become famous soon enough
Quote:
Originally Posted by sina_mech View Post
Well, this is weird then. 4.1M is nothing for 32GB of ram. I would also try to check if the license manager is working well.

How long did it take to get to 1500 time steps? Is this 4.1M the latest mesh size? My point is that a crazy mesh-size increase can happen in just few time steps. You need to know the cell number for every time step.
Well I get your point about rapid increase in cell count in few time steps, however by monitoring memory usage I have noticed that memory consumption increased gradually every 250 time steps (auto case and data writing period)!
It starts with 47% memory usage and then gradually increases after every case and data writing. For example from 47% to 53%, 60%, 68%, ..., 100%!!!Everything is normal when I check the written case and data files, even their size are consistent with the initial case and data! The calculation speed is also consistent...

I have checked all of the written case files: in a few steps the cell count drops to 3.8m, however the memory usage still increased

Quote:
Originally Posted by LuckyTran View Post
You could also just turn off dynamic meshing altogether. Do you actually need a dynamic mesh in your problem?
well I'm simulating a ship hull and the ship motion through waves is important for me!
Daniel_Khazaei is offline   Reply With Quote

Old   March 30, 2017, 04:18
Default
  #10
Senior Member
 
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21
Daniel_Khazaei will become famous soon enough
Well it seems that ANSYS 17.1 has memory management problem on windows 10 and keeps case and data in memory even after writing it to HDD.
Asked my supervisor to upgrade ANSYS to version 17.2 and the problem is now gone...memory usage remains at 47-50% all the time
etinavid likes this.
Daniel_Khazaei 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
Fluent - license problem. Marcin FLUENT 3 April 13, 2018 16:33
problem of running parallel Fluent on linux cluster ivanbuz FLUENT 15 September 23, 2017 19:12
Fluent Parallelization Problem After AC Power Dropped pawl Hardware 5 November 13, 2016 06:08
Memory problem in Fluent sai FLUENT 0 January 30, 2007 05:32
"Memory too low" problem with Fluent HELP NEEDED Amr FLUENT 6 May 8, 2006 12:06


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