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

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

/****************************** GENERAL ************************************/
//debug yes;
movingMesh      no;
/****************************** end GENERAL ********************************/

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


/****************************** MASS, ENERGY, PYROLYSIS *******************/
Pyrolysis {
  PyrolysisType virgin;
}

MaterialProperties {
  MaterialPropertiesType Porous; // porous material properties
  MaterialPropertiesDirectory "$PATO_DIR/data/Materials/Granular/Quartzite_bed";

}

Mass {
  MassType DarcyLaw2T; // Solve the semi implicit pressure equation
}

Energy {
  EnergyType Pyrolysis2T;  // Solve the temperature equation
}

SolidMechanics {
  SolidMechanicsType  no;
}
/****************************** END MASS, ENERGY, PYROLYSIS ****************/


/****************************** GAS PROPERTIES  ************************************/
GasProperties {
  GasPropertiesType Tabulated2T; // tabulated gas properties
  GasPropertiesFile "$PATO_DIR/data/Materials/Granular/Quartzite_bed/gasProperties_with_k";
}
/****************************** END GAS PROPERTIES **************************/

/****************************** TIME CONTROL  **********************************/
TimeControl {
  TimeControlType GradP; // change the integration time step in function of the gradient of the pressure
  chemTransEulerStepLimiter no;
}
/****************************** END TIME CONTROL  ******************************/
