drifting Snow solver for OpenFoam 2.5
 
 
Go to file
Philip Crivelli 766efce688 all done 2023-01-20 10:29:35 +01:00
applications/solvers/snowBedFoam all done 2023-01-20 10:29:35 +01:00
documentation all done 2023-01-20 10:29:35 +01:00
exampleCase all done 2023-01-20 10:29:35 +01:00
src/lagrangianCRYOS all done 2023-01-20 10:29:35 +01:00
.gitignore all done 2023-01-20 10:29:35 +01:00
LICENSE all done 2023-01-20 10:29:35 +01:00
readme all done 2023-01-20 10:29:35 +01:00

readme

The instructions for compiling snowBedFoam solver in OpenFOAM-2.3.0:
(by Mahdi Jafari and Océane Hames, 2021)

_____________________________________________________________________
Open a terminal in this directory. 

First, activate the OpenFOAM-2.3.0 environment:

		of230

Then, run the following commands:

		cp -rp src/lagrangianCRYOS $WM_PROJECT_USER_DIR/src/.
		
		cp -rp applications/solvers/snowBedFoam $WM_PROJECT_USER_DIR/applications/solvers/.
		
		
Then, compile the new libraries by typing the following commands:


		cd $WM_PROJECT_USER_DIR/src/lagrangianCRYOS/distributionModelsTriple

		wclean

		wmake

		cd $WM_PROJECT_USER_DIR/src/lagrangianCRYOS/intermediateCRYOS

		wclean

		wmake libso

Finally, compile new solvers:

		cd $WM_PROJECT_USER_DIR/applications/solvers/snowBedFoam

		./Allwclean 

		./Allwmake 
_____________________________________________________________________

The exampleCase folder is the simulation case used in the paper titled as:
"Modelling the small-scale deposition of snow onto structured Arctic sea ice during a MOSAiC storm using snowBedFoam 1.0."
https://doi.org/10.5194/gmd-2021-254
_____________________________________________________________________
The instructions for (1) programming the snow model and (2) running the simulation case are provided in the "documentation" folder.