|
[Sponsors] |
[swak4Foam] Error with mapFields using a groovyBC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 6, 2016, 11:28 |
Error with mapFields using a groovyBC
|
#1 |
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15 |
Hi
I am mapping a domain, where originally I have a BC where I use groovyBC. Once it is mapped, some errors can appear, that I can solve just replacing my groovyBC with a fixedValue. The problem is, that after I map, and I reinsert my groovyBC, the solver gives me an error like this: Code:
--> FOAM FATAL IO ERROR: compound has already been transfered from token on line 2880035 the empty compound of type List<scalar> file: /case3D_URANS/0/T.boundaryField.cylWall.value at line 2880035. From function token::transferCompoundToken(const Istream& is) in file lnInclude/token.C at line 103. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::IOerror::abort() at ??:? #2 Foam::token::transferCompoundToken(Foam::Istream const&) at ??:? #3 Foam::Istream& Foam::operator>><double>(Foam::Istream&, Foam::List<double>&) at ??:? #4 Foam::Field<double>::Field(Foam::word const&, Foam::dictionary const&, int) at ??:? #5 Foam::groovyBCFvPatchField<double>::groovyBCFvPatchField(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #6 Foam::fvPatchField<double>::adddictionaryConstructorToTable<Foam::groovyBCFvPatchField<double> >::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #7 Foam::fvPatchField<double>::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #8 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::readField(Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #9 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields(Foam::dictionary const&) at ??:? #10 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields() at ??:? #11 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::fvMesh const&) at ??:? #12 at ??:? #13 __libc_start_main at ??:? #14 at ??:? Aborted Thank you! PS: I attach the original file and the final one |
|
October 6, 2016, 20:33 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Is this the first time you tried mapFields and it doesn't work or did you do this before and this is the first time that it doesn't work?
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
October 7, 2016, 09:46 |
|
#3 |
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15 |
Hi, thanks for your answer.
I have used before mapFields before without problem, but previously I had no groovyBC's in my cases. At the end, it seems I did a mistake over there, so I was messing up the file. Today I have tried to do the same, but in two steps (so, from 1 cell depth to 8, and then to 32), I used fixedValue at the very begining, and I edited again my BC's. Now it seems to work. |
|
October 7, 2016, 10:11 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
If there is a report in the swak bug-tracker it would help my memory
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] How to mapFields with groovyBC? | xuegy | OpenFOAM Community Contributions | 0 | June 1, 2017 16:57 |
[swak4Foam] Change in alpha and U with groovyBC in twoPhaseEulerFoam | dani2702 | OpenFOAM Community Contributions | 0 | November 17, 2016 03:30 |
[swak4Foam] groovyBC issue - k and epsilon | sagnikmazumdar | OpenFOAM Community Contributions | 24 | March 1, 2015 07:16 |
Strange random behaviour of mapFields | blaise | OpenFOAM Pre-Processing | 0 | November 3, 2014 09:37 |
[swak4Foam] groovyBC and Eqn.setReference() | benk | OpenFOAM Community Contributions | 3 | June 2, 2011 08:49 |