From a2a8dd1c7b6154539bb7e058bed1b99c932ad0c0 Mon Sep 17 00:00:00 2001
From: renchao_lu <renchao.lu@gmail.com>
Date: Wed, 21 Apr 2021 17:29:14 +0200
Subject: [PATCH] [Docu] document tag description.

---
 .../t_chemically_induced_porosity_change.md                  | 1 +
 .../ComponentTransport/ComponentTransportProcessData.h       | 5 +++++
 2 files changed, 6 insertions(+)
 create mode 100644 Documentation/ProjectFile/prj/processes/process/ComponentTransport/t_chemically_induced_porosity_change.md

diff --git a/Documentation/ProjectFile/prj/processes/process/ComponentTransport/t_chemically_induced_porosity_change.md b/Documentation/ProjectFile/prj/processes/process/ComponentTransport/t_chemically_induced_porosity_change.md
new file mode 100644
index 00000000000..aa433fcf802
--- /dev/null
+++ b/Documentation/ProjectFile/prj/processes/process/ComponentTransport/t_chemically_induced_porosity_change.md
@@ -0,0 +1 @@
+\copydoc ProcessLib::ComponentTransport::ComponentTransportProcessData::chemically_induced_porosity_change
diff --git a/ProcessLib/ComponentTransport/ComponentTransportProcessData.h b/ProcessLib/ComponentTransport/ComponentTransportProcessData.h
index e0527fbf63f..7f914289b4a 100644
--- a/ProcessLib/ComponentTransport/ComponentTransportProcessData.h
+++ b/ProcessLib/ComponentTransport/ComponentTransportProcessData.h
@@ -38,6 +38,11 @@ struct ComponentTransportProcessData
     Eigen::VectorXd const specific_body_force;
     bool const has_gravity;
     bool const non_advective_form;
+    /// When this optional tag is on, the feedback of chemical reactions on the
+    /// porosity will be counted. The change of porosity equals to the summation
+    /// over the changes in the volume fractions of solid constituents. The
+    /// change of the volume fraction, in terms of a solid constituent, results
+    /// from chemical reactions.
     bool const chemically_induced_porosity_change;
     ChemistryLib::ChemicalSolverInterface* const chemical_solver_interface;
 
-- 
GitLab