CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [Other] Tabulated thermophysicalProperties library (https://www.cfd-online.com/Forums/openfoam-community-contributions/141821-tabulated-thermophysicalproperties-library.html)

Yuusha April 23, 2020 10:53

New release of tabulated properties
 
Hi,


A new version (v7.2.0) is available on GitHub : https://github.com/Yuusha0/tabulated...icalProperties.

It fixes a bug with tables for multi-species simulations. It adds a 'pseudo tutorial' for multi-species with tabulated properties. The tutorial does not properly work. It crashes after some iterations. But you can use it to set-up more quickly your multi-species calculations.

Last, it adds a new perfectGas switch option for equation of state property (default is false). With this option Cp - Cv is calculated for a perfect gas. It can help you with unstable calculation when the standard model does not work.

joaran November 9, 2020 10:52

Quote:

Originally Posted by .bastian (Post 729380)
Hi Yuusha, hi folks,


i kinda don't get it compiled using your instructions given on your github page.

Code:

Allwmake /home/sebastian/OpenFOAM/FOAMExtensions/tabulatedThermophysicalProperties/src
wmakeLnInclude: linking include files to OpenFOAM/lnInclude
wmake thermophysicalModels/specie
wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries:
    wmakeLnInclude error: base directory /home/sebastian/OpenFOAM/sebastian-6/src/OpenFOAM/ does not exist
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3  -DNoRepository -ftemplate-depth-100 -I/opt/openfoam6/src/thermophysicalModels/specie/lnInclude -I/home/sebastian/OpenFOAM/sebastian-6/src/OpenFOAM/lnInclude -IlnInclude -I. -I/opt/openfoam6/src/OpenFOAM/lnInclude -I/opt/openfoam6/src/OSspecific/POSIX/lnInclude  -fPIC -c reaction/reactions/makeTabularReactions.C -o Make/linux64GccDPInt32Opt/reaction/reactions/makeTabularReactions.o
In file included from lnInclude/tabularThermoPhysicsTypes.H:42,
                from lnInclude/tabularReactionTypes.H:36,
                from reaction/reactions/makeTabularReactions.C:27:
lnInclude/tabularEOS.H:41:10: fatal error: extrapolation2DTable.H: file or folder not found
 #include "extrapolation2DTable.H"
              ^~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.
make: *** [/opt/openfoam6/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/reaction/reactions/makeTabularReactions.o] error 1

Can anyone give me a hint what I'm doing wrong?

EDIT: Got it. I've messed up the correct path in the bashrc. :o




Hi all! First of all, thanks for sharing such a valuable tool.

I'm having the same output as Bastian when hitting "./Allwmake". I followed the instructions of the "README" in github. The sourcing part look fine to me:

[usuario@localhost src]$ echo $TAB_PROPERTIES
/home/usuario/OpenFOAM/usuario-7
[usuario@localhost src]$ emacs ../etc/bashrc&

Could anyone please guide me on how to solve this issue?
I'm using OF 7, and the last available version of the tabulated library.

Thank you!

I also could just solve this issue by placing the contents of the folder "tabulatedThermophysicalProperties" in $WM_PROJECT_USER_DIR

vortexnix October 2, 2022 03:50

Quote:

Originally Posted by joaran (Post 787236)
Hi all! First of all, thanks for sharing such a valuable tool.

I'm having the same output as Bastian when hitting "./Allwmake". I followed the instructions of the "README" in github. The sourcing part look fine to me:

[usuario@localhost src]$ echo $TAB_PROPERTIES
/home/usuario/OpenFOAM/usuario-7
[usuario@localhost src]$ emacs ../etc/bashrc&

Could anyone please guide me on how to solve this issue?
I'm using OF 7, and the last available version of the tabulated library.

Thank you!

I also could just solve this issue by placing the contents of the folder "tabulatedThermophysicalProperties" in $WM_PROJECT_USER_DIR


Or if you update bashrc such that
echo $TAB_PROPERTIES
gives
/home/usuario/OpenFOAM/usuario-7/tabulatedThermophysicalProperties


All times are GMT -4. The time now is 06:12.