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

problem about adding another equation of state

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 14, 2012, 21:02
Default problem about adding another equation of state
  #1
Member
 
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 53
Rep Power: 5
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, 04:17
Default
  #2
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 235
Rep Power: 9
olivierG is on a distinguished road
hello,

You should take a look at this thread:
IAPWSIF97 water properties

regards,
olivier
olivierG is offline   Reply With Quote

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

Old   May 15, 2012, 13:47
Default
  #4
Member
 
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 53
Rep Power: 5
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, 04:36
Default
  #5
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 235
Rep Power: 9
olivierG is on a distinguished road
hello,

In this post polynomial thermophysical properties II 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

Thread Tools
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 On
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 16:20
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02
Equation of state Edward Main CFD Forum 0 September 18, 2005 17:17


All times are GMT -4. The time now is 06:43.