|
[Sponsors] |
November 18, 2023, 06:13 |
Lack of storage
|
#1 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
Hi all,
I going to run my simulation, but there is not enough space on my computer. Is there any alternative to come up with? Some space is occupied by the parallel running and other because of reconstruction! |
|
November 19, 2023, 07:20 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Hello Saeed,
Reconstructing data is unnecessary. You can visualize decomposed data with ParaView native reader for OpenFOAM. Instead of using paraFoam, use paraFoam -builtin or just create an empty file with .foam extension (for instance touch case.foam) and load it in paraview. You will have an option to select if you want to load the reconstructed or decomposed case. Hope this helps, Yann |
|
November 19, 2023, 07:48 |
|
#3 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
Hi Yann,
Thanks for your reply. So you are saying I should follow below procedures: Code:
cd ${0%/*} || exit 1 clear source clean source .color #----------------------------------------------------------------------- echo -e " - Copy 0.orig to 0" cp -r 0.orig 0 #------------------------------------------------------------------------------ echo -e " - Create background mesh" blockMesh surfaceFeatureExtract #------------------------------------------------------------------------------ echo -e " - Meshing with snappyHexMesh" mpirun -np 6 snappyHexMesh -overwrite checkMesh #----------------------------------------------------------------------- echo -e " - Decomposition" decomposePar #----------------------------------------------------------------------- echo -e " - run" mpirun -np 6 pimpleFoam -parallel #----------------------------------------------------------------------- echo -e " - reconstruction" # reconstructPar //According Yann opinion #----------------------------------------------------------------------- echo -e " - Demonstration" postProcess -func vorticity touch foam.foam paraview foam.foam #------------------------------------------------------------------------------ Last edited by saeed jamshidi; November 19, 2023 at 09:07. |
|
November 20, 2023, 04:34 |
|
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Hello Saeed,
Yes, except your should run the postProcess command in parallel: Code:
mpirun -np 6 postProcess -func vorticity -parallel Cheers, Yann |
|
November 20, 2023, 05:08 |
|
#5 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
Thank you Yann,
Does write format of binary instead of ascci in controlDict reduce size of exported files in zero folder? |
|
November 20, 2023, 05:12 |
|
#6 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Yes, using binary format should use less space on the time directories written to disk.
|
|
November 26, 2023, 13:22 |
|
#7 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
Hi again,
Just ending this thread, I also found that when we use cache utility in fvsolution in order to save previous time step date and accelerate running, it occupies significant space of your PC. So, we can pause running and resume it again for the storage space recovery. Code:
cache { grad(U); } |
|
December 12, 2023, 13:41 |
|
#8 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
Hi again,
In three dimensional simulation due to large number of cells we may encounter with lack of storage space! Since we write various parameters such as U, P, T and ... and they have large size. The question: is it possible to store run data on other drives of our computer instead of 'C'?! |
|
December 13, 2023, 04:10 |
|
#9 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Hello,
You can run from any place, as long as the computers running OpenFOAM have permissions to access the case files. Performance may vary depending on read/write times on the storage you are using. Regards, Yann |
|
December 13, 2023, 04:24 |
|
#10 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
Hi Yann,
thank you for the reply. Could you give me more assistance? According to the picture I am using Ubuntu. It directly stores data on C. |
|
December 13, 2023, 04:47 |
|
#11 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Alright, you're using WSL.
Your drives should be listed in /mnt/ so you should be able to access it doing something like this for instance: Code:
cd /mnt/e/ Cheers, Yann |
|
December 13, 2023, 05:19 |
|
#12 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
Thank you Yann,
it worked for me. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The udf.h headers are unable to open- in VISUAL STUDIO 13 | sanjeetlimbu | Fluent UDF and Scheme Programming | 4 | May 2, 2016 06:38 |
Stability and Realibility of microfluidic droplets storage in tube or storage coil | devalvyas | System Analysis | 0 | February 2, 2016 12:49 |
How to stabilize hydrograph outflow of a storage | hydr_eng1805 | FLOW-3D | 0 | January 17, 2015 06:18 |
Problem with UDF compiling for kTkLW model | Wantami | FLUENT | 0 | July 18, 2011 06:11 |
Diagonal storage for c-grid airfoil possible? | zonexo | Main CFD Forum | 1 | May 10, 2006 14:43 |