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

Minimize OF disk requirements

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 3 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   October 2, 2015, 07:57
Default Minimize OF disk requirements
  #1
Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 34
Rep Power: 6
Rojj is on a distinguished road
Hi, I have built OF from source on an amazon EC2 instance. Because space is quite precious I wonder what are the files that I need to keep in order to have a functioning installation.

I have followed the standard instructions to build from source so my installation tree looks like this (from ~):

OpenFOAM/
├── OpenFOAM-2.4.0
│** ├── Allwmake
│** ├── applications
│** ├── bin
│** ├── COPYING
│** ├── doc
│** ├── etc
│** ├── platforms
│** ├── README.html
│** ├── README.org
│** ├── src
│** ├── tutorials
│** └── wmake
├── ThirdParty-2.4.0
│** ├── Allclean
│** ├── Allwmake
│** ├── AllwmakeLibccmio
│** ├── build
│** ├── CGAL-4.6
│** ├── cmake-2.8.12.1
│** ├── etc
│** ├── makeCGAL
│** ├── makeCmake
│** ├── makeGcc
│** ├── makeLLVM
│** ├── makeParaView
│** ├── makeParaView4
│** ├── makeQt
│** ├── openmpi-1.8.5
│** ├── ParaView-4.1.0
│** ├── platforms
│** ├── README.html
│** ├── README.org
│** └── scotch_6.0.3
└── ubuntu-2.4.0
├── platforms
├── run
└── swak4Foam

My guess is that ThirdParty-2.4.0 can be deleted and so all the docs and tutorials. But can I get rid of all the sources?

The idea is to create an image that is used only for the calculation and uses the minimum amount of space.

Thanks
Rojj is offline   Reply With Quote

Old   October 2, 2015, 14:55
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: Amherst, MA USA - San Diego, CA USA
Posts: 321
Rep Power: 11
kmooney is on a distinguished road
If space is so small that the installation itself is problematic, you're going to run into serious problems trying to store any sizable CFD solution data set.
kmooney is offline   Reply With Quote

Old   October 3, 2015, 12:06
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,125
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quick answer: If you no longer need to build anything at all from source code, then you only need 5 folders:
  • OpenFOAM-*
    • bin
    • etc
    • platforms
  • ThirdParty-*
    • platforms
  • username-*
    • platforms
cutter, Rojj and macelee like this.

Last edited by wyldckat; October 3, 2015 at 12:07. Reason: revised the folders you need
wyldckat is offline   Reply With Quote

Old   October 5, 2015, 19:21
Default
  #4
Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 34
Rep Power: 6
Rojj is on a distinguished road
Thanks Bruno. That's what I needed.

@kmooney
I will keep that in mind. At the moment my files are not very big as I am in development. Practically I run the case, sample a few points, download the results and delete the case.
Rojj is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
actuator disk Atit CFX 9 July 26, 2016 09:39
ActuatorDiskExplicitForce in OF2.1. Help be_inspired OpenFOAM Programming & Development 8 July 3, 2014 10:54
vof rotating disk 2d bene FLUENT 1 October 24, 2010 13:18
vof sliding disk help please bene FLUENT 0 October 22, 2010 04:10
Actuator Disk Model sujialin CFX 0 April 18, 2010 16:29


All times are GMT -4. The time now is 09:49.