|
[Sponsors] |
April 19, 2021, 11:33 |
hTabulated for solid in chtMultiRegionFoam?
|
#1 |
Member
Claudia
Join Date: Mar 2021
Posts: 43
Rep Power: 5 |
Hello!
I am using OF version 8. I read that it is possible to include the cp values via hTabulated in the thermodynamicProperties. So i tried to use it on my solid component but it didn't work. Is it not possible to do this? And is there a Tutorial from version8 that uses hTabulated? I only found tutorials from older versions Thanks in advance |
|
April 20, 2021, 15:34 |
|
#2 | |
Member
cal
Join Date: Feb 2020
Location: nowhere
Posts: 64
Rep Power: 6 |
Hi Claudia,
If you share the error, you can find help easier. Firstly, you should check source code in version-8 because there is a description and usage example there (src/thermophysicalModels/specie/thermo/hTabulated/hTabulatedThermo.H). Also, in v2012 there is a tutorial for tabulated thermophysical types there that you can modify for your own case (multiphase/icoReactingMultiPhaseInterFoam/inertMultiphaseMultiComponent). Quote:
Kind Regards, Said. |
||
April 21, 2021, 05:01 |
|
#3 |
Member
Claudia
Join Date: Mar 2021
Posts: 43
Rep Power: 5 |
Thank you for your reply Said
The error is: Code:
*** Reading solid mesh thermophysical properties for region plate Adding to thermos Selecting thermodynamics package { type heRhoThermo; mixture pureMixture; transport tabulated; thermo hTabulated; equationOfState icoTabulated; specie specie; energy sensibleEnthalpy; } --> FOAM FATAL ERROR: Unknown solidThermo type thermoType { type heRhoThermo; mixture pureMixture; transport tabulated; thermo hTabulated; equationOfState icoTabulated; specie specie; energy sensibleEnthalpy; } Valid solidThermo types are: heSolidThermo pureMixture constAnIso eConst rhoConst specie sensibleInternalEnergy heSolidThermo pureMixture constAnIso ePolynomial rhoConst specie sensibleInternalEnergy heSolidThermo pureMixture constAnIso ePower rhoConst specie sensibleInternalEnergy heSolidThermo pureMixture constIso eConst rhoConst specie sensibleInternalEnergy heSolidThermo pureMixture constIso ePolynomial rhoConst specie sensibleInternalEnergy heSolidThermo pureMixture constIso ePower rhoConst specie sensibleInternalEnergy heSolidThermo pureMixture exponential eConst rhoConst specie sensibleInternalEnergy heSolidThermo pureMixture exponential ePolynomial rhoConst specie sensibleInternalEnergy heSolidThermo pureMixture exponential ePower rhoConst specie sensibleInternalEnergy heSolidThermo pureMixture polynomial eConst rhoConst specie sensibleInternalEnergy heSolidThermo pureMixture polynomial ePolynomial rhoConst specie sensibleInternalEnergy heSolidThermo pureMixture polynomial ePower rhoConst specie sensibleInternalEnergy From function static typename Table::iterator Foam::basicThermo::lookupThermo(const Foam::dictionary&, Table*, int, const char**, const Foam::word&) [with Thermo = Foam::solidThermo; Table = Foam::HashTable<Foam::autoPtr<Foam::solidThermo> (*)(const Foam::fvMesh&, const Foam::word&), Foam::word, Foam::string::hash>; typename Table::iterator = Foam::HashTable<Foam::autoPtr<Foam::solidThermo> (*)(const Foam::fvMesh&, const Foam::word&), Foam::word, Foam::string::hash>::iterator] in file /home/ubuntu/OpenFOAM/OpenFOAM-8/src/thermophysicalModels/basic/lnInclude/basicThermoTemplates.C at line 46. FOAM exiting I tried using hTabulated with rhoSimpleFoam and it worked, but it doesn't for chtMultiRegion (neither for solid or gas). I am pretty new to OF and C++, but when I checked the source code, it seems that hTabulated it just not included in chtMultiRegionFoam. I am wondering, whether it is possible to add it there? Also, another weird thing I noticed is that in the solidThermo/Make directory the files file is not .txt (see the attached picture). Is there something wrong? |
|
November 23, 2021, 11:18 |
|
#4 |
New Member
Germilly Barreto
Join Date: Jul 2016
Location: Portugal
Posts: 25
Rep Power: 10 |
Hello Claudia,
Have you solved it? I think I am facing the same issue. I am trying to use hTabulated for solid in chtMultiRegionFoam, but it seems not compatible with this solver/solid. Germilly |
|
March 14, 2022, 02:42 |
|
#5 | |
Member
Join Date: Nov 2020
Posts: 53
Rep Power: 5 |
Quote:
Hey, heRhoThermo, hTabulated, icoTabulated... are only valid for fluid thermo. You can't use it for solids .. try.. thermoType { type heSolidThermo; mixture pureMixture; transport constIso; thermo eConst; equationOfState rhoConst; specie specie; energy sensibleInternalEnergy; } |
||
Tags |
chtmultiregionfoam, htabulated, openfoam, solid, thermodynamicproperties. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error in thermophysical properties (chtMultiRegionFoam) | mukut | OpenFOAM Pre-Processing | 28 | November 23, 2021 06:34 |
Error in chtMultiRegionFoam | michael157 | OpenFOAM Running, Solving & CFD | 17 | May 22, 2017 03:32 |
What does this error when use solver chtMultiRegionFoam mean | sajad6 | OpenFOAM Running, Solving & CFD | 7 | October 6, 2014 07:38 |
chtmultiregionFoam error | oilsok | OpenFOAM Running, Solving & CFD | 1 | June 12, 2014 11:19 |
Custom boundary condition: unexpected behavior with chtMultiRegionFoam | leroyv | OpenFOAM Programming & Development | 3 | February 1, 2014 07:49 |