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

How can I calculate Enthalpy with rhoPorousSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2016, 11:48
Default How can I calculate Enthalpy with rhoPorousSimpleFoam
  #1
Member
 
Join Date: Apr 2016
Posts: 90
Rep Power: 10
CellZone is on a distinguished road
Hi,

I am wondering how I can calculate the enthalpy with the solver rhoPorousSimpleFoam ?

In the fvSolution file I can see:

Code:
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p
{
solver GAMG;
tolerance 1e-08;
relTol 0.01;
smoother GaussSeidel;
cacheAgglomeration on;
nCellsInCoarsestLevel 20;
agglomerator faceAreaPair;
mergeLevels 1;
}
e
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-06;
relTol 0.01;
}
"(U|k|epsilon)"
{
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-07;
relTol 0.01;
}
}
SIMPLE
{
nUCorrectors 2;
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.5;
rhoMax rhoMAx [ 1 -3 0 0 0 ] 2.0;
residualControl
{
p 1e-3;
U 1e-4;
e 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
relaxationFactors
{
fields
{
p 0.3;
rho 0.1;
}
equations
{
U 0.7;
"(k|epsilon)" 0.9;
e 0.9;
}
}
But there it is only mentioned "e" which is the inner energy.

my thermophysicalProperties are:

Code:
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heRhoThermo;
mixture pureMixture;
transport sutherland;
thermo hConst;
equationOfState perfectGas;
specie specie;
energy sensibleInternalEnergy;
}
mixture
{
specie
{
nMoles 1;
molWeight 28.9;
}
thermodynamics
{
Cp 1005;
Hf 0;
}
transport
{
As 1.4792e-06;
Ts 116;
}
}
There it is mentioned "sensibleInternalEnergy" , is it enough to change it to : sensibleEnthalpy ?

I already read many threads but could not find the proper solution.

Thank you for your help guys!
CellZone 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
How does ANSYS Fluent calculate its enthalpy? RebeccaKn92 FLUENT 1 June 4, 2018 05:20
Can I calculate enthalpy after running of OpenFOAM? chengdi OpenFOAM Post-Processing 1 February 9, 2015 11:02
static enthalpy calculation in CFD Post newbie384 CFX 2 March 22, 2014 07:28
Enthalpy in a binary gas mixture ChrisA FLUENT 0 August 26, 2013 19:32
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45


All times are GMT -4. The time now is 01:44.