OpenFOAM: v1912 released! - For more information see https://www.openfoam.com/releases/openfoam-v1912

Commit a83eb8c2 authored by Mark Olesen's avatar Mark Olesen

STYLE: add usage notes to utilities and solvers

parent a82a2f62
...@@ -48,6 +48,13 @@ Author ...@@ -48,6 +48,13 @@ Author
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
argList::addNote
(
"(avalanche)\n"
"A depth-integrated solver for shallow granular flows using"
" Finite Area Methods."
);
#include "setRootCase.H" #include "setRootCase.H"
#include "createTime.H" #include "createTime.H"
#include "createMesh.H" #include "createMesh.H"
......
...@@ -25,8 +25,8 @@ Application ...@@ -25,8 +25,8 @@ Application
releaseAreaMapping releaseAreaMapping
Description Description
An preprocessing application to initialize finite area fields. Initialization of finite area fields,
Used to create release areas for avalanche simulations. used to create release areas for avalanche simulations.
Author Author
Matthias Rauter matthias.rauter@uibk.ac.at Matthias Rauter matthias.rauter@uibk.ac.at
...@@ -41,6 +41,13 @@ Author ...@@ -41,6 +41,13 @@ Author
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
argList::addNote
(
"(avalanche)\n"
"Initialization of finite area fields,"
" used to create release areas for avalanche simulations."
);
#include "setRootCase.H" #include "setRootCase.H"
#include "createTime.H" #include "createTime.H"
#include "createMesh.H" #include "createMesh.H"
...@@ -74,7 +81,6 @@ int main(int argc, char *argv[]) ...@@ -74,7 +81,6 @@ int main(int argc, char *argv[])
{ {
const entry& fieldsInfo = fields[fieldsI]; const entry& fieldsInfo = fields[fieldsI];
if (!fieldsInfo.isDict()) if (!fieldsInfo.isDict())
{ {
FatalIOErrorIn("releaseAreaMapping.C", releaseArea) FatalIOErrorIn("releaseAreaMapping.C", releaseArea)
...@@ -85,8 +91,6 @@ int main(int argc, char *argv[]) ...@@ -85,8 +91,6 @@ int main(int argc, char *argv[])
dictionary fieldsDict = fieldsInfo.dict(); dictionary fieldsDict = fieldsInfo.dict();
Info<< "Reading field " << fieldNames[fieldsI] << endl; Info<< "Reading field " << fieldNames[fieldsI] << endl;
areaScalarField f areaScalarField f
......
...@@ -25,7 +25,7 @@ Application ...@@ -25,7 +25,7 @@ Application
slopeMesh slopeMesh
Description Description
Application to create simple slope geometries for testing the granular flow solver. Create simple slope geometries for testing the granular flow solver.
Author Author
Matthias Rauter matthias.rauter@uibk.ac.at Matthias Rauter matthias.rauter@uibk.ac.at
...@@ -40,6 +40,12 @@ Author ...@@ -40,6 +40,12 @@ Author
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
argList::addNote
(
"(avalanche)\n"
"Create simple slope geometries for testing the granular flow solver"
);
#include "setRootCase.H" #include "setRootCase.H"
#include "createTime.H" #include "createTime.H"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment