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

Thermal properties

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By Bloerb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2017, 01:26
Default Thermal properties
  #1
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
Dear Foamers,

I have to simulation the conditions of chemical reactions at a boundary layer (electrochemical deposits). One aspect of this is the mass transport to the boundary. Because this is not ready available in OpenFoam I used the temperature instead of the concentration. The equations are equal.

Doing this I have to give the thermal properties. I don't know the real values for my galvanic bath, so I started with the values of water. For reference I give my thermophysicalProperties file at the end of the post.
Unfortunately, this is only weak documented in the OF literature. I found out everything except "Hf", which I set to zero (as in examples I found). I switched it to 1000, but nothing happens (at least in my incompressible case with noc changes of the density).

Does anybody know what is this value for? Thank you in advance.
Code:
thermoType
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleEnthalpy;
}

mixture
{
    specie
    {
        nMoles          1; // not used, only necessary for gases
        molWeight       18; // ditto
    }
    equationOfState // rho(T)
    {
	// density
        rho             1000;
    }
    thermodynamics
    {
	// heat capacity
        Cp              4181;
	// ???
        Hf              0;
    }
    transport
    {	
	// dynamic  viscosity
        mu              959e-6;
	// Prandtl number: 13,44 (0 °C); 11,16 (5 °C); 6,99 (20 °C); 4,34 (40 °C); 3,00 (60 °C); 2,20 (80 °C); 1,75 (100 °C)
        Pr              6.62;
    }
}
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   December 8, 2017, 03:09
Default
  #2
New Member
 
Join Date: Apr 2014
Posts: 24
Rep Power: 12
TobiF is on a distinguished road
Hey,
as you can see in the link below (chapter 7.1.3) Hf is the heat of fusion

https://cfd.direct/openfoam/user-guide/thermophysical/
TobiF is offline   Reply With Quote

Old   December 8, 2017, 04:49
Default
  #3
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
Thank you! Now it is clear that I don't need it.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   December 8, 2017, 04:52
Default
  #4
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
Hf is the heat of fusion. It is however not used if sensibleEnthalpy or sensibleInternalEnergy is specified. This quantity only applies to totalEnthalpy etc. For example evaporation or combustion, melting and solidification need a heat of fusion. The same applies to nMoles and moleWeight. Those are only used if something beside a pureMixture is looked at. Like a mixture of two different gases. Nevertheless a value must be present. Which value is choosen does not affect your simulation results since it is not used to calculate any quantity.
Bloerb 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
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 22:43
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
error message cuteapathy CFX 14 March 20, 2012 07:45
IAPWS water properties + orthotropic thermal conductivity Chander CFX 1 February 29, 2012 18:26
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56


All times are GMT -4. The time now is 22:52.