C++ code modification and subsequent implementation in MATLAB

Closed Posted 6 years ago Paid on delivery
Closed Paid on delivery

I am posting the full project here but feel free to bid even if you can only do parts of it.

An existing C++ code is being used to simulate the acidization of a rock sample. The code outputs multiple .ppm (image file), .vtk (paraview file) & .dat files which are then visualized with a simple visualization software. The existing code outputs these files after every 100 iterations. It also outputs the .dat file in a non-tabular format.

I want a few changes in the code to make it perform the following actions:

1. Instead of outputting the files very 100 iteration, I want it to output these files every 60 or 120 seconds, irrespective of the number of iterations that are performed in that time.

2. The code outputs velocity fields (velocity vectors in 2D). I want the .dat files to be in tabular format to show time, (x & y magnitude of velocity of the acid) and (x and y coordinates of the vector).

For the next part:

1. From those streamlines, plot on a graph, tortuosity vs cumulative time.

2. The code also outputs .ppm, .vtk & .dat files showing the change in the rock geometry due to the acid dissolving the rock in batches of 100 iterations. I would like to quantify that changing geometry as change in Specific Surface Area of the rock matrix vs. time.

The C++ code file that I have attached uses a library called Palabos. You can download both the code and the Palabos library from attached files.

To run the simulation:

1. Open codeblocks > open existing project > (palabosv1.5-r1>codeblocks>[login to view URL]).

2. From management tab >Palabos, delete examples, right click on palabos, add files recursively and add 3.lb_reactionScheme folder.

3. Build and then run.

C++ Programming Matlab and Mathematica Petroleum Engineering

Project ID: #14193001

About the project

3 proposals Remote project Active 6 years ago

3 freelancers are bidding on average $88 for this job

Valuesolutions

Hello, how are you? I hope you have a bright day/evening from your side. I have read the details provided, but please contact me so that we can discuss more on the project. I believe I have the required skills in this More

$210 USD in 2 days
(13 Reviews)
4.8
tabassumqr

There is no attachment. Please send the files to study and update the bid. Relevant Skills and Experience I have done simulation of dynamic system models in matlab, simulink, c++ and excel. I have published some paper More

$30 USD in 5 days
(0 Reviews)
0.0