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

[Tutorials] How to find the valid choices of mapMethod of mapFields?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2023, 08:35
Post How to find the valid choices of mapMethod of mapFields?
  #1
New Member
 
Jasmine Feng
Join Date: Feb 2023
Posts: 14
Rep Power: 3
JasmineFeng is on a distinguished road
Does anybody think the OpenFOAM documentation (esp. the CFD Direct version) is somewhat inadequate?

I'm now using OpenFOAM-V9 of CFD Direct. Take the command mapFields for example. It has an option `mapMethod` to specify the mapping method. But I cannot find any description from the User Guide or the command `mapFields -help`.

Under protest, I came to the C++ source code of OpenFOAM, and found the valid choices are `mapNearest`, `interpolate`, `cellPointInterpolate`.



Notwithstanding, I still know nothing about the difference between `interpolate` and `cellPointInterpolate`. I cannot find any description of these choices.

The OpenCFD version seems better from this angle, since it provides valid choices at least, though without any detailed descriptions.


Personally I think, a mature software must provide detailed API documentation, to make the users find the valid choices of some arguments conveniently. How do you think about it? Or simply, where can I find the choices of `mapFields` and its description conveniently
JasmineFeng is offline   Reply With Quote

Reply

Tags
api, documentation, mapfields, user guide


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
error to check simulation result: could not find valid OpenFOAM mesh xiaoyoyo OpenFOAM 5 May 18, 2017 12:38
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 01:52
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 07:32
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30


All times are GMT -4. The time now is 11:38.