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

error when using mapfields utility

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2020, 08:31
Default error when using mapfields utility
  #1
New Member
 
mostafa kamal
Join Date: Jun 2019
Posts: 16
Rep Power: 6
mostafa kamal is on a distinguished road
hello everyone

i want some help as i want to map results from mesh to another mesh in openfoam but with different geometry and boundary conditions,so i found the utility mapfields so i run mapfields with the mapfieldsdict in the system folder

and the result was interpolated well to the other mesh.

but when i refine both meshes and try mapfields it gave me this error in the attached image.

i don't know why the mapfields utility failed!

i appreciate if someone help me.

the attached images are the error appeared to me and the mapfieldsdict.

note: phi isn't the flux, it is a volscalarfield i created in my own solver.
Attached Images
File Type: jpg mapping error.jpg (69.2 KB, 37 views)
File Type: png mapfieldsdict.png (54.4 KB, 32 views)
mostafa kamal is offline   Reply With Quote

Old   May 6, 2020, 00:26
Default
  #2
Member
 
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 11
Swift is on a distinguished road
Hi,


In the case for your target mesh, do you have a time folder "3"? Mapfields has to map between the same times in both source and target. I see from your error that the target time is "0"


From here:



Quote:
The field data that mapFields maps are those fields within the time directory specified by startFrom/startTime in the controlDict of the target case. The data is read from the equivalent time directory of the source case and mapped onto the equivalent time directory of the target case.
Regards,
Thomas
Swift is offline   Reply With Quote

Reply

Tags
different meshes, mapfields


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
mapFields utility rvl565 OpenFOAM Pre-Processing 2 December 29, 2019 08:01
Using the mapFields utility sweisenb OpenFOAM Pre-Processing 2 May 18, 2015 15:54
Difficulty with mapFields utility rnburne OpenFOAM Pre-Processing 0 June 2, 2014 16:33
The -parallel parameter of mapFields utility in OpenFOAM v2.3.0 shuoxue OpenFOAM Pre-Processing 1 April 28, 2014 05:59
mapFields utility openfoammaofnepo OpenFOAM 2 June 29, 2013 16:55


All times are GMT -4. The time now is 03:14.