-
Notifications
You must be signed in to change notification settings - Fork 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 #28438 from joshuahansel/peacock-fix
Fixed Peacock setup doc and added doc for THM plugins
- Loading branch information
Showing
8 changed files
with
169 additions
and
118 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
20 changes: 0 additions & 20 deletions
20
modules/doc/content/getting_started/installation/optional_python_and_peacock.md
This file was deleted.
Oops, something went wrong.
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
21 changes: 21 additions & 0 deletions
21
modules/thermal_hydraulics/doc/content/modules/thermal_hydraulics/utilities.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,21 @@ | ||
# THM Utilities | ||
|
||
THM provides the following [Peacock](python/peacock.md optional=True) plugins, located in | ||
`modules/thermal_hydraulics/python/peacock/`, relative to the root MOOSE directory: | ||
|
||
- `FluidPropertyInterrogatorPlugin.py`: Computes various fluid properties from a | ||
[FluidProperties](syntax/FluidProperties/index.md) object. Note that currently there | ||
is no way to specify non-default input parameter values, and those objects | ||
requiring input parameters to be specified cannot be used. | ||
- `UnitConverterPlugin.py`: Converts between various units of measurement. | ||
- `ModelBuilder/FlowChannelParametersCalculator.py`: Computes cross-sectional | ||
area, hydraulic area, and wetted perimeter for various flow channel geometries. | ||
|
||
While these are considered Peacock plugins, you do not actually run these within | ||
an instance of Peacock but instead, run their source files directly with `python`. | ||
For example, | ||
|
||
``` | ||
cd ~/projects/moose/modules/thermal_hydraulics/python/peacock/ | ||
python FluidPropertyInterrogatorPlugin.py | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,37 @@ | ||
# Bibtex Extension | ||
|
||
I did some work [!cite](slaughter2014framework) | ||
The `bibtex` extension allows you to cite references stored in BibTeX database(s). | ||
|
||
## Configuration | ||
|
||
[!cite](slaughter2014framework, slaughter2015continuous) | ||
The `bibtex` extension is enabled by default. The only thing necessary for using | ||
the citation commands is to provide properly-formatted `.bib` file(s) within the | ||
included content in your configuration file. | ||
|
||
## Usage | ||
|
||
[!cite](slaughter2014framework, slaughter2015continuous, gaston2015physics) | ||
Two commands are provided for citing BibTeX references: `!cite` and `!citep`. | ||
The latter includes parentheses, while the former does not. To cite multiple | ||
references, they are separated with a comma. | ||
|
||
To generate the list of references cited on a page, the `!bibtex bibliography` | ||
command is used. If it is not used, then it will automatically be placed at the | ||
bottom of the page. | ||
|
||
[!citep](slaughter2014framework) | ||
See [citation_examples] for examples. | ||
|
||
!devel! example caption=Citation examples. id=citation_examples | ||
[!cite](slaughter2014framework) | ||
|
||
[!cite](slaughter2014framework, slaughter2015continuous) | ||
|
||
[!cite](slaughter2014framework, slaughter2015continuous, gaston2015physics) | ||
|
||
[!citep](slaughter2014framework) | ||
|
||
[!citep](slaughter2014framework, slaughter2015continuous) | ||
|
||
!bibtex bibliography | ||
|
||
Some text after the references. | ||
!devel-end! |
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