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

Problem with mapFieldsDict

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 30, 2012, 05:56
Default Problem with mapFieldsDict
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
Dear All,

I have a problem with mapFieldsDict.

This is my dictionary:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.7.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      mapFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

patchMap        
(
    wall-part_2-solid wall-part_2-solid
    wall_roof_channel wall_roof_channel
    back back
    floor floor
    hc_ii hc_ii
    inlet_main inlet_main
    intake intake
    intake_ii intake_ii
    lato_interno_1 lato_interno_1
    lato_interno_2 lato_interno_2
    roof roof
    symmetry_ext_1 symmetry_ext_1
    symmetry_ext_2 symmetry_ext_2
    wall_infinite wall_infinite
	door door
);

cuttingPatches  
(
    
);


// ************************************************************************* //
The problem is that in this way when I write

Code:
 mapFields -sourceTime 10000 ../../steady/steady2D/
I get this:
Code:
rduser@slnxepmi05:/OPENFOAM/cases/moving_door_def_flow/test/opening/disappearing2D$ mapFields -sourceTime 10000 ../../steady/steady2D/
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-0bc225064152
Exec   : mapFields -sourceTime 10000 ../../steady/steady2D/
Date   : Oct 30 2012
Time   : 10:57:44
Host   : "slnxepmi05"
PID    : 22716
Case   : /OPENFOAM/cases/moving_door_def_flow/test/opening/disappearing2D
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Source: "../../steady/steady2D" ""
Target: "/OPENFOAM/cases/moving_door_def_flow/test/opening" "disappearing2D"

Create databases as time

Source time: 10000
Target time: 0
Create meshes

Source mesh size: 119473	Target mesh size: 119473


Mapping fields for time 10000


End
and nothing happens, while if I write
Code:
 mapFields -consistent -sourceTime 10000 ../../steady/steady2D/
without the mapFieldsDict, it works.

The problem is that I need the 1st way, since I'd like to remove the patch ``door''.

What's wrong with my dictionary?

Thanks a lot,

Samuele

Last edited by samiam1000; October 30, 2012 at 06:43. Reason: I forgot to edit the command
samiam1000 is offline   Reply With Quote

Old   November 14, 2013, 08:26
Default
  #2
Senior Member
 
Join Date: Jan 2013
Posts: 197
Rep Power: 4
openfoammaofnepo is on a distinguished road
Dear samiam1000,

I had the same problem about the mapping the results between different geometries. Actually most of the parts are the same but I just changed one of the BC. When I did the mapFields, it gave me nothing in my target folder. Could you please tell me how did you solve this problem in your case? Thank you.

Quote:
Originally Posted by samiam1000 View Post
Dear All,

I have a problem with mapFieldsDict.

This is my dictionary:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.7.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      mapFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

patchMap        
(
    wall-part_2-solid wall-part_2-solid
    wall_roof_channel wall_roof_channel
    back back
    floor floor
    hc_ii hc_ii
    inlet_main inlet_main
    intake intake
    intake_ii intake_ii
    lato_interno_1 lato_interno_1
    lato_interno_2 lato_interno_2
    roof roof
    symmetry_ext_1 symmetry_ext_1
    symmetry_ext_2 symmetry_ext_2
    wall_infinite wall_infinite
	door door
);

cuttingPatches  
(
    
);


// ************************************************************************* //
The problem is that in this way when I write

Code:
 mapFields -sourceTime 10000 ../../steady/steady2D/
I get this:
Code:
rduser@slnxepmi05:/OPENFOAM/cases/moving_door_def_flow/test/opening/disappearing2D$ mapFields -sourceTime 10000 ../../steady/steady2D/
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-0bc225064152
Exec   : mapFields -sourceTime 10000 ../../steady/steady2D/
Date   : Oct 30 2012
Time   : 10:57:44
Host   : "slnxepmi05"
PID    : 22716
Case   : /OPENFOAM/cases/moving_door_def_flow/test/opening/disappearing2D
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Source: "../../steady/steady2D" ""
Target: "/OPENFOAM/cases/moving_door_def_flow/test/opening" "disappearing2D"

Create databases as time

Source time: 10000
Target time: 0
Create meshes

Source mesh size: 119473	Target mesh size: 119473


Mapping fields for time 10000


End
and nothing happens, while if I write
Code:
 mapFields -consistent -sourceTime 10000 ../../steady/steady2D/
without the mapFieldsDict, it works.

The problem is that I need the 1st way, since I'd like to remove the patch ``door''.

What's wrong with my dictionary?

Thanks a lot,

Samuele
openfoammaofnepo is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


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