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

mapFields error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2014, 05:54
Question mapFields error
  #1
New Member
 
Blaž Mikuž
Join Date: Sep 2011
Location: Ljubljana
Posts: 29
Rep Power: 14
bmikuz is on a distinguished road
Hi,

I'd like to map fields from first case to the second case, which has exactly the same geometry with a different boundary condition on the inlet and outlet. To be more specific, the first case has a fully hexa mesh and is using cyclic BC on the inlet&outlet whereas the second case has tetra mesh. Since in the second case the inlet and outlet mesh's faces cannot match conformaly, I've changed BC from cyclic to cyclicAMI.
Now, I'd like to map internal fields using the command:

mapFields ../firstCase/ -sourceTime latestTime

Since the cases have different BC, the consistant mapping is not possible. So, I've created mapFieldsDict and left patchMap and cuttingPatches blank in it.
What I got is the error:
--> FOAM FATAL ERROR:
Attempt to cast type cyclicAMI to type cyclic

From function refCast<To>(From&)
in file /home/r4/mikuz/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/typeInfo.H at line 114.

FOAM aborting
I've searched the forum and didn't find solution.
Any help or suggestion would be very appreciated!
bmikuz is offline   Reply With Quote

Old   August 18, 2014, 05:25
Default
  #2
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 159
Rep Power: 16
jhoepken is on a distinguished road
Send a message via Skype™ to jhoepken
Have you tried to change the boundary condition to e.g. fixedValue, run mapFields and then change it back to the original one?
__________________
Blog: sourceflux.de/blog
"The OpenFOAM Technology Primer": sourceflux.de/book
Twitter: @sourceflux_de
Interested in courses on OpenFOAM?
jhoepken is offline   Reply With Quote

Reply

Tags
cyclic, cyclicami, mapfields

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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 01:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 00:26.