CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

About mapMethod of mapFields in openfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By zhuangli

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2022, 10:03
Default About mapMethod of mapFields in openfoam
  #1
New Member
 
ZhuangLi
Join Date: Jan 2022
Posts: 13
Rep Power: 4
zhuangli is on a distinguished road
Hi guys,
I have confuse about the mapMethod of mapFields in openfoam. For now , I know that there are three methods of mapping in openfoam : mapNearest, interpolate and cellPointInterpolate respectively, which can be seen in mapFields.C of v2106 or v2112, the path of your openfoam directory maybe $FOAM_APP/utilities/preProcessing/mapFields/mapFields.C.
But online document of openfoamv2112, there are 4 methods of mapping, clicks
HTML Code:
https://www.openfoam.com/documentation/guides/latest/doc/guide-fos-field-mapFields.html#autotoc_md1503
to see. The methods are not mentioned in mapFields.C.
Now how could I use the methods not mentioned ?
If you have some advice, please let me know, thank you for your effort in advance!
_____________________________
Best regards!
Zhuangli
chkammer1989 likes this.
zhuangli is offline   Reply With Quote

Old   July 16, 2022, 07:38
Default
  #2
New Member
 
Cristóbal
Join Date: Jan 2022
Location: Sweden
Posts: 17
Rep Power: 4
cibanez is on a distinguished road
Hi,

You are simply referring to two separate things. One of them is the utility mapFields and the other is the functionObject mapFields. The latter maps input fields from local mesh to secondary mesh at runtime. An example of its usage can be found in

HTML Code:
$FOAM_TUTORIALS/incompressible/pimpleFoam/laminar/cylinder2D
/C
cibanez is offline   Reply With Quote

Old   July 16, 2022, 10:59
Default
  #3
New Member
 
ZhuangLi
Join Date: Jan 2022
Posts: 13
Rep Power: 4
zhuangli is on a distinguished road
Hi! Cristóbal,
It is a nice reply! Thank you very much!
zhuangli is offline   Reply With Quote

Reply

Tags
mapfields, mapmethod, openfoam 2106


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 16:54
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 12:50
OpenFOAM Foundation releases OpenFOAM 2.2.2 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 October 14, 2013 08:18
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25


All times are GMT -4. The time now is 16:24.