All Projects → Yuusha0 → tabulatedThermophysicalProperties

Yuusha0 / tabulatedThermophysicalProperties

Licence: GPL-3.0 license
No description or website provided.

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to tabulatedThermophysicalProperties

rheoTool
Toolbox to simulate GNF and viscoelastic fluid flows in OpenFOAM®
Stars: ✭ 104 (+300%)
Mutual labels:  cfd, openfoam
fluidfoam
OpenFoam postprocessing python tool
Stars: ✭ 94 (+261.54%)
Mutual labels:  cfd, openfoam
classy blocks
Python classes for easier creation of OpenFOAM's blockMesh dictionaries.
Stars: ✭ 53 (+103.85%)
Mutual labels:  cfd, openfoam
DLBFoam-1.0
DLBFoam: An open-source dynamic load balancing model for fast reacting flow simulations in OpenFOAM. https://doi.org/10.1016/j.cpc.2021.108073
Stars: ✭ 29 (+11.54%)
Mutual labels:  cfd, openfoam
featool-multiphysics
FEATool - "Physics Simulation Made Easy" (Fully Integrated FEA, FEniCS, OpenFOAM, SU2 Solver GUI & Multi-Physics Simulation Platform)
Stars: ✭ 190 (+630.77%)
Mutual labels:  cfd, openfoam
TrainingTracks
Materials for training tracks for continua media - OpenFOAM, vortex method, and other
Stars: ✭ 59 (+126.92%)
Mutual labels:  cfd, openfoam
hybridCentralSolvers
United collection of hybrid Central solvers - one-phase, two-phase and multicomponent versions
Stars: ✭ 42 (+61.54%)
Mutual labels:  cfd, openfoam
dafoam
DAFoam: Discrete Adjoint with OpenFOAM for High-fidelity Gradient-based Design Optimization
Stars: ✭ 86 (+230.77%)
Mutual labels:  cfd, openfoam
2D-Elliptic-Mesh-Generator
2D orthogonal elliptic mesh generator which solves the Winslow partial differential equations
Stars: ✭ 36 (+38.46%)
Mutual labels:  cfd
alsvinn
The fast Finite Volume simulator with UQ support.
Stars: ✭ 22 (-15.38%)
Mutual labels:  cfd
Omega2D
Two-dimensional flow solver with GUI using vortex particle and boundary element methods
Stars: ✭ 17 (-34.62%)
Mutual labels:  cfd
CFD
Basic Computational Fluid Dynamics (CFD) schemes implemented in FORTRAN using Finite-Volume and Finite-Difference Methods. Sample simulations and figures are provided.
Stars: ✭ 89 (+242.31%)
Mutual labels:  cfd
jax-cfd
Computational Fluid Dynamics in JAX
Stars: ✭ 399 (+1434.62%)
Mutual labels:  cfd
WABBIT
Wavelet Adaptive Block-Based solver for Interactions with Turbulence
Stars: ✭ 25 (-3.85%)
Mutual labels:  cfd
NGA2
Object-oriented multi-mesh version of the classic reacting turbulent multiphase flow solver
Stars: ✭ 25 (-3.85%)
Mutual labels:  cfd
fosolvers
FOSolverS: a Suite of Free & Open Source Solvers. A brief overview:
Stars: ✭ 24 (-7.69%)
Mutual labels:  cfd
Tensors.jl
Efficient computations with symmetric and non-symmetric tensors with support for automatic differentiation.
Stars: ✭ 142 (+446.15%)
Mutual labels:  cfd
MacroUtils
MacroUtils is a collection of high-level APIs in order to make your life easier when writing STAR-CCM+ JAVA macros.
Stars: ✭ 32 (+23.08%)
Mutual labels:  cfd
ccfd
A 2D finite volume CFD code, written in C
Stars: ✭ 26 (+0%)
Mutual labels:  cfd
Fluid2d
A versatile Python-Fortran CFD code that solves a large class of 2D flows
Stars: ✭ 49 (+88.46%)
Mutual labels:  cfd

tabulatedThermophysicalProperties

Tabulated thermophysical properties for OpenFOAM 7

REQUIREMENTS

OpenFOAM 7

Python 3

INSTALLATION

  • Set the location of the directory in /etc/bashrc file (default $WM_PROJECT_USER_DIR).
  • Source this etc/bashrc file in your user bashrc.
  • Compile all sources with ./Allwmake in the src/ directory.

USAGE

python script

  • Pyhton script can import CSV like tables.
  • It can transpose OpenFOAM style 2D tables.
  • Use python3 --help to view syntax and options.

Tabulated thermophysical model

  • Compile your solver with:

    • libTabularThermophysicalModels
    • libuserspecie
    • libtabularReactionThermophysicalModels (for multi-species simulation, must be loaded before "libTabularThermophysicalModels" with dynamic linking)
  • Or use dynamic linking by adding these libraries to your controlDict

  • In your constant/thermophysicalProperties file:

    • Change transport, thermo, and equationOfState to the desired values.
    • Use hePsiThermo, heRhoThermo or heTabularThermo for type value.
    • Create subdictionaries for each property using tabulated data.
      • Add fileName value.
      • Add outOfBounds value:
        • ERROR which exits with a Fatal Error
        • CLAMP clamp the values (default)
        • WARN which issues warning and extrapolates value
        • EXTRAPOLATE which extrapolates value
      • Be careful when using WARN and log file, log may be very huge.
      • Add searchMethod value:
        • simple which looking all over the table
        • uniform which is usefull for reguar tables only
        • bisect which uses a bijection algorithm to find the right value
      • For equation of state only:
        • perfectGas yes : Use cp - cv = R. It may helps to stabilize calculations.
        • perfectGas no (default) : Calculation using thermodynamic relations. Only for perfect gas too. Not suitable for real gas.
      • Be careful, uniform does not work on non-uniform table. It is at least 2.5 times faster thant simple for a 238x1 table.
      • Bisection is 1.95 times faster than simple for a 238x1 table.
  • If your thermophysical model is not defined:

    • Add it in tabularThermos.C (for compressibility-based solvers) or rhoTabularThermos.C (for density-based solvers)
    • Add it in tabularReactionThermos.C and makeTabularChemistryReaders.C (for multi-species)

COMPATIBILITY

  • OpenFOAM 5.x and OpenFOAM 6 users may have compatibility issues.
  • For OpenFOAM 5.x use v2.0.3.
  • For OpenFOAM 6 use v4.x or old_OF6 branch on GitHub
  • v2.x is no longer supported.
  • Only critical bug fixes are backported to v4.x . So change your OpenFOAM version to 7 if you can.

MISCELLANEOUS

  • Multi-species works but it is very slow for large tables due to OpenFOAM code design.
  • Only 1 non reactive model of multi-species is currently implemented.

LICENSE AND COPYRIGHT

See license file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].