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

problem about adding another equation of state

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2012, 22:02
Default problem about adding another equation of state
  #1
Member
 
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 59
Rep Power: 14
yhaomin2007 is on a distinguished road
Hi, all foamers:

I want to imply another equation of state, so I copied the prefect gas file, and renamed it.

The compilation of the specie.so is successful, then I recompiled the solver. But when I run the solver it says:


Quote:
Unknown basicPsiThermo type hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<RedlichKwong>>>>>

Valid basicPsiThermo types are:

11
(
ePsiThermo<pureMixture<constTransport<specieThermo <eConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<eConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<janafThermo<perfectGas>>>>>
hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>
hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>>
hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<janafThermo<perfectGas>>>>>
hsPsiThermo<pureMixture<constTransport<specieTherm o<hConstThermo<perfectGas>>>>>
hsPsiThermo<pureMixture<sutherlandTransport<specie Thermo<hConstThermo<perfectGas>>>>>
hsPsiThermo<pureMixture<sutherlandTransport<specie Thermo<janafThermo<perfectGas>>>>>
)



From function basicPsiThermo::New(const fvMesh&)
in file psiThermo/basicPsiThermo/basicPsiThermoNew.C at line 60.
it seems that I have to put the new equation of state to somewhere.

Could somebody help me with this??

thank you in advance.
yhaomin2007 is offline   Reply With Quote

Old   May 15, 2012, 05:17
Default
  #2
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18
olivierG is on a distinguished road
hello,

You should take a look at this thread:
http://www.cfd-online.com/Forums/ope...roperties.html

regards,
olivier
olivierG is offline   Reply With Quote

Old   May 15, 2012, 12:37
Default
  #3
Member
 
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 59
Rep Power: 14
yhaomin2007 is on a distinguished road
thank you very much~
yhaomin2007 is offline   Reply With Quote

Old   May 15, 2012, 14:47
Default
  #4
Member
 
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 59
Rep Power: 14
yhaomin2007 is on a distinguished road
hi, olivier:

I have seen the threads that you quoted. but I did not find the clear solution in it.

Do you have any ideas?

thank you
yhaomin2007 is offline   Reply With Quote

Old   May 16, 2012, 05:36
Default
  #5
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18
olivierG is on a distinguished road
hello,

In this post http://www.cfd-online.com/Forums/ope...tml#post263539 you will find a step by step method.

Due to the multi layer structure in the thermoType, you need do modify more than one file. I don't know an easy "Howto" for that.

regards,
olivier

olivierG 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
I have a problem about possion pressure equation rainbow66 Main CFD Forum 4 November 26, 2011 11:25
time step and iterations in steady state problem using transient solver jing113cn FLUENT 2 January 15, 2010 04:18
Redlich kwong equation of state for drysteam Pankaj CFX 3 May 8, 2007 17:20
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02
Equation of state Edward Main CFD Forum 0 September 18, 2005 18:17


All times are GMT -4. The time now is 18:09.