CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   mapFields error (https://www.cfd-online.com/Forums/openfoam-pre-processing/140119-mapfields-error.html)

bmikuz August 8, 2014 05:54

mapFields error
 
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!

jhoepken August 18, 2014 05:25

Have you tried to change the boundary condition to e.g. fixedValue, run mapFields and then change it back to the original one?


All times are GMT -4. The time now is 23:45.