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

Сhoice fields using mapFields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2021, 12:44
Default Сhoice fields using mapFields
  #1
New Member
 
Join Date: Sep 2020
Posts: 28
Rep Power: 6
Reptider is on a distinguished road
Hey!
There are 2 meshes with identical geometry and boundary conditions. I want to map only one field from first mesh to another but options of mapFields in terminal don't allow me to choose certain fields, for examle
Code:
-mapFields ../oldMesh -fields '(T)' -consistent
The error about unknown option "-fields" is shown. However, author of thread used it without issue: Doubt about 'MapFields' output.
I know about mapFields function which is edited in controlDict file like
Code:
functions
{
    meshInterp1
    {
        type            mapFields;
        libs            (fieldFunctionObjects);
        writeControl    timeStep;
        writeInterval   1;

        mapRegion       coarseMesh;
        mapMethod       cellVolumeWeight;
        consistent      yes;

        fields          (U); // ("U.*" "p.*");
    }
}
This code was taken from .../tutorials/icoFoam/cavityMappingTest/system/controcDict. May this help me? But I don't want to use mapRegion.
Reptider is offline   Reply With Quote

Reply


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
running mapFields in parallel mkhm OpenFOAM Pre-Processing 10 September 16, 2021 14:12
mapFields doesn't change fields Werne OpenFOAM 6 July 30, 2016 13:45
a reconstructPar issue immortality OpenFOAM Post-Processing 8 June 16, 2013 12:25
an odd(at least for me!) reconstructPar error on a field immortality OpenFOAM Running, Solving & CFD 3 June 3, 2013 23:36
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 10:15


All times are GMT -4. The time now is 09:20.