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
7b714253
Commit
7b714253
authored
Jun 25, 2020
by
Mark OLESEN
Browse files
DOC: additional documentation in MappedFile
parent
0a7eb6e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/meshTools/PatchFunction1/MappedFile/MappedFile.H
View file @
7b714253
...
...
@@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2018 OpenCFD Ltd.
Copyright (C) 2018
-2020
OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -27,6 +27,18 @@ Class
Foam::PatchFunction1Types::MappedFile
Description
Patch value mapping from file
Options:
\table
Property | Description | Required | Default
mapMethod | (nearest/planarInterpolation) | no | planarInterpolation
offset | Time-varying offset values to interpolated data | no |
fieldTable | Name of field data table | no | field-name
points | The name of the points file | no | points
perturb | Perturbation fraction of bounding box | no | 1e-5
setAverage | adjust mapped field to maintain average value | no | false
\endtable
SourceFiles
MappedFile.C
...
...
@@ -56,7 +68,7 @@ class MappedFile
:
public
PatchFunction1
<
Type
>
{
// Private
d
ata
// Private
D
ata
//- Whether constructed from dictionary
const
bool
dictConstructed_
;
...
...
@@ -65,7 +77,7 @@ class MappedFile
word
fieldTableName_
;
//- If true adjust the mapped field to maintain average value
Switch
setAverage_
;
bool
setAverage_
;
//- Fraction of perturbation (fraction of bounding box) to add
scalar
perturb_
;
...
...
@@ -114,7 +126,7 @@ class MappedFile
public:
// Runtime type information
//
-
Runtime type information
TypeName
(
"mappedFile"
);
...
...
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