xiaoyao79 / rheoTool

Toolbox to simulate GNF and viscoelastic fluid flows in OpenFOAM®

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

RheoTool is an open-source toolbox based on OpenFOAM® to simulate Generalized Newtonian Fluids (GNF) and viscoelastic fluids under pressure-driven and/or electrically-driven flows. In addition to continuum mechanics solvers, RheoTool also has a Brownian dynamics solver to simulate polymer molecules individually.

The theory behind the single-phase flow solvers used in RheoTool can be found in Pimenta F. and Alves M.A., 2017, J. Non-Newtonian Fluid Mech. for pressure-driven flows, and in Pimenta F. and Alves M.A., 2018, arXiv:1802.02843 for electrically-driven flows. The Brownian dynamics solver was presented in Pimenta F. et al., 2018, Biomicrofluidics.

Since version 4.0, RheoTool includes interfaces to the sparse matrix solvers of three external libraries: Eigen, Hypre and PETSc. Both coupled and segregated solution methods have been implemented, as described in Pimenta F. and Alves M.A., 2019, arXiv:1904.02138.

The library containing the viscoelastic fluid models has been developed based on the library used by viscoelasticFluidFoam (Favero et al., 2010, J. Non-Newtonian Fluid Mech.), already present in foam-extend 4.0.

Features

  • all the features are available for 2D/3D problems and generic grids;
  • the code for continuum mechanics is fully-parallelized with MPI;
  • all solvers support either moving or static meshes;
  • wide range of electrically-driven flow models;
  • wide range of viscoelastic and GNF models;
  • the log-conformation tensor approach is available for all viscoelastic models;
  • the transient flow solvers (rheoFoam and rheoEFoam) are highly stable regarding pressure-stress-velocity coupling;
  • the material functions of any rheological model can be obtained numerically (rheoTestFoam);
  • wide range of (direct/iterative) sparse matrix solvers available through the interfaces to external libraries;
  • segregated and coupled solvers;
  • Brownian dynamics solver implementing bead-spring models;
  • a set of tutorials is included to illustrate the application of the solvers to different problems;
  • the theory and the tutorials are described in a user-guide;
  • a solver for two-phase flows is available (rheoInterFoam), where any GNF or viscoelastic model can be used for each phase (under-development);
  • the tool is available for both OpenFOAM® and foam-extend versions.

Installation

RheoTool can be either cloned using git via: git clone https://github.com/fppimenta/rheoTool or simply downloaded from the GitHub page at https://github.com/fppimenta/rheoTool.

The repository includes versions of RheoTool for: OpenFOAM® v6.0 and foam-extend v4.0.

To install RheoTool, please follow the instructions in Chapter 2 of the user-guide.

Docs

See the user-guide.

ChangeLog

Follow the version updates of rheoTool in the ChangeLog. They can also be found in the user-guide.

Third-Party

RheoTool is using the following third-party packages:

Screenshots

Here are some images from the tutorials included in RheoTool.

This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com, and owner of the OPENFOAM® and OpenCFD® trade marks

OPENFOAM® is a registered trade mark of OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com

About

Toolbox to simulate GNF and viscoelastic fluid flows in OpenFOAM®

License:GNU General Public License v3.0


Languages

Language:C++ 72.1%Language:C 25.7%Language:Shell 1.9%Language:Objective-C 0.2%