-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27242 from GiudGiud/PR_modules_doco
Part 1 of finishing modules object & syntax documentation
- Loading branch information
Showing
27 changed files
with
369 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 15 additions & 1 deletion
16
modules/chemical_reactions/doc/content/source/actions/AddCoupledEqSpeciesAction.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
!template load file=stubs/moose_action.md.template name=AddCoupledEqSpeciesAction syntax=/ReactionNetwork/AqueousEquilibriumReactions/AddCoupledEqSpeciesAction | ||
# AddCoupledEqSpeciesActions | ||
|
||
!syntax description /ReactionNetwork/AqueousEquilibriumReactions/AddCoupledEqSpeciesAction | ||
|
||
This action only creates the [Kernels](Kernels/index.md) and [AuxKernels](AuxKernels/index.md). | ||
The primary species are created as [nonlinear variables](Variables/index.md), by the [AddPrimarySpeciesAction.md]. | ||
The reactions are parsed from the syntax described on this [page](modules/chemical_reactions/index.md#parser). | ||
Equilibrium species are output as [auxiliary variables](AuxVariables/index.md), by the [AddSecondarySpeciesAction.md]. | ||
This action is the aqueous equilibrium pendant of the solid kinetic [AddCoupledSolidKinSpeciesAction.md]. | ||
|
||
!syntax parameters /ReactionNetwork/AqueousEquilibriumReactions/AddCoupledEqSpeciesAction | ||
|
||
!syntax inputs /ReactionNetwork/AqueousEquilibriumReactions/AddCoupledEqSpeciesAction | ||
|
||
!syntax children /ReactionNetwork/AqueousEquilibriumReactions/AddCoupledEqSpeciesAction |
16 changes: 15 additions & 1 deletion
16
...hemical_reactions/doc/content/source/actions/AddCoupledSolidKinSpeciesAction.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
!template load file=stubs/moose_action.md.template name=AddCoupledSolidKinSpeciesAction syntax=/ReactionNetwork/SolidKineticReactions/AddCoupledSolidKinSpeciesAction | ||
# AddCoupledSolidKinSpeciesActions | ||
|
||
!syntax description /ReactionNetwork/SolidKineticReactions/AddCoupledSolidKinSpeciesAction | ||
|
||
This action only creates the [Kernels](Kernels/index.md) and [AuxKernels](AuxKernels/index.md). | ||
The primary species are created as [nonlinear variables](Variables/index.md), by the [AddPrimarySpeciesAction.md]. | ||
The reactions are parsed from the syntax described on this [page](modules/chemical_reactions/index.md#parser). | ||
Equilibrium species are output as [auxiliary variables](AuxVariables/index.md), by the [AddSecondarySpeciesAction.md]. | ||
This action is the solid kinetic pendant of the aqueous equilibrium [AddCoupledEqSpeciesAction.md]. | ||
|
||
!syntax parameters /ReactionNetwork/SolidKineticReactions/AddCoupledSolidKinSpeciesAction | ||
|
||
!syntax inputs /ReactionNetwork/SolidKineticReactions/AddCoupledSolidKinSpeciesAction | ||
|
||
!syntax children /ReactionNetwork/SolidKineticReactions/AddCoupledSolidKinSpeciesAction |
19 changes: 18 additions & 1 deletion
19
modules/chemical_reactions/doc/content/source/actions/AddPrimarySpeciesAction.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
!template load file=stubs/moose_action.md.template name=AddPrimarySpeciesAction syntax=/ReactionNetwork/AqueousEquilibriumReactions/AddPrimarySpeciesAction | ||
# AddPrimarySpeciesAction | ||
|
||
!syntax description /ReactionNetwork/AqueousEquilibriumReactions/AddPrimarySpeciesAction | ||
|
||
All the variables are created with the same finite element family and order, and with the same nonlinear variable | ||
scaling. | ||
|
||
!syntax parameters /ReactionNetwork/AqueousEquilibriumReactions/AddPrimarySpeciesAction | ||
|
||
## Inputs for aqueous equilibrium reactions | ||
|
||
!syntax inputs /ReactionNetwork/AqueousEquilibriumReactions/AddPrimarySpeciesAction | ||
|
||
## Inputs for solid kinetics reactions | ||
|
||
!syntax inputs /ReactionNetwork/SolidKineticReactions/AddPrimarySpeciesAction | ||
|
||
!syntax children /ReactionNetwork/AqueousEquilibriumReactions/AddPrimarySpeciesAction |
19 changes: 18 additions & 1 deletion
19
modules/chemical_reactions/doc/content/source/actions/AddSecondarySpeciesAction.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
!template load file=stubs/moose_action.md.template name=AddSecondarySpeciesAction syntax=/ReactionNetwork/AqueousEquilibriumReactions/AddSecondarySpeciesAction | ||
# AddSecondarySpeciesAction | ||
|
||
!syntax description /ReactionNetwork/AqueousEquilibriumReactions/AddSecondarySpeciesAction | ||
|
||
All the variables are created with the same finite element family and order, which are also | ||
shared by the primary variables created within the same syntax by the [AddPrimarySpeciesAction.md]. | ||
|
||
!syntax parameters /ReactionNetwork/AqueousEquilibriumReactions/AddSecondarySpeciesAction | ||
|
||
## Inputs for aqueous equilibrium reactions | ||
|
||
!syntax inputs /ReactionNetwork/AqueousEquilibriumReactions/AddSecondarySpeciesAction | ||
|
||
## Inputs for solid kinetics reactions | ||
|
||
!syntax inputs /ReactionNetwork/SolidKineticReactions/AddSecondarySpeciesAction | ||
|
||
!syntax children /ReactionNetwork/AqueousEquilibriumReactions/AddSecondarySpeciesAction |
21 changes: 20 additions & 1 deletion
21
modules/chemical_reactions/doc/content/source/kernels/DesorptionFromMatrix.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
!template load file=stubs/moose_object.md.template name=DesorptionFromMatrix syntax=/Kernels/DesorptionFromMatrix | ||
# DesorptionFromMatrix | ||
|
||
!syntax description /Kernels/DesorptionFromMatrix | ||
|
||
The weak form for this term is: | ||
|
||
!equation | ||
(\dot{m}, \psi) | ||
|
||
where $\dot{m}$ is the mass rate from the matrix to the porespace and $\psi$ the test function. | ||
The mass rates used in the kernel are retrieved directly from material properties, with the property name | ||
following the same convention as [LangmuirMaterial.md] and [MollifiedLangmuirMaterial.md], e.g. "mass_rate_from_matrix" | ||
for the mass rate, and "dmass_rate_from_matrix_dC" / "dmass_rate_from_matrix_dp" for its derivatives with regards to the | ||
nonlinear variables, concentration and pore pressure. | ||
|
||
!syntax parameters /Kernels/DesorptionFromMatrix | ||
|
||
!syntax inputs /Kernels/DesorptionFromMatrix | ||
|
||
!syntax children /Kernels/DesorptionFromMatrix |
21 changes: 20 additions & 1 deletion
21
modules/chemical_reactions/doc/content/source/kernels/DesorptionToPorespace.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
!template load file=stubs/moose_object.md.template name=DesorptionToPorespace syntax=/Kernels/DesorptionToPorespace | ||
# DesorptionToPorespace | ||
|
||
!syntax description /Kernels/DesorptionToPorespace | ||
|
||
The weak form for this term is: | ||
|
||
!equation | ||
(-\dot{m}, \psi) | ||
|
||
where $\dot{m}$ is the mass rate from the matrix to the porespace and $\psi$ the test function. | ||
The mass rates used in the kernel are retrieved directly from material properties, with the property name | ||
following the same convention as [LangmuirMaterial.md] and [MollifiedLangmuirMaterial.md], e.g. "mass_rate_from_matrix" | ||
for the mass rate, and "dmass_rate_from_matrix_dC" / "dmass_rate_from_matrix_dp" for its derivatives with regards to the | ||
nonlinear variables, concentration and pore pressure. | ||
|
||
!syntax parameters /Kernels/DesorptionToPorespace | ||
|
||
!syntax inputs /Kernels/DesorptionToPorespace | ||
|
||
!syntax children /Kernels/DesorptionToPorespace |
27 changes: 26 additions & 1 deletion
27
modules/chemical_reactions/doc/content/source/materials/LangmuirMaterial.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,26 @@ | ||
!template load file=stubs/moose_object.md.template name=LangmuirMaterial syntax=/Materials/LangmuirMaterial | ||
# LangmuirMaterial | ||
|
||
!syntax description /Materials/LangmuirMaterial | ||
|
||
This material computes the mass rates from the matrix to the porespace, as well as the derivatives | ||
of the mass rates with regards to the gas species and with regards to the pressure. | ||
|
||
If the concentration is above the equilibrium concentration, desorption occurs and the mass rate is | ||
equal to | ||
|
||
!equation | ||
\dot{m}_{m\rightarrow p} = \dfrac{C-C_{eq}}{K_d} | ||
|
||
else adsorption is happening and: | ||
|
||
!equation | ||
\dot{m}_{m\rightarrow p} = \dfrac{C-C_{eq}}{K_a} | ||
|
||
where $m_{m\rightarrow p}$ is the mass rate from the matrix to the porespace, $C$ the species concentration, $C_{eq}$ the | ||
equilibrium concentration and $K_d$ / $K_a$ are the desorption and adsorption time constants (in seconds). | ||
|
||
!syntax parameters /Materials/LangmuirMaterial | ||
|
||
!syntax inputs /Materials/LangmuirMaterial | ||
|
||
!syntax children /Materials/LangmuirMaterial |
31 changes: 30 additions & 1 deletion
31
...es/chemical_reactions/doc/content/source/materials/MollifiedLangmuirMaterial.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,30 @@ | ||
!template load file=stubs/moose_object.md.template name=MollifiedLangmuirMaterial syntax=/Materials/MollifiedLangmuirMaterial | ||
# MollifiedLangmuirMaterial | ||
|
||
!syntax description /Materials/MollifiedLangmuirMaterial | ||
|
||
This material computes the mollified mass rates from the matrix to the porespace, as well as the derivatives | ||
of the mollified mass rates with regards to the gas species and with regards to the pressure. | ||
|
||
If the concentration is above the equilibrium concentration, desorption occurs and the mass rate is | ||
equal to | ||
|
||
!equation | ||
\dot{m}_{m\rightarrow p} = A_{mol} * \dfrac{C-C_{eq}}{K_d} | ||
|
||
else adsorption is happening and: | ||
|
||
!equation | ||
\dot{m}_{m\rightarrow p} = A_{mol} * \dfrac{C-C_{eq}}{K_a} | ||
|
||
where $m_{m\rightarrow p}$ is the mass rate from the matrix to the porespace, $C$ the species concentration, $C_{eq}$ the | ||
equilibrium concentration and $K_d$ / $K_a$ are the desorption and adsorption time constants (in seconds). The mollifier term | ||
$A_{mol}$ is equal to | ||
|
||
!equation | ||
A_{mol} = tanh(\dfrac{C - C_{eq}}{ \text{mollifier} * \text{Langmuir density}}) | ||
|
||
!syntax parameters /Materials/MollifiedLangmuirMaterial | ||
|
||
!syntax inputs /Materials/MollifiedLangmuirMaterial | ||
|
||
!syntax children /Materials/MollifiedLangmuirMaterial |
16 changes: 15 additions & 1 deletion
16
...actions/doc/content/syntax/ReactionNetwork/AqueousEquilibriumReactions/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
!template load file=stubs/moose_system.md.template name=AqueousEquilibriumReactions syntax=/ReactionNetwork/AqueousEquilibriumReactions | ||
# AqueousEquilibriumReactions syntax | ||
|
||
This syntax, nesting parameters in the `[ReactionNetwork/AqueousEquilibriumReactions]` block, is used to describe aqueous equilibrium chemical reactions. | ||
The following actions use the parameters defined in this syntax: | ||
|
||
- [AddCoupledEqSpeciesAction.md] to define the kernels and auxiliary kernels for the equations describing the chemical reactions. | ||
- [AddPrimarySpeciesAction.md] to define the nonlinear variables for the primary species. | ||
- [AddSecondarySpeciesAction.md] to define the auxiliary variables for the secondary species. | ||
|
||
!syntax list /ReactionNetwork/AqueousEquilibriumReactions objects=True actions=False subsystems=False | ||
|
||
!syntax list /ReactionNetwork/AqueousEquilibriumReactions objects=False actions=False subsystems=True | ||
|
||
!syntax list /ReactionNetwork/AqueousEquilibriumReactions objects=False actions=True subsystems=False | ||
|
15 changes: 14 additions & 1 deletion
15
...cal_reactions/doc/content/syntax/ReactionNetwork/SolidKineticReactions/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
!template load file=stubs/moose_system.md.template name=SolidKineticReactions syntax=/ReactionNetwork/SolidKineticReactions | ||
# SolidKineticReactions syntax | ||
|
||
This syntax, nesting parameters in the `[ReactionNetwork/SolidKineticReactions]` block, is used to describe solid kinetic reactions. | ||
The following actions use the parameters defined in this syntax: | ||
|
||
- [AddCoupledSolidKinSpeciesAction.md] to define the kernels and auxiliary kernels for the equations describing the chemical reactions. | ||
- [AddPrimarySpeciesAction.md] to define the nonlinear variables for the primary species. | ||
- [AddSecondarySpeciesAction.md] to define the auxiliary variables for the secondary species. | ||
|
||
!syntax list /ReactionNetwork/SolidKineticReactions objects=True actions=False subsystems=False | ||
|
||
!syntax list /ReactionNetwork/SolidKineticReactions objects=False actions=False subsystems=True | ||
|
||
!syntax list /ReactionNetwork/SolidKineticReactions objects=False actions=True subsystems=False |
12 changes: 11 additions & 1 deletion
12
modules/chemical_reactions/doc/content/syntax/ReactionNetwork/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
!template load file=stubs/moose_system.md.template name=ReactionNetwork syntax=/ReactionNetwork | ||
# ReactionNetwork syntax | ||
|
||
The `ReactionNetwork` parent block syntax is shared by the [aqueous equilibrium reactions](AqueousEquilibriumReactions/index.md) | ||
and [solid kinetics reactions](SolidKineticReactions/index.md) syntaxes. Both are nested under their respective sub-block, and can be | ||
defined simultaneously. | ||
|
||
!syntax list /ReactionNetwork objects=True actions=False subsystems=False | ||
|
||
!syntax list /ReactionNetwork objects=False actions=False subsystems=True | ||
|
||
!syntax list /ReactionNetwork objects=False actions=True subsystems=False |
13 changes: 13 additions & 0 deletions
13
...les/contact/doc/content/source/postprocessors/NumAugmentedLagrangeIterations.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# NumAugmentedLagrangeIterations | ||
|
||
!syntax description /Postprocessors/NumAugmentedLagrangeIterations | ||
|
||
Defaults to 0 if the problem is not an [AugmentedLagrangianContactProblem.md]. | ||
The reader is referred to the [AugmentedLagrangianContactProblem.md] for more explanation | ||
on the augmented Lagrangian iteration. | ||
|
||
!syntax parameters /Postprocessors/NumAugmentedLagrangeIterations | ||
|
||
!syntax inputs /Postprocessors/NumAugmentedLagrangeIterations | ||
|
||
!syntax children /Postprocessors/NumAugmentedLagrangeIterations |
27 changes: 16 additions & 11 deletions
27
modules/navier_stokes/doc/content/source/bcs/INSFEFluidEnergyBC.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
modules/navier_stokes/doc/content/source/bcs/INSFEFluidEnergyDirichletBC.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 10 additions & 9 deletions
19
modules/navier_stokes/doc/content/source/bcs/INSFEFluidMassBC.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.