Skip to content
Snippets Groups Projects
Commit 60349e31 authored by Henry's avatar Henry
Browse files

Corrected and improved documentation

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=790
parent dfeb45d1
No related merge requests found
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -35,8 +35,8 @@ Description
\table
Property | Description | Required | Default value
phi | flux field name | no | phi
inletValue | inlet value for reverse flow | yes |
phi | Flux field name | no | phi
inletValue | Inlet value for reverse flow | yes |
\endtable
Example of the boundary condition specification:
......@@ -55,12 +55,13 @@ Description
Note
Sign conventions:
- positive flux (out of domain): apply zero-gradient condition
- negative flux (into of domain): apply the user-specified fixed value
- Positive flux (out of domain): apply zero-gradient condition
- Negative flux (into of domain): apply the "inletValue" fixed-value
SeeAlso
Foam::mixedFvPatchField
Foam::zeroGradientFvPatchField
Foam::outletInletFvPatchField
SourceFiles
inletOutletFvPatchField.C
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -29,14 +29,14 @@ Group
Description
This boundary condition provides a generic inflow condition, with
specified outflow for the case of return flow.
specified outflow for the case of reverse flow.
\heading Patch usage
\table
Property | Description | Required | Default value
phi | flux field name | no | phi
inletValue | inlet value | yes |
phi | Flux field name | no | phi
outletValue | Outlet value for reverse flow | yes |
\endtable
Example of the boundary condition specification:
......@@ -44,9 +44,9 @@ Description
myPatch
{
type outletInlet;
phi phi; // name of flux field (default = phi)
outletValue uniform 0; // reverse flow (inlet) value
value uniform 0; // initial value
phi phi;
outletValue uniform 0;
value uniform 0;
}
\endverbatim
......@@ -55,8 +55,13 @@ Description
Note
Sign conventions:
- positive flux (out of domain): apply the user-specified fixed value
- negative flux (into of domain): apply zero-gradient condition
- Positive flux (out of domain): apply the "outletValue" fixed-value
- Negative flux (into of domain): apply zero-gradient condition
SeeAlso
Foam::mixedFvPatchField
Foam::zeroGradientFvPatchField
Foam::inletOutletFvPatchField
SourceFiles
outletInletFvPatchField.C
......
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