vitst / dissolFoam

Solves for flow (Stokes) and transport (steady-state) and moves the mesh according to the reactant flux.
11 stars 2 forks source link

Hi @Darezhat. #3

Closed Darezhat closed 3 years ago

Darezhat commented 3 years ago

Hi @Darezhat. You should be able to run dissolFoam using OpenFoam-v2012. To do that, additionally, you will need to clone and compile libraries from libsFoamAux and checkout the of2006 branch:

git clone https://github.com/vitst/libsFoamAux.git
cd libsFoamAux
git checkout of2006
./Allwmake
cd ..

Then clone and compile the current solver (default master branch will work):

git clone https://github.com/vitst/dissolFoam.git
cd dissolFoam
wmake
cd ..

At this point you got all the machinery to run dissolFoam. We created a number of examples at dissolCases. They are mostly valid but might need some tuning for the latest OpenFOAM, since the OpenFOAM is an intensively developing software, and we just don't have resources to update everything to the latest release. The good news is that the changes are always minor. Thus, reading the error messages you will be able to make it working. I updated one of the cases for the fracture dissolution seededFracture-v2012 and pushed it to the develop branch.

git clone https://github.com/vitst/dissolCases.git
cd dissolCases
git checkout develop
cd seededFracture-v2012
./Mesh
./Run

It should give you an example how dissolFoam works. Then you can switch to your own geometry or boundary conditions. Make sure that you choose correct parameters such as diffusion, reaction rate constant. The details have been described in our publications:

Good luck! Vitaliy

Originally posted by @vitst in https://github.com/vitst/dissolFoam/issues/1#issuecomment-776881717

Darezhat commented 3 years ago

Hello! Thank you for your response and help! I tried to follow this instruction and tried to fix errors with but I had some troubles related to the compilation of libraries. Error is "tiffio.h - no such file or directory". Could you help me again, please?