s-lunowa / AsymptoticThinStripMCLSolver

Solver for the asymptotic model of immiscible two-phase flow with moving contact line in a thin strip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AsymptoticThinStripMCLSolver

Solver for the asymptotic model of immiscible two-phase flow with moving contact line in a thin strip.

The solver is writen in MATLAB. The model is derived in the article On an averaged model for immiscible two-phase flow with surface tension and dynamic contact angle in a thin strip by Stephan B. Lunowa, Carina Bringedal and Iuliu Sorin Pop (2021) (UHasselt CMAT Preprint).

Installation

No installation is necessary. You can just download or pull the software. The only requirement is that you have a current version of MATLAB® installed (at least R2019a). MATLAB® is a product and trademark of MathWorks, Inc., which is available at http://www.mathworks.com/products/matlab.html.

Usage

The file example.m shows in detail the usage of the different program components, such as solving the ode and dae system, plotting the solutions and saving them.

The file Model.m contains the model as a class with all routines necessary to simulate the process. The scripts solver_constant.m and solver_constricted.m, solver_dynamic.m, and solver_hysteretic.m contain examples of usage for uniform and constricted thin strips with constant, dynamic and hysteretic contact angle model, respectively.

License

Copyright © 2021 Stephan B. Lunowa.

This software is licensed under the Creative Commons Attribution 4.0 International License. You should have obtained a LICENSE file alongside this file. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/. This licence allows for usage, modification and redistribution of the software, but EXCLUDES ANY WARRANTY AND LIABILITY.

About

Solver for the asymptotic model of immiscible two-phase flow with moving contact line in a thin strip

License:Other


Languages

Language:MATLAB 100.0%