/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile {
  version     4.0;
  format      ascii;
  class       dictionary;
  location    "constant/porousMat";
  object      constantProperties;
}

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

/****************************** GENERAL ************************************/
//debug yes;
/****************************** END GENERAL ********************************/

/****************************** IO *****************************************/
IO {
  writeFields ();  // write fields in the time folders
  probingFunctions   // name of sampling/probing dictionaries in "system/porousMat"
  (
      plotDict
  );
}
/****************************** END IO *************************************/

/****************************** MASS *************************************/
Mass {
  createFields ((p volScalarField)); // pressure [Pa]
}
/****************************** END MASS *********************************/

/****************************** ENERGY *************************************/
Energy {
  EnergyType BoundaryTable; // Update the cell center value using the boundary value
  createFields ((rho_s volScalarField)); // solid density [kg/m3]
}
/****************************** END ENERGY *********************************/

/****************************** GAS PROPERTIES *****************************/
GasProperties {
  GasPropertiesType  Tabulated; // Update the tabulated gas properties
  GasPropertiesFile "$PATO_DIR/data/Materials/Composites/TACOT/gasProperties"; // tabulated gas properties file
}
/****************************** END GAS PROPERTIES *************************/

/****************************** MATERIAL PROPERTIES ************************/
MaterialProperties {
  MaterialPropertiesType Porous; // porous material properties
  MaterialPropertiesDirectory "$PATO_DIR/data/Materials/Composites/TACOT"; // material properties directory
  virginOrChar char; // Char material properties
}
/****************************** END MATERIAL PROPERTIES ********************/

/****************************** PYROLYSIS *************************************/
Pyrolysis {
  PyrolysisType char;
}
/****************************** END PYROLYSIS *********************************/
