mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fvcSmooth: updated documentation
This commit is contained in:
@ -255,8 +255,7 @@ void Foam::fvc::sweep
|
|||||||
changedFaces.append(facei);
|
changedFaces.append(facei);
|
||||||
changedFacesInfo.append
|
changedFacesInfo.append
|
||||||
(
|
(
|
||||||
sweepData(max(field[own], field[nbr]),
|
sweepData(max(field[own], field[nbr]), Cf[facei])
|
||||||
Cf[facei])
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,12 +21,22 @@ License
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
function
|
InNamespace
|
||||||
Foam::fvc::smooth
|
Foam::fvc
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Function that uses smoothData to apply spatial smoothing of a
|
Provides functions smooth spread and sweep which use the FaceCellWave
|
||||||
volume field using the FaceCellWave algorithm
|
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
|
SourceFiles
|
||||||
fvcSmooth.C
|
fvcSmooth.C
|
||||||
|
|||||||
@ -25,9 +25,9 @@ Class
|
|||||||
Foam::smoothData
|
Foam::smoothData
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Helper class used by the smoothVolField class
|
Helper class used by the fvc::smooth and fvc::spread functions.
|
||||||
|
|
||||||
Files
|
SourceFiles
|
||||||
smoothData.H
|
smoothData.H
|
||||||
smoothDataI.H
|
smoothDataI.H
|
||||||
|
|
||||||
|
|||||||
@ -25,9 +25,9 @@ Class
|
|||||||
Foam::sweepData
|
Foam::sweepData
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Helper class used by fvcSmooth
|
Helper class used by fvc::sweep function.
|
||||||
|
|
||||||
Files
|
SourceFiles
|
||||||
sweepData.H
|
sweepData.H
|
||||||
sweepDataI.H
|
sweepDataI.H
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user