Skip to content

Toolbox to simulate GNF and viscoelastic fluid flows in OpenFOAM®

License

Notifications You must be signed in to change notification settings

ascalva/rheoTool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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 library containing the viscoelastic 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 is fully-parallelized;
  • 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);
  • 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.

Added Features (NOTE: changes only made to of40)

  • the transient flow solver rheoDyMFoam (essentially rheoFoam with added dynamic mesh capability).
  • added following models:
    • PomPom
    • SPP
    • Giesekus-A
    • Giesekus-AD (Giesekus-A with diffusion)
    • FENE-CRA
    • FENE-PA
    • Oldroyd-BA

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� v2.2.2, OpenFOAM� v4.1/v4.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.

Third-Party

RheoTool is using the following third-party packages:

Screenshots

Here are some images from the tutorials included in RheoTool.

About

Toolbox to simulate GNF and viscoelastic fluid flows in OpenFOAM®

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 78.4%
  • C 19.8%
  • Shell 1.7%
  • Objective-C 0.1%