Skip to content
Snippets Groups Projects
Commit 25f55b7c authored by Kai Wendel's avatar Kai Wendel Committed by Timo Koch
Browse files

[examples] correct typo in documentation

parent 919136bc
No related branches found
No related tags found
1 merge request!3749[examples] correct typo in documentation
...@@ -56,7 +56,7 @@ struct DiffusionModel {}; ...@@ -56,7 +56,7 @@ struct DiffusionModel {};
The local residual assembles the contribution to the residual for The local residual assembles the contribution to the residual for
all degrees of freedom associated with an element. Here, we use the all degrees of freedom associated with an element. Here, we use the
Box method which is based on $P_1$ basis functions (piece-wise linears) Box method which is based on $P_1$ basis functions (piece-wise linears)
and the degrees of freedom are on the nodes. Each node is associate with and the degrees of freedom are on the nodes. Each node is associated with
exactly one sub control volume (`scv`) per element and several ($2$ in $\mathbb{R}^2$) exactly one sub control volume (`scv`) per element and several ($2$ in $\mathbb{R}^2$)
sub control volume faces (`scvf`). In the local residual, we can implement the sub control volume faces (`scvf`). In the local residual, we can implement the
contribution for one `scv` (storage and source terms) or one `scvf` (flux terms). contribution for one `scv` (storage and source terms) or one `scvf` (flux terms).
......
...@@ -46,7 +46,7 @@ struct DiffusionModel {}; ...@@ -46,7 +46,7 @@ struct DiffusionModel {};
// The local residual assembles the contribution to the residual for // The local residual assembles the contribution to the residual for
// all degrees of freedom associated with an element. Here, we use the // all degrees of freedom associated with an element. Here, we use the
// Box method which is based on $P_1$ basis functions (piece-wise linears) // Box method which is based on $P_1$ basis functions (piece-wise linears)
// and the degrees of freedom are on the nodes. Each node is associate with // and the degrees of freedom are on the nodes. Each node is associated with
// exactly one sub control volume (`scv`) per element and several ($2$ in $\mathbb{R}^2$) // exactly one sub control volume (`scv`) per element and several ($2$ in $\mathbb{R}^2$)
// sub control volume faces (`scvf`). In the local residual, we can implement the // sub control volume faces (`scvf`). In the local residual, we can implement the
// contribution for one `scv` (storage and source terms) or one `scvf` (flux terms). // contribution for one `scv` (storage and source terms) or one `scvf` (flux terms).
......
...@@ -258,7 +258,7 @@ public: ...@@ -258,7 +258,7 @@ public:
#### Boundary conditions #### Boundary conditions
With the following function we define the __type of boundary conditions__ depending on the location. With the following function we define the __type of boundary conditions__ depending on the location.
Three types of boundary conditions can be specified: Dirichlet, Neumann or outflow boundary conditions. On Three types of boundary conditions can be specified: Dirichlet, Neumann or outflow boundary conditions. On
Dirichlet boundaries, the values of the primary variables need to be fixed. On a Neumann boundaries, Dirichlet boundaries, the values of the primary variables need to be fixed. On Neumann boundaries,
values for derivatives need to be fixed. Outflow conditions set a gradient of zero in normal direction towards the boundary values for derivatives need to be fixed. Outflow conditions set a gradient of zero in normal direction towards the boundary
for the respective primary variables (excluding pressure). for the respective primary variables (excluding pressure).
When Dirichlet conditions are set for the pressure, the velocity gradient When Dirichlet conditions are set for the pressure, the velocity gradient
......
...@@ -60,7 +60,7 @@ public: ...@@ -60,7 +60,7 @@ public:
// #### Boundary conditions // #### Boundary conditions
// With the following function we define the __type of boundary conditions__ depending on the location. // With the following function we define the __type of boundary conditions__ depending on the location.
// Three types of boundary conditions can be specified: Dirichlet, Neumann or outflow boundary conditions. On // Three types of boundary conditions can be specified: Dirichlet, Neumann or outflow boundary conditions. On
// Dirichlet boundaries, the values of the primary variables need to be fixed. On a Neumann boundaries, // Dirichlet boundaries, the values of the primary variables need to be fixed. On Neumann boundaries,
// values for derivatives need to be fixed. Outflow conditions set a gradient of zero in normal direction towards the boundary // values for derivatives need to be fixed. Outflow conditions set a gradient of zero in normal direction towards the boundary
// for the respective primary variables (excluding pressure). // for the respective primary variables (excluding pressure).
// When Dirichlet conditions are set for the pressure, the velocity gradient // When Dirichlet conditions are set for the pressure, the velocity gradient
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment