CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

wmake errors for new boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 26, 2012, 01:22
Default wmake errors for new boundary condition
  #1
New Member
 
Maosong Cheng
Join Date: Aug 2012
Posts: 19
Rep Power: 13
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

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Radiation interface hinca CFX 15 January 26, 2014 17: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 03:14
asking for Boundary condition in FLUENT Destry FLUENT 0 July 27, 2010 00:55


All times are GMT -4. The time now is 19:38.