CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

OpenFoam with Ubuntu shell and resources use

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2020, 05:14
Default OpenFoam with Ubuntu shell and resources use
  #1
Member
 
Join Date: Mar 2019
Posts: 31
Rep Power: 7
Andrea23 is on a distinguished road
Hi,

I'm using OpenFoam 7 on an Ubuntu shell on windows 10 ( this is the shell i'm using: https://www.microsoft.com/it-it/p/ub...ot:overviewtab )

I'm running a simplefoam simulation on a domain of 6 milion elements (no prism layer and all tetrahedral element), after 70-80 iteration openfoam stops without giving an error messagge:

Time = 81

smoothSolver: Solving for Ux, Initial residual = 9.33724e-11, Final residual = 9.33724e-11, No Iterations 0
smoothSolver: Solving for Uy, Initial residual = 2.25473e-10, Final residual = 2.25473e-10, No Iterations 0
smoothSolver: Solving for Uz, Initial residual = 1.72562e-09, Final residual = 1.72562e-09, No Iterations 0

these are the last lines before the system line to insert a command appeared.

I have checked the resources use, during the simulation, and between 4-6 GB of ram were used by open foam, 14 gb are in standy, 10 were free, and the other were in use by windows and other minor programs, for a total of 32GB.
For a simulation of this type 4-6 GB of ram is the correct necessity or the ubuntu subsystem is limited in the resources use and that is why openfoam "crashed", if is limited do you know of to remove the limit? I did a research on google but i didn't find the answer.

Last edited by Andrea23; February 5, 2020 at 09:23.
Andrea23 is offline   Reply With Quote

Old   February 10, 2020, 06:03
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,192
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
This seems to be your case:

https://answers.microsoft.com/en-us/...c-c0032762166d

However, all the cases I see mentioning your problem are from 2016... I bought a Windows 10 machine (and started using WSL) in August 2019 and I don't have this problem (WSL can see the whole memory of the machine). I haven't used it with OpenFOAM specifically, but with a similar package with even higher memory requirements (including MPI, PETSc, Metis, etc.), so it is pretty sure I don't have the issue.

Maybe you need to update your machine.

In any case, I would also check in the specific OF forum here, I'm pretty sure there must be someone that already faced your problem
sbaffini is offline   Reply With Quote

Old   February 11, 2020, 07:24
Default
  #3
Member
 
Join Date: Mar 2019
Posts: 31
Rep Power: 7
Andrea23 is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
This seems to be your case:

https://answers.microsoft.com/en-us/...c-c0032762166d

However, all the cases I see mentioning your problem are from 2016... I bought a Windows 10 machine (and started using WSL) in August 2019 and I don't have this problem (WSL can see the whole memory of the machine). I haven't used it with OpenFOAM specifically, but with a similar package with even higher memory requirements (including MPI, PETSc, Metis, etc.), so it is pretty sure I don't have the issue.

Maybe you need to update your machine.

In any case, I would also check in the specific OF forum here, I'm pretty sure there must be someone that already faced your problem
Thanks for your answer, in that topic I found the comand to check ram in use and ubuntu read all 32 gb so i think it has access to all of them. I run another simulation using all processors and after free standby ram, now it seems is working fine after I have improved the model too. Probably it was not a hardware problem, if I have more problem I will ask in dedicated section.
Andrea23 is offline   Reply With Quote

Reply

Tags
openfoam 7, processor, ram, ubuntu shell


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



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