CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

error in implementing polynomial properties in thermoPhysicalProperties

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2014, 06:03
Default error in implementing polynomial properties in thermoPhysicalProperties
  #1
Member
 
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 11
baran_foam is on a distinguished road
Greeting all,
I want to implement follwing thermoPhysicalProperties in chtMultiregionSimpleFoam...
for rho -- incompressible & ideal gas
Cp -- piecewise polynomial
k, mu -- piecewise linear
According to this I have made the following changes...in thermoPhysicalProperties file...But after that is is showing following error...

Code:
[0] 
[0] 
[0] --> FOAM FATAL ERROR: 
[0] Unknown basicRhoThermo type heRhoThermo<pureMixture<polynomialTransport<specieThermo<hPolynomialThermo<incompressiblePerfectGas>>>>>

Valid basicRhoThermo types are:

15
(
hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<incompressible>>>>>
hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<isobaricPerfectGas>>>>>
hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>
hRhoThermo<pureMixture<icoPoly3ThermoPhysics>>
hRhoThermo<pureMixture<icoPoly8ThermoPhysics>>
hRhoThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<isobaricPerfectGas>>>>>
hRhoThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>>
hRhoThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<isobaricPerfectGas>>>>>
hRhoThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>>
hsRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<isobaricPerfectGas>>>>>
hsRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>
hsRhoThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<isobaricPerfectGas>>>>>
hsRhoThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>>
hsRhoThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<isobaricPerfectGas>>>>>
hsRhoThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>>
)
What changes should I do to run it properly with the above condition....?
Kindly give some suggestion ......Thanx in advance !!!

Regards,
baran

Last edited by wyldckat; November 8, 2014 at 04:47. Reason: Changed [QUOTE][/QUOTE] to [CODE][/CODE]
baran_foam is offline   Reply With Quote

Old   November 8, 2014, 04:52
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Baran,

I received the PM you sent me. I'm in a bit of a hurry, somewhat just passing by here on the forum .
From what I can see, you didn't provide enough details to give you the solution you're looking for.

The best I can do is point out that there are only 2 major models available to that solver, according to the output you're giving, namely:
  • hRhoThermo
  • hsRhoThermo
But the one you have is "heRhoThermo".
Therefore, without more information, what I can also say is that you must - at all times - be very careful with every single detail, when dealing with OpenFOAM.

Good luck! Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   November 10, 2014, 22:38
Default
  #3
Member
 
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 11
baran_foam is on a distinguished road
Greeting all,
I want to implement thermophysicalProperties for chtMultiRegionSimpleFoam in openFOAM 2.1....for this kind of properties... for fluid region...
rho-- incompressible and ideal gas
Cp-- piecewise polynomial
K---piecewise linear (value for some specific temperatures)
mu-- piecewise linear (value for some specific temperatures)

I go through the hRhoThermo & hsRhoThermo...not understand exactly...
I tried to set but unable to do it properly......Can anyone kindly suggest how to set this in OpenFOAM 2.1...??

Regards,
baran
baran_foam is offline   Reply With Quote

Old   April 6, 2015, 14:25
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Baran,

Sorry for the late reply, but only today did I finally manage to come back to your question.

From what I could figure out, you're trying to use a feature that was only made available in OpenFOAM 2.2.0. Because as the list you've gotten in the first post indicates, those options are not available in OpenFOAM 2.1.

Either you upgrade to OpenFOAM 2.2 (or 2.3), or you will have to back port the source code you need from OpenFOAM 2.2 to 2.1.

If you're curious where you could start, the source code files you need to look into are these two:
Best regards,
Bruno
baran_foam likes this.
__________________
wyldckat is offline   Reply With Quote

Reply


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
Natural convection- properties calculation by polynomial eqn ajayiitkgp FLUENT 1 June 3, 2014 17:45
Polynomial thermophysical properties exeeds number of iterations Kenna OpenFOAM Running, Solving & CFD 1 November 22, 2013 09:40
Polynomial thermophysical properties and laminar porous Zone vemps OpenFOAM 0 June 30, 2011 10:13
Polynomial thermophysical properties and laminar porous Zone vemps OpenFOAM 0 June 28, 2011 10:22
polynomial thermophysical properties jason.ryon OpenFOAM 2 May 11, 2011 06:16


All times are GMT -4. The time now is 08:49.