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

Unknown psiThermo type when using rhoCentralFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2022, 11:23
Default Unknown psiThermo type when using rhoCentralFoam
  #1
Member
 
Pablo Alarcón
Join Date: Mar 2018
Location: Liège
Posts: 59
Rep Power: 9
palarcon is on a distinguished road
Hi all!

I have been asigned the task of performing a basic simulation with the idea of simulating a piston.
To do so, the only information that I received was the dimension of the design domain and the description of the Peng Robinson Model, as can be seen in the following code snippet

Code:
mixture	// air at room temperature (293 K)
{
    specie
    {
		nMoles		1;		// reference value for this case
        molWeight   52.042;
    }
	equationOfState
	{
		Tc  		351.26;
		Vc  		0.00235849056603773584905660377358;
		Pc  		5.782e6;
		omega		0.2769;
	}
    thermodynamics
    {
        CpCoeffs<8> ( 979.08 0 0 0 0 0 0 0 );
        Hf          0;
        Sf          0;
    }
    transport
    {
        muCoeffs<8>		( -1.975603342276E-06 5.405129380395E-08 -1.668826016976E-11 0 0 0 0 0 );
        kappaCoeffs<8>	( -8.796126980000E-03 1.098461600000E-04 -2.345618740000E-07 3.75538549E-10 0 0 0 0 );

    }
}
After a short research I came to the conclusion that I can either use the solvers rhoCentralFoam or rhoPimpleFoam (by the way, I'm using OpenFOAM 8) and I decided to start with rhoCentralFoam as a base, considering that the problem was a good start for what I wanted to simulate.

Problem is when I configure the thermoType dictionary I receive the error Unknown psiThermo type. Does anybody has an idea how to solve it?

The thermoType dictionary is as follows:

Code:
thermoType
{
    type            hePsiThermo;
    mixture         pureMixture;
    transport       polynomial;
    thermo          hPolynomial;
    equationOfState PengRobinsonGas;
    specie          specie;
    energy          sensibleEnthalpy;	// sensibleEnthalpy - sensibleInternalEnergy 
}
Thank you all in advance
palarcon is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convergence problem of steady 2D film cooling calculation using chtMultiRegionFoam ruanyg968tf OpenFOAM Running, Solving & CFD 1 April 10, 2024 03:23
natural convection in square cavity having inlet and outlet sujeet OpenFOAM Running, Solving & CFD 1 November 2, 2019 03:17
Compression instead of expansion EnricoDeFilippi OpenFOAM Running, Solving & CFD 1 October 8, 2018 11:19
Time step continuity error lpz_michele OpenFOAM Running, Solving & CFD 0 October 12, 2015 07:05
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32


All times are GMT -4. The time now is 19:37.