CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[Other] Tabulated thermophysicalProperties library

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree36Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 23, 2020, 11:53
Default New release of tabulated properties
  #61
New Member
 
Join Date: Feb 2018
Location: France
Posts: 15
Rep Power: 8
Yuusha is on a distinguished road
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.
Skaiwalker and luks1910 like this.
Yuusha is offline   Reply With Quote

Old   November 9, 2020, 11:52
Default
  #62
New Member
 
Joaquín Aranciaga
Join Date: Oct 2018
Posts: 21
Rep Power: 7
joaran is on a distinguished road
Quote:
Originally Posted by .bastian View Post
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.



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

Last edited by joaran; November 9, 2020 at 14:45. Reason: Solved
joaran is offline   Reply With Quote

Old   October 2, 2022, 04:50
Default
  #63
New Member
 
Nishan Jain
Join Date: Aug 2010
Posts: 3
Rep Power: 15
vortexnix is on a distinguished road
Quote:
Originally Posted by joaran View Post
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
vortexnix is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Multi species mass transport library [update] novyno OpenFOAM Community Contributions 111 November 10, 2021 00:37
ERROR: unable to find library HJH CFX 6 February 26, 2019 07:52
Forcing a solver to use your custom library. cdunn6754 OpenFOAM Programming & Development 0 March 30, 2017 17:05
Compiled library vs. inInclude Files, DSMC solver crashes after run GPesch OpenFOAM Programming & Development 8 April 18, 2013 08:17
OpenFOAM141dev linking error on IBM AIX 52 matthias OpenFOAM Installation 24 April 28, 2008 16:49


All times are GMT -4. The time now is 11:46.