Giter Club home page Giter Club logo

andemanden / computational-solute-transport-across-membranes Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 3 MB

Explore the dynamics of solute transport across membranes. Diving into the intricacies of solute transport and fouling within membranes

Home Page: https://kbdk-aub.primo.exlibrisgroup.com/permalink/45KBDK_AUB/a7me0f/alma9921650701005762

License: Other

MATLAB 100.00%
chemical-engineering fluid-dynamics membrane-computing membranes fouling solute-transport

computational-solute-transport-across-membranes's Introduction

Solute Transport Computation On Membranes

Matlab Version Topic Uni. ECTS. LIC

A Membrane-based Process Modeling Simulation Using Emperical Numerical Methods


Show Creators Of Project:Project Creators:

Axelsen, D. A. L.,
Galsøe, P.,
Hansen, J. A.,
Mølgaard, J. S.,
Rehné, A. M.,
Zegarra, L. K.,

Table of contents

General info

A chemistry tool for modeling solute molecules transport through a membrane. It uses data from a Visual MINTEQ simulation of a solution where equilibrium has transpired.

Key incorporated theoretical aspects

  • Advections
    • Solute addvection
    • Percipitate addvection
  • Convection
  • Percipitate suspension
  • Indirect equilibrium Incorporation (From MINTEQ)
  • pH specification (From MINTEQ)
  • Osmotic pressure
  • Solute Accumulation
  • Fouling
  • Conservation of mass investigation

Mathematical methodology

The concept is an emperical numerical method based on the generalized advection-diffusion equation.

The movement equation of the emperical model is solved numerically as a finite difference explicit upwind scheme in accordance to the forward Euler method as:

$$c_{i,j}=c_{i,j-1}+ D \frac{(c_{i+1,j-1}-2c_{i,j-1}+c_{i-1,j-1})}{\Delta x^2}\Delta t - J_{tot,v} \frac{(c_{i,j-1}-c_{i-1,j-1})}{\Delta x} \Delta t$$

Bountary Conditions

The boundary conditions is defined as follows:

$$ c_{L_x,j}-c_{L_x,j-1}=D(\frac{c_{L_x+\Delta x,j-1}-c_{L_x,j-1}}{\Delta x^2}+\frac{c_{L_x,j-1}+c_{L_x-\Delta x,j-1}}{\Delta x^2})\Delta t - J_{tot,v}\frac{(c_{L_x,j-1}\cdot (1-\sigma_i)-+c_{L_x-\Delta x,j-1})}{\Delta x}\Delta t $$

Stability

Tip

Stability indicators for diffusion and advection are in the console and plot, respectively.

The diffusive and advective stabilities is defined in isolated enviorments by the following conditions:

$$D\frac{\Delta t}{\Delta x^2} \leq \frac{1}{2} ~~~ And ~~~ J_{tot,v}\frac{\Delta t}{\Delta x} <1$$ And $$J_{tot,v}\frac{\Delta t}{\Delta x} <1$$

While in a system where both of these stabilities are relevant a new term must be upheld:

$$1-J_{tot,v}\frac{\Delta t}{\Delta x} - 2D\frac{\Delta t}{\Delta x^2} \geq 0$$

Installation

OS X & Windows:

git clone https://github.com/Andemanden/Computational-Solute-Transport-Across-Membranes.git

Linux:

git clone https://github.com/Andemanden/Computational-Solute-Transport-Across-Membranes.git --depth 1 --branch=master ~/dir-name

Current MATLAB version:
MathWorks Page

Visual MINTEQ:
The MINTEQ Page

Simulation Results

Pictures to be added

Use cases

This code has already been used in this article: 1

Current progress

Progress: [======================] 100%

Footnotes

  1. Membrane-based Process Modeling of Phosphorus Recovery from the Danish Sewage Sludge Using Numerical Methods

computational-solute-transport-across-membranes's People

Contributors

andemanden avatar l-k-z avatar boninator1 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.