/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant/heater";
    object      thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
    type            heSolidThermo;  // Keep the type as heSolidThermo for solid material
    mixture         pureMixture;
    transport       constIso;       // Constant thermal conductivity (isotropic)
    thermo          eConst;         // Energy model (constant)
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleInternalEnergy;  // Using sensibleInternalEnergy for internal energy
}

mixture
{
    // Heater material properties (example)

    specie
    {
        molWeight       50;    // Adjust based on material (for example, 50 for a typical material)
    }
    
    equationOfState
    {
        rho             8000;  // Density of the heater material (e.g., 8000 kg/m³ for iron)
    }
    
    transport
    {
        kappa           80;    // Thermal conductivity (W/mK)
    }
    
    thermodynamics
    {
        Hf              0;     // Enthalpy of formation (can be set to 0 if not needed)
        Cp              450;   // Specific heat capacity at constant pressure (J/kgK)
        Cv              300;   // Specific heat at constant volume (J/kgK) - Add this line
    }
}

// ************************************************************************* //
