Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
f6f45959
Commit
f6f45959
authored
Oct 26, 2010
by
Henry
Browse files
fvcSmooth: updated documentation
parent
2864fdfd
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/finiteVolume/finiteVolume/fvc/fvcSmooth/fvcSmooth.C
View file @
f6f45959
...
...
@@ -255,8 +255,7 @@ void Foam::fvc::sweep
changedFaces
.
append
(
facei
);
changedFacesInfo
.
append
(
sweepData
(
max
(
field
[
own
],
field
[
nbr
]),
Cf
[
facei
])
sweepData
(
max
(
field
[
own
],
field
[
nbr
]),
Cf
[
facei
])
);
}
}
...
...
src/finiteVolume/finiteVolume/fvc/fvcSmooth/fvcSmooth.H
View file @
f6f45959
...
...
@@ -21,12 +21,22 @@ License
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
function
Foam::fvc
::smooth
InNamespace
Foam::fvc
Description
Function that uses smoothData to apply spatial smoothing of a
volume field using the FaceCellWave algorithm
Provides functions smooth spread and sweep which use the FaceCellWave
algorithm to smooth and redistribute the first field argument.
smooth: smooths the field by ensuring the values in neighbouring
cells are at least coeff* the cell value.
spread: redistributes the field by spreading the maximum value within
the region defined by the value and gradient of alpha.
sweep: redistributes the field by sweeping the maximum value where the
gradient of alpha is large away from that starting point of the
sweep.
SourceFiles
fvcSmooth.C
...
...
src/finiteVolume/finiteVolume/fvc/fvcSmooth/smoothData.H
View file @
f6f45959
...
...
@@ -25,9 +25,9 @@ Class
Foam::smoothData
Description
Helper class used by the smooth
VolField class
Helper class used by the
fvc::
smooth
and fvc::spread functions.
Files
Source
Files
smoothData.H
smoothDataI.H
...
...
src/finiteVolume/finiteVolume/fvc/fvcSmooth/sweepData.H
View file @
f6f45959
...
...
@@ -25,9 +25,9 @@ Class
Foam::sweepData
Description
Helper class used by fvc
Smooth
Helper class used by fvc
::sweep function.
Files
Source
Files
sweepData.H
sweepDataI.H
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment