|
[Sponsors] |
error in implementing polynomial properties in thermoPhysicalProperties |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 6, 2014, 06:03 |
error in implementing polynomial properties in thermoPhysicalProperties
|
#1 |
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 11 |
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>>>>> ) 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] |
|
November 8, 2014, 04:52 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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:
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 |
|
November 10, 2014, 22:38 |
|
#3 |
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 11 |
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 |
|
April 6, 2015, 14:25 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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:
Bruno
__________________
|
|
|
|
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 |