Skip to content

aliraeini/porescale

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This repo is for historical reference, checkout https://github.com/ImperialCollegeLondon/porescale instead.

Pore-scale modules for code developers

This repository serves as developer guide for integrating different git codes/submodules linked here and contains no code of its own.

If you were looking for stand-alone versions of these apps, click on their directories above and then switch to their master branch:

For a pre-compiled release of these apps in a Ubuntu Docker image, visit https://hub.docker.com/r/aliraeini/porescale.


Downloading all codes

To clone all modules at once, which can be time-consuming to compile, run:

git clone --recurse-submodules https://github.com/aliraeini/porescale.git

Downloading specific modules

To pick only the submodules you need, first clone this repository:

git clone https://github.com/aliraeini/porescale.git

and then update the common modules:

git submodule update --init src/script src/include pkgs/zlib pkgs/libtiff src/libvoxel

Finally to get other codes run any combination of the following commands.

Pore-network model, pnextract and pnflow:

git submodule update --init pkgs/hypre src/pnm

Contact angle code:

git submodule update --init pkgs/foamx4m src/ContAngle

Porefoam two-phase flow solver:

git submodule update --init pkgs/foamx4m src/porefoam2f

Porefoam single-phase flow solver:

git submodule update --init pkgs/foamx4m src/porefoam1f


Create from scratch

Instead of running the git commands above, you can run the contents of setup_from_scratch.sh, to generate this repository from scratch.


Build and test

Compilation requires gnu make, Cmake and a C++ compiler. Compilation of Porefoam and ContactAngle codes additionally requires libscotch-dev and openmpi-dev, in Ubuntu Linux.

Once you have the prerequisites installed, to compile the codes, run make, or make -j for parallel build.

To test the compilation run make test.


Contact and References

For contacts and references please see the individual modules README files or submit your issue in their Github repository.

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 89.3%
  • Makefile 10.7%