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

Solving After Mapping Fields

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2014, 21:58
Default Solving After Mapping Fields
  #1
New Member
 
Sohail
Join Date: Jul 2013
Posts: 10
Rep Power: 12
sohailr is on a distinguished road
Hello All,

I am having a problem with mapFields.

I want to map the solution from case 14 to case 1

I only have the "0" directory in case 1.

I issue blockMesh for case 1, then

I used the command "mapFields ../14/ -case ../1/ -sourceTime latestTime"
and it works fine. In my "0" folder of case 1, i see the non-uniform internal field with sources.

I then issue snappyHexMesh. Everything works file till here.

However when I try to run the solver, it gives me the error,
"size 2736000 is not equal to the given value of 2735450"

Can anyone help me out with this??

Thanks,
sohailr is offline   Reply With Quote

Old   April 3, 2014, 14:29
Default MapFields from Fine Mesh to Coarse Mesh
  #2
New Member
 
Sohail
Join Date: Jul 2013
Posts: 10
Rep Power: 12
sohailr is on a distinguished road
Hello All,

I wanted to know if its possible to map solution from a fine mesh onto a coarser mesh.
I tried using mapFields normally and it returned
"size _ is not equal to the given value of _"

Does anyone know how to do this?

Thanks,
sohailr is offline   Reply With Quote

Old   April 6, 2014, 14:52
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer:
  1. The before and after cases should be in different folders.
  2. You should run snappyHexMesh on the second case, before running mapFields.
wyldckat is offline   Reply With Quote

Reply

Tags
mapfields, mapfieldsdict, openfoam, size not equal

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 13:12
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


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