CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

wmake errors for new boundary condition

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

LinkBack Thread Tools Display Modes
Old   December 26, 2012, 02:22
Default wmake errors for new boundary condition
New Member
Maosong Cheng
Join Date: Aug 2012
Posts: 19
Rep Power: 7
mscheng is on a distinguished road
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
mscheng is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 45 February 8, 2016 05:42
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 04: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 00:55

All times are GMT -4. The time now is 16:39.