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

How to run openfoam simulation through external hard drive

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2023, 12:50
Default How to run openfoam simulation through external hard drive
  #1
Member
 
West Midlands
Join Date: Aug 2022
Posts: 63
Rep Power: 3
R786 is on a distinguished road
hello,
I am low on space on my desktop but I have a 5TB external hard drive, how can I run my openfoam simulation from an external hard drive if I am using ubuntu ?
R786 is offline   Reply With Quote

Old   May 12, 2023, 13:17
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,680
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Assuming you can mount the hard-drive.... just do it? Where are you having trouble? You can run OpenFOAM from any directory and that includes other hard drives. If you can copy and paste a file onto your HD, then you can foam it.
LuckyTran is offline   Reply With Quote

Old   May 13, 2023, 04:31
Default
  #3
Member
 
West Midlands
Join Date: Aug 2022
Posts: 63
Rep Power: 3
R786 is on a distinguished road
I am running home directory through Ubuntu, so do I need to transfer the directory into the external hard drive
R786 is offline   Reply With Quote

Old   May 13, 2023, 09:40
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,680
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
I am very confused. Have you used OpenFOAM before? How do you use it?


Is it not the case that you open a terminal/kernel in an arbitrary directory and type for example

blockMesh
snappyHexMesh
simpleFoam
etc


How do you do it? Because these can be done anywhere.
LuckyTran is offline   Reply With Quote

Old   May 16, 2023, 11:20
Default
  #5
New Member
 
K
Join Date: Oct 2022
Location: Madison, WI
Posts: 19
Rep Power: 3
kinematic_presser is on a distinguished road
Dear R786,
Yes, usually we run OpenFOAM in Ubuntu in the home/OpenFOAM/<username>v<versionnumber>/run directory, but you don't have to. Just mount the external disk, and use any directory in there that you would like. Just keep in mind that you may deal with some latency if OpenFOAM is not installed on a different disk.
kinematic_presser is offline   Reply With Quote

Old   May 16, 2023, 12:09
Default
  #6
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,680
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Clarification: the lag is due to your external drive where your case is stored (potentially) being connected to a slower bus (e.g. USB) instead of a high speed bus and foam needing to read and write files to this snail drive, not because of foam not being installed on the external drive.


Foam should be installed in the location most convenient for you. It can be your home drive, your external drive, a cloud drive, a usb stick, heck even a floppy disk.


Of course, you can install foam on the external disk if you so choose.
LuckyTran 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
Openfoam v1906 on arm64 ubuntu eoan, wont run in any directory EternalSeekerX OpenFOAM Bugs 1 September 11, 2020 14:06
[OpenFOAM.com] Installing OpenFOAM on secondary drive CronusX OpenFOAM Installation 4 June 25, 2020 05:04
[OpenFOAM.com] Installing OpenFOAM on secondary drive CronusX OpenFOAM Installation 0 June 21, 2020 16:14
How to run unsteady simulation in OpenFOAM? usman89 OpenFOAM 1 August 12, 2016 10:26
Can't get data from OpenFoam to external solver using externalCoupled perry OpenFOAM Running, Solving & CFD 4 May 26, 2014 08:09


All times are GMT -4. The time now is 01:02.