|
[Sponsors] |
December 26, 2012, 02:22 |
wmake errors for new boundary condition
|
#1 |
New Member
Maosong Cheng
Join Date: Aug 2012
Posts: 19
Rep Power: 14 |
Hi FOAMers,
I compile my boundary condition, but it show errors. SOURCE=fields/fvPatchFields/derived/precursorMappedFixedValue/precursorMappedFixedValueFvPatchField.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mscheng/OpenFOAM/OpenFOAM-1.6-ext/src/triSurface/lnInclude -I/home/mscheng/OpenFOAM/OpenFOAM-1.6-ext/src/meshTools/lnInclude -IlnInclude -I. -I/home/mscheng/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/mscheng/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGcc46DPOpt/precursorMappedFixedValueFvPatchField.o fields/fvPatchFields/derived/precursorMappedFixedValue/precursorMappedFixedValueFvPatchField.C:40:6: error: redefinition of ‘void Foam:recursorMappedFixedValueFvPatchField<Type>: :mapField() [with Type = double]’ fields/fvPatchFields/derived/precursorMappedFixedValue/precursorMappedFixedValueFvPatchField.C:40:6: error: ‘void Foam:recursorMappedFixedValueFvPatchField<Type>: :mapField() [with Type = double]’ previously declared here fields/fvPatchFields/derived/precursorMappedFixedValue/precursorMappedFixedValueFvPatchField.C:195:1: error: redefinition of ‘Foam:recursorMappedFixedValueFvPatchField<Type> :recursorMappedFixedValueFvPatchField(const Foam::fvPatch&, const Foam:imensionedField<Type, Foam::volMesh>&) [with Type = double]’ fields/fvPatchFields/derived/precursorMappedFixedValue/precursorMappedFixedValueFvPatchField.C:195:1: error: ‘Foam:recursorMappedFixedValueFvPatchField<Type> :recursorMappedFixedValueFvPatchField(const Foam::fvPatch&, const Foam:imensionedField<Type, Foam::volMesh>&) [with Type = double]’ previously declared here |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |
Changing the name of a boundary condition produces errors | jorkolino | OpenFOAM Bugs | 2 | January 6, 2011 04:14 |
asking for Boundary condition in FLUENT | Destry | FLUENT | 0 | July 27, 2010 01:55 |