forked from idaholab/moose
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document heat transfer kernels. Refs idaholab#29645
- Loading branch information
1 parent
1e17680
commit 5a012b4
Showing
11 changed files
with
217 additions
and
49 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
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
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
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
41 changes: 40 additions & 1 deletion
41
modules/heat_transfer/doc/content/source/kernels/AnisoHeatConduction.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,40 @@ | ||
!template load file=stubs/moose_object.md.template name=AnisoHeatConduction syntax=/Kernels/AnisoHeatConduction | ||
# AnisoHeatConduction | ||
|
||
## Description | ||
|
||
`AnisoHeatConduction` implements the diffusion kernel in the thermal energy conservation equation, with an anisotropic material property for the thermal conductivity. | ||
The strong form is | ||
|
||
\begin{equation} | ||
\underbrace{-\nabla\cdot(\mathbf{k}\nabla T)}_{\textrm{AnisoHeatConduction}} + \text{other kernels} = 0 \in \Omega | ||
\end{equation} | ||
|
||
where $\mathbf{k}$ is a tensor thermal conductivity (nine components) and $T$ is | ||
temperature. The corresponding weak form, | ||
in inner-product notation, is | ||
|
||
\begin{equation} | ||
R_i(u_h)=(\nabla\psi_i, \mathbf{k}\nabla u_h)\quad\forall \psi_i, | ||
\end{equation} | ||
|
||
where $u_h$ is the approximate solution and $\psi_i$ is a finite element test function. | ||
|
||
The thermal conductivity is specified with a material property, `thermal_conductivity`. | ||
The Jacobian does not account for partial derivatives of $\mathbf{k}$ with | ||
respect to the system unknowns (e.g., temperature). | ||
|
||
## Example Input File Syntax | ||
|
||
The case below demonstrates the use of `AnisoHeatConduction` where the diffusion | ||
coefficient (thermal conductivity) is defined by an `AnisoHeatConductionMaterial`. | ||
|
||
!listing modules/heat_transfer/test/tests/heat_conduction_ortho/heat_conduction_ortho.i | ||
start=Kernels | ||
end=Executioner | ||
remove=BCs | ||
|
||
!syntax parameters /Kernels/AnisoHeatConduction | ||
|
||
!syntax inputs /Kernels/AnisoHeatConduction | ||
|
||
!syntax children /Kernels/AnisoHeatConduction |
53 changes: 52 additions & 1 deletion
53
modules/heat_transfer/doc/content/source/kernels/HeatConduction.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,52 @@ | ||
!template load file=stubs/moose_object.md.template name=HeatConduction syntax=/Kernels/HeatConduction | ||
# HeatConduction | ||
|
||
## Description | ||
|
||
`HeatConduction` implements the diffusion kernel in the thermal energy conservation equation, with a material property for the | ||
diffusion coefficient. The strong form is | ||
|
||
\begin{equation} | ||
\underbrace{-\nabla\cdot(k\nabla T)}_{\textrm{HeatConduction}} + \text{other kernels} = 0 \in \Omega | ||
\end{equation} | ||
|
||
where $k$ is the diffusion coefficient (thermal conductivity) and $T$ is | ||
the variable (temperature). The corresponding weak form, | ||
in inner-product notation, is | ||
|
||
\begin{equation} | ||
R_i(u_h)=(\nabla\psi_i, k\nabla u_h)\quad\forall \psi_i, | ||
\end{equation} | ||
|
||
where $u_h$ is the approximate solution and $\psi_i$ is a finite element test function. | ||
|
||
The diffusion coefficient is specified with a material property; the | ||
`diffusion_coefficient` parameter is used to define the material property name | ||
which contains the diffusion coefficient (which defaults to `thermal_conductivity`). | ||
The Jacobian will account for partial derivatives of the diffusion coefficient | ||
with respect to the unknown variable if the `diffusion_coefficient_dT` property | ||
name is provided. These particular names are the defaults because they | ||
are the names used by [HeatConductionMaterial](HeatConductionMaterial.md), | ||
though you can also define these materials using other [Material](Material.md) objects. | ||
|
||
## Example Input File Syntax | ||
|
||
The case below demonstrates the use of `HeatConduction` where the diffusion | ||
coefficient (thermal conductivity) is defined by a `HeatConductionMaterial`. | ||
|
||
!listing modules/heat_transfer/tutorials/introduction/therm_step02.i | ||
start=Kernels | ||
end=BCs | ||
|
||
The case below instead demonstrates the use of `HeatConduction` where the | ||
diffusion coefficient (thermal conductivity) is defined by a [ParsedMaterial](ParsedMaterial.md) | ||
|
||
!listing modules/heat_transfer/test/tests/code_verification/spherical_test_no2.i | ||
start=Kernels | ||
end=Executioner | ||
remove=BCs | ||
|
||
!syntax parameters /Kernels/HeatConduction | ||
|
||
!syntax inputs /Kernels/HeatConduction | ||
|
||
!syntax children /Kernels/HeatConduction |
43 changes: 39 additions & 4 deletions
43
modules/heat_transfer/doc/content/source/kernels/HeatConductionTimeDerivative.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
32 changes: 31 additions & 1 deletion
32
modules/heat_transfer/doc/content/source/kernels/HeatSource.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,31 @@ | ||
!template load file=stubs/moose_object.md.template name=HeatSource syntax=/Kernels/HeatSource | ||
# HeatSource | ||
|
||
## Description | ||
|
||
The `HeatSource` kernel implements a volumetric heat source/sink forcing term. The strong form is | ||
|
||
\begin{equation} | ||
\underbrace{-\dot{q}}_{\textrm{HeatSource}} + \text{other kernels} = 0 \in \Omega | ||
\end{equation} | ||
|
||
where $\dot{q}$ is the volumetric heat source. The corresponding weak form, | ||
in inner-product notation, is | ||
|
||
\begin{equation} | ||
R_i(u_h)=(\psi_i, -\dot{q})\quad\forall \psi_i, | ||
\end{equation} | ||
|
||
where $u_h$ is the approximate solution and $\psi_i$ is a finite element test function. | ||
|
||
A slightly more general version of this same kernel can be found in [BodyForce](BodyForce.md), which you can equivalently use instead of `HeatSource`. | ||
|
||
## Example Input File Syntax | ||
|
||
!listing modules/heat_transfer/tutorials/introduction/therm_step03a.i | ||
block=Kernels | ||
|
||
!syntax parameters /Kernels/HeatSource | ||
|
||
!syntax inputs /Kernels/HeatSource | ||
|
||
!syntax children /Kernels/HeatSource |
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
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
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