|
[Sponsors] |
July 15, 2014, 12:49 |
mapFields for 3D
|
#1 |
New Member
Praveen Srikanth
Join Date: Jul 2012
Location: West Lafayette, IN
Posts: 23
Rep Power: 14 |
Hey,
I am trying to use mapFields on a cylindrical capillary mesh to transfer fields from a coarse mesh to a finer mesh. My solver is interFoam. mapFields runs to completion when I just use the command mapFields with an empty mapFieldsDict file but when I start the solver I get the following error Code:
--> FOAM FATAL ERROR: valueInternalCoeffs cannot be called for a calculatedFvPatchField on patch INLET1 of field alpha.water in file "/var/scratch/psrikant/c120_v4_0_flush_450000/1/alpha.water" You are probably trying to solve for a field with a default boundary condition. From function calculatedFvPatchField<Type>::valueInternalCoeffs(const tmp<scalarField>&) const in file /home/roger/a/psrikant/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/calculatedFvPatchField.C at line 154. FOAM exiting When I run mapFields with the -consistent option as the geometry is the same I get the following error Code:
--> FOAM FATAL ERROR: Not Implemented Trying to construct an genericFvPatchField on patch INLET2 of field meshToMesh:interpolate(alpha.water) From function genericFvPatchField<Type>::genericFvPatchField(const fvPatch& p, const DimensionedField<Type, volMesh>& iF) in file genericFvPatchField/genericFvPatchField.C at line 44. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::error::abort() in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 Foam::genericFvPatchField<double>::genericFvPatchField(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&) in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib/libgenericPatchFields.so" #3 Foam::fvPatchField<double>::addpatchConstructorToTable<Foam::genericFvPatchField<double> >::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&) in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib/libgenericPatchFields.so" #4 Foam::fvPatchField<double>::New(Foam::word const&, Foam::word const&, Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&) in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/mapFields" #5 in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/mapFields" #6 in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/mapFields" #7 in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/mapFields" #8 in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/mapFields" #9 in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/mapFields" #10 in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/mapFields" #11 in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/mapFields" #12 __libc_start_main in "/lib64/libc.so.6" #13 in "/home/psrikant/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/mapFields" Aborted (core dumped) Please help me out here. Thank you very much in advance. |
|
July 15, 2014, 16:38 |
|
#2 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18 |
hello,
Seems that there is some bug with mapFields in OF 2.3 (mapFields has been rewriten in this version). Don't be lazy like me, and try to make a bug report on the tracker. Anyway, actually i am using mapField from OF 2.2, and all other tools/solver with 2.3. regards, olivier |
|
July 15, 2014, 17:48 |
|
#3 |
New Member
Praveen Srikanth
Join Date: Jul 2012
Location: West Lafayette, IN
Posts: 23
Rep Power: 14 |
Hey Olivier,
Thank you very much for the reply. I had no idea there was a bug. It works fine with 2.2. Saved a ton of time for me. And yes I will try to make a bug report soon when I get the time. Thanks again Best, Praveen |
|
February 17, 2015, 06:23 |
mapField from 2.2 on Ubuntu 14.04?
|
#4 |
New Member
Tristan Clarenc
Join Date: Apr 2011
Posts: 1
Rep Power: 0 |
Hi guys,
Did you already try this option along with Ubuntu 14? I'm not able to solve with the dependencies issues when trying to compile 2.2 on latest UBUNTU LTS. If any idea, you're welcome! Tristan |
|
Tags |
interfoam, mapfields, openfoam 2.3 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issues with mapFields | BlackBoatNavArch | OpenFOAM Pre-Processing | 38 | May 28, 2021 17:29 |
implementation of mapFields into parallel transient case | simpomann | OpenFOAM Pre-Processing | 4 | August 2, 2016 05:41 |
The -parallel parameter of mapFields utility in OpenFOAM v2.3.0 | shuoxue | OpenFOAM Pre-Processing | 1 | April 28, 2014 06:59 |
Zero Pressure with mapFields | ignacio | OpenFOAM Running, Solving & CFD | 0 | May 24, 2013 10:43 |
mapFields problem | martyn88 | OpenFOAM | 1 | November 8, 2012 14:42 |