CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

wmake error in solidDisplacementFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2020, 13:07
Unhappy wmake error in solidDisplacementFoam
  #1
New Member
 
Saga
Join Date: Nov 2020
Posts: 2
Rep Power: 0
chunmun is on a distinguished road
x86_64-w64-mingw32-g++ -m64 -std=c++11 -Dcygwin64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -DMSWIN -DLITTLE_ENDIAN -DMSWIN -DLITTLE_ENDIAN -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I. -IsolidDisplacementThermo -IderivedFvPatchFields/tractionDisplacement -IderivedFvPatchFields/hydrostaticDisplacement -I/opt/OpenFOAM/OpenFOAM-dev/src/thermophysicalModels/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-dev/src/thermophysicalModels/solidThermo/lnInclude -I/opt/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-dev/src/meshTools/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-dev/src/OSspecific/MSWindows/lnInclude -c tractionDisplacement/tractionDisplacementFvPatchVectorField.C -o Make/cygwin64mingw-w64DPInt32Opt/tractionDisplacement/tractionDisplacementFvPatchVectorField.o
tractionDisplacement/tractionDisplacementFvPatchVectorField.C: In constructor ‘Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVectorField(const Foam::tractionDisplacementFvPatchVectorField&, const Foam::fvPatch&, const Foam:imensionedField<Foam::Vector<double>, Foam::volMesh>&, const Foam::fvPatchFieldMapper&)’:
tractionDisplacement/tractionDisplacementFvPatchVectorField.C:64:38: error: no matching function for call to ‘Foam::Field<Foam::Vector<double> >::Field(const vectorField&, const Foam::fvPatchFieldMapper&)’
64 | pressure_(tdpvf.pressure_, mapper)
| ^
In file included from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.H:339,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/labelField.H:39,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/primitiveFields.H:37,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/pointField.H:36,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/edge.H:40,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/edgeList.H:32,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/PrimitivePatch.H:56,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/primitivePatch.H:35,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/polyPatch.H:43,
from /opt/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude/fvPatch.H:39,
from /opt/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude/fvPatchField.H:47,
from /opt/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude/fvPatchFields.H:29,
from tractionDisplacement/tractionDisplacementFvPatchVectorField.H:39,
from tractionDisplacement/tractionDisplacementFvPatchVectorField.C:26:
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:184:1: note: candidate: ‘Foam::Field<Type>::Field(const Foam::word&, const Foam::dictionary&, Foam::label) [with Type = Foam::Vector<double>; Foam::label = int]’
184 | Foam::Field<Type>::Field
| ^~~~
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:184:1: note: candidate expects 3 arguments, 2 provided
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:177:1: note: candidate: ‘Foam::Field<Type>::Field(Foam::Istream&) [with Type = Foam::Vector<double>]’
177 | Foam::Field<Type>::Field(Istream& is)
| ^~~~
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:177:1: note: candidate expects 1 argument, 2 provided
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:163:1: note: candidate: ‘Foam::Field<Type>::Field(const Foam::tmp<Foam::Field<Type> >&, const labelListList&, const scalarListList&) [with Type = Foam::Vector<double>; Foam::labelListList = Foam::List<Foam::List<int> >; Foam::scalarListList = Foam::List<Foam::List<double> >]’
163 | Foam::Field<Type>::Field
| ^~~~
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:163:1: note: candidate expects 3 arguments, 2 provided
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:149:1: note: candidate: ‘Foam::Field<Type>::Field(const Foam::UList<T>&, const labelListList&, const scalarListList&) [with Type = Foam::Vector<double>; Foam::labelListList = Foam::List<Foam::List<int> >; Foam::scalarListList = Foam::List<Foam::List<double> >]’
149 | Foam::Field<Type>::Field
| ^~~~
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:149:1: note: candidate expects 3 arguments, 2 provided
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:136:1: note: candidate: ‘Foam::Field<Type>::Field(const Foam::tmp<Foam::Field<Type> >&, const labelUList&) [with Type = Foam::Vector<double>; Foam::labelUList = Foam::UList<int>]’
136 | Foam::Field<Type>::Field
| ^~~~
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:139:23: note: no known conversion for argument 2 from ‘const Foam::fvPatchFieldMapper’ to ‘const labelUList&’ {aka ‘const Foam::UList<int>&’}

/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/PackedList.C:539:6: note: template argument deduction/substitution failed:
tractionDisplacement/tractionDisplacementFvPatchVectorField.C:210:27: note: ‘Foam::Ostream’ is not derived from ‘const Foam::PackedList<nBits>’
210 | writeEntry("value", os);
| ^
In file included from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/spatialTransform.H:203,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/septernion.H:46,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/transformField.H:40,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/transformer.H:45,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/coupledPolyPatch.H:41,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/processorPolyPatch.H:42,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/processorTopology.H:30,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/globalMeshData.H:84,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/GeometricBoundaryField.C:28,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/GeometricField.C:1619,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/GeometricField.H:717,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/GeometricScalarField.H:38,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/GeometricFields.H:34,
from /opt/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude/volFields.H:37,
from tractionDisplacement/tractionDisplacementFvPatchVectorField.C:28:
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/spatialTransformI.H:288:13: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, const Foam::spatialTransform&)’
288 | inline void writeEntry(Ostream& os, const spatialTransform& st)
| ^~~~~~~~~~
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/spatialTransformI.H:288:33: note: no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
288 | inline void writeEntry(Ostream& os, const spatialTransform& st)
| ~~~~~~~~~^~
make: *** [/opt/OpenFOAM/OpenFOAM-dev/wmake/rules/General/transform:26: Make/cygwin64mingw-w64DPInt32Opt/tractionDisplacement/tractionDisplacementFvPatchVectorField.o] Error 1
chunmun is offline   Reply With Quote

Old   December 16, 2020, 02:38
Default
  #2
Senior Member
 
duri
Join Date: May 2010
Posts: 245
Rep Power: 17
duri is on a distinguished road
Have you changed to source code?
pressure_(tdpvf.pressure_, mapper) there is no constructor available for this method. The source code I have is like this, pressure_(mapper(tdpvf.pressure)).
Some inconsistency in the code, if you are using git try to figure out the changes and revert back.
duri 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
[OpenFOAM.org] Not found many .so files when installing OpenFOAM 6 lengjun OpenFOAM Installation 2 December 12, 2022 23:08
Problems Installing OF 1.6 32 bit bucksfan OpenFOAM Installation 19 August 4, 2009 02:36
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41
Problem of compilation OF 14Allwmake command not found erik_d OpenFOAM Bugs 13 September 13, 2008 22:45
[OpenFOAM] ParaFoam error message joey ParaView 1 October 2, 2006 14:28


All times are GMT -4. The time now is 23:58.