|
[Sponsors] |
October 30, 2012, 04:56 |
Problem with mapFieldsDict
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18 |
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 ( ); // ************************************************************************* // Code:
mapFields -sourceTime 10000 ../../steady/steady2D/ 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 Code:
mapFields -consistent -sourceTime 10000 ../../steady/steady2D/ 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 05:43. Reason: I forgot to edit the command |
|
November 14, 2013, 07:26 |
|
#2 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
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:
|
||
January 3, 2020, 04:58 |
|
#3 |
New Member
Join Date: May 2011
Posts: 3
Rep Power: 14 |
I guess the problem is not correctly creating the files like p U etc in the target folder.
I carried out the following steps and it works perfectly. Step 1. Create mapFieldDict in the folder system. Step 2. Change the startTime to the source Step 3. Create folder of the latest time step Step 4. Cp all files in the folder 0 to the latest time folder Step 5. execute: mapFields -sourceTime *** path/to/source/case Note: -consistent only be used when two geometries and boundaries are exactly the same |
|
|
|
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 |