Skip to content

Commit

Permalink
A bunch of small changes to make doxygen happy
Browse files Browse the repository at this point in the history
  • Loading branch information
timofeymukha committed Apr 26, 2023
1 parent 890d81e commit 1dbae40
Show file tree
Hide file tree
Showing 40 changed files with 47 additions and 43 deletions.
2 changes: 1 addition & 1 deletion cellFinders/CellFinder/CellFinder.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::CellFinder
Description
@brief
Class for searching for sampling cells.
Contributors/Copyright:
Expand Down
2 changes: 1 addition & 1 deletion cellFinders/CrawlingCellFinder/CrawlingCellFinder.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::CrawlingCellFinder
Description
@brief
Class for searching for sampling cells by crawling through opposite faces.
Contributors/Copyright:
Expand Down
2 changes: 1 addition & 1 deletion cellFinders/TreeCellFinder/TreeCellFinder.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::TreeCellFinder
Description
@brief
Class for searching for sampling cells using.
Contributors/Copyright:
Expand Down
5 changes: 3 additions & 2 deletions docs/Doxyfile
Expand Up @@ -1296,7 +1296,8 @@ HTML_STYLESHEET =
# documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_EXTRA_STYLESHEET =
#HTML_EXTRA_STYLESHEET = /home/timofey/Software/doxygen-awesome-css/doxygen-awesome.css \
# /home/timofey/Software/doxygen-awesome-css/doxygen-awesome-sidebar-only.css

# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the HTML output directory. Note
Expand Down Expand Up @@ -1619,7 +1620,7 @@ DISABLE_INDEX = NO
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.

GENERATE_TREEVIEW = NO
GENERATE_TREEVIEW = YES

# When both GENERATE_TREEVIEW and DISABLE_INDEX are set to YES, then the
# FULL_SIDEBAR option determines if the side bar is limited to only the treeview
Expand Down
5 changes: 2 additions & 3 deletions docs/conf.py
Expand Up @@ -53,7 +53,6 @@
'exhale',
'sphinx_rtd_theme',
'sphinxcontrib.bibtex',
'sphinx.ext.autosectionlabel'
]

bibtex_bibfiles = ['bibl.bib']
Expand Down Expand Up @@ -204,7 +203,7 @@
"rootFileTitle": "Library API",
"doxygenStripFromPath": "..",
# Suggested optional arguments
"createTreeView": True,
"createTreeView": False,
# TIP: if using the sphinx-bootstrap-theme, you need
# "treeViewIsBootstrap": True,
"exhaleExecutesDoxygen": True,
Expand All @@ -214,4 +213,4 @@
"doxygenStripFromPath": "../"
}

numfig = True
numfig = True
2 changes: 2 additions & 0 deletions docs/grid_construction.rst
@@ -1,3 +1,5 @@
.. _grid-construction:

Grid construction
=================

Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart.rst
Expand Up @@ -24,14 +24,14 @@ following:
type Spalding;
}
* In your :code:`0` directory, you should add a new volScalarField, :code:`h`, see the :ref:`Sampling` section for details.
* In your :code:`0` directory, you should add a new volScalarField, :code:`h`, see the :ref:`sampling` section for details.
For a quick start, set the value of :code:`h` to :code:`uniform 0` at the wall, and use :code:`zeroGradient` at all
non-wall patch boundaries.
This will lead to sampling from the wall adjacent-cell, which is very robust, but inaccurate.

The settings above are not optimal, but should get your case running.
Of course, you should never run your WMLES on a wall-resolving mesh.
Instead, we recommend using a meshing strategy presented in :ref:`Grid construction`.
Instead, we recommend using a meshing strategy presented in :ref:`grid-construction`.

Miscellaneous tips and troubleshooting
--------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions docs/sampling.rst
@@ -1,3 +1,5 @@
.. _sampling:

Sampling
========

Expand Down
2 changes: 1 addition & 1 deletion eddyViscosities/Duprat/DupratEddyViscosity.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::DupratEddyViscosity
Description
@brief
Eddy viscosity model based on the work of Duprat et al. [Duprat].
\f[
Expand Down
2 changes: 1 addition & 1 deletion eddyViscosities/EddyViscosity/EddyViscosity.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::EddyViscosity
Description
@brief
Base abstract class for 1D turbulence models based on eddy viscosity.
Meant to be used with ODE based wall models that need the distribution
Expand Down
2 changes: 1 addition & 1 deletion eddyViscosities/VanDriest/VanDriestEddyViscosity.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::VanDriestEddyViscosity
Description
@brief
A mixing-length based eddy viscosity model using a van Driest damping
function.
Corresponds to the formulation used by Cabot in [Cabot].
Expand Down
2 changes: 1 addition & 1 deletion helpers/helpers.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::PatchProjector
Description
@brief
Class for projecting fields and lists onto a patch.
Contributors/Copyright:
Expand Down
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::IntegratedReichardtLawOfTheWall
Description
@brief
Model based on integrating the law of the wall proposed by Reichardt.
\f[
Expand Down
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::IntegratedWernerWengleLawOfTheWall
Description
@brief
The integrated version of the wall proposed by Werner and Wengle.
Explicitely couples shear stress with the wall-normal-averaged velocity.
Derived assuming that the sampling is from the wall-adjacent cell.
Expand Down
2 changes: 1 addition & 1 deletion lawsOfTheWall/LawOfTheWall/LawOfTheWall.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::LawOfTheWall
Description
@brief
Base abstract class for laws of the wall.
It is to be used in conjuction
Expand Down
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::ReichardtLawOfTheWall
Description
@brief
The law of the wall proposed by Reichardt.
\f[
Expand Down
2 changes: 1 addition & 1 deletion lawsOfTheWall/RoughLogLawOfTheWall/RoughLogLawOfTheWall.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::RoughLogLawOfTheWall
Description
@brief
A log-law, in which the wall-normal distance is scaled by roughness
length-scale.
Expand Down
2 changes: 1 addition & 1 deletion lawsOfTheWall/SpaldingLawOfTheWall/SpaldingLawOfTheWall.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::SpaldingLawOfTheWall
Description
@brief
The law of the wall proposed by Spalding.
\f[
Expand Down
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::WernerWengleLawOfTheWall
Description
@brief
The law of the wall proposed by Werner and Wengle. Note that the model in
the reference uses the integrated version of this law, also present in the
library.
Expand Down
2 changes: 1 addition & 1 deletion rootFinding/BisectionRootFinder/BisectionRootFinder.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::BisectionRootFinder
Description
@brief
Root finder based on the bisection method.
Controlled by three paramters:
Expand Down
2 changes: 1 addition & 1 deletion rootFinding/NewtonRootFinder/NewtonRootFinder.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::NewtonRootFinder
Description
@brief
Root finder based on Newton's method.
Controlled by two parameters: the max number of iterations and the relative
Expand Down
2 changes: 1 addition & 1 deletion rootFinding/RootFinder/RootFinder.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::RootFinder
Description
@brief
Base abstract class for finding roots of non-linear algebraic equations.
In the context of wall modelling the latter are provided by laws of the
Expand Down
2 changes: 1 addition & 1 deletion samplers/MultiCellSampler/MultiCellSampler.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::MultiCellSampler
Description
@brief
Class for sampling from several consecutive cells per wall face.
Contributors/Copyright:
Expand Down
2 changes: 1 addition & 1 deletion samplers/SampledField/SampledField.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::SampledField
Description
@brief
Base class for a sampled field. Handles sampling of and recomputing a
specific field. Also registers the field to the object registry
under the sub-registry wallModelSampling -- patch-name.
Expand Down
2 changes: 1 addition & 1 deletion samplers/SampledField/SampledPGradField.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::SampledPGradField
Description
@brief
Class for the sampled pressure gradient field.
Contributors/Copyright:
Expand Down
2 changes: 1 addition & 1 deletion samplers/SampledField/SampledVelocityField.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::SampledVelocityField
Description
@brief
Class for the sampled velocity field.
Contributors/Copyright:
Expand Down
2 changes: 1 addition & 1 deletion samplers/SampledField/SampledWallGradUField.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::SampledWallGradUField
Description
@brief
Class for the sampled velocity gradient field at the wall.
Contributors/Copyright:
Expand Down
2 changes: 1 addition & 1 deletion samplers/Sampler/Sampler.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::Sampler
Description
@brief
Class for sampling data to the wall models.
Contributors/Copyright:
Expand Down
2 changes: 1 addition & 1 deletion samplers/SingleCellSampler/SingleCellSampler.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::SingleCellSampler
Description
@brief
Class for sampling data to the wall models for a single cell per face.
Contributors/Copyright:
Expand Down
2 changes: 1 addition & 1 deletion scalarListListIOList/scalarListListIOList.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::SingleCellSampler
Description
@brief
Contributors/Copyright:
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures.H
Expand Up @@ -16,7 +16,7 @@ License
along with libWallModelledLES.
If not, see <http://www.gnu.org/licenses/>.
Description
@brief
Various helper functions for testing the software.
Contributors/Copyright:
Expand Down
4 changes: 2 additions & 2 deletions tests/testCases/channel_flow/0/nut
Expand Up @@ -24,7 +24,7 @@ boundaryField
bottomWall
{
/* * * * * * * * * Law of the wall wall model * * * * * * */
type LOTWWallModel;
type MulticellLOTWWallModel;
//type LSQRWallModel;
// value uniform 0; //redundant
//
Expand All @@ -43,7 +43,7 @@ boundaryField
}

sampler Crawling;
interpolationType cellPointFace;
interpolationType cell;
hIsIndex false;
silent false;

Expand Down
2 changes: 1 addition & 1 deletion versionRules/codeRules.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Description
@brief
Based on the OpenFOAM version, generates macros that can be used to make
the code support multiple versions via #ifdef statements.
The file is adopted with minor changes from swak4foam, see list of
Expand Down
2 changes: 1 addition & 1 deletion wallModels/EquilibriumODEWallModelFvPatchScalarField.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::EquilibriumODEWallModelFvPatchScalarField
Description
@brief
ODE model with a zero source-term.
Physically, this means that the total shear stress is assumed to be constant
Expand Down
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::KnownWallShearStressWallModelFvPatchScalarField
Description
@brief
Wall model that uses the values of the magnitude of the mean wall shear
stress known a priori, for example, from a RANS precursor or an analytical
solution.
Expand Down
2 changes: 1 addition & 1 deletion wallModels/LOTWWallModelFvPatchScalarField.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::LOTWWallModelFvPatchScalarField
Description
@brief
Class for the wall models based on a law of the wall.
Needs a root finder and a law of the wall to be defined.
Expand Down
2 changes: 1 addition & 1 deletion wallModels/MulticellLOTWWallModelFvPatchScalarField.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::MulticellLOTWWallModelFvPatchScalarField
Description
@brief
Class for the wall models based on a law of the wall, sampling data
from multiple cells. Currently hardcoded to use the integrated
Reichardt law.
Expand Down
2 changes: 1 addition & 1 deletion wallModels/ODEWallModelFvPatchScalarField.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::ODEWallModelFvPatchScalarField
Description
@brief
Base abstract class for ODE-based wall models.
All the models are based on the following equation
Expand Down
2 changes: 1 addition & 1 deletion wallModels/PGradODEWallModelFvPatchScalarField.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::PGradODEWallModelFvPatchScalarField
Description
@brief
ODE wall model with the source term equal to the wall-parallel pressure
gradient.
Expand Down
2 changes: 1 addition & 1 deletion wallModels/wallModelFvPatchScalarField.H
Expand Up @@ -19,7 +19,7 @@ License
Class
Foam::wallModelFvPatchScalarField
Description
@brief
Base abstract class for LES wall models.
Handles creating and storing fields used by the wall models.
Expand Down

0 comments on commit 1dbae40

Please sign in to comment.