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

error: ‘scalarField’ does not name a type

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2017, 11:51
Question error: ‘scalarField’ does not name a type
  #1
Member
 
Mohamed Elghorab
Join Date: May 2016
Location: Coventry, Engalnd
Posts: 41
Rep Power: 9
crazzy.pirate43 is on a distinguished road
Dear Foamer,

I'm trying to run new B.C in OpenFoam3.0.x and I have a lot of equation inside it but I faced some errors I tried to solve with many ways but no result. I'm defining a template in header file which will be used in the source file to calculate another parameter and this is the following : (pirate is the class name)

error: ‘scalarField’ does not name a type inline scalarField pirateFvPatchField<Type>::E

error: expected initializer before ‘<’ token inline void pirateFvPatchField<Type>::logDist_

so, if you please anyone know the reason just tell me?

Thanks in advance

Crazzy.pirate43
crazzy.pirate43 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] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
rhoPimpleFoam hardship petrus OpenFOAM Running, Solving & CFD 0 October 7, 2016 02:41
Simulation of Radial Fan with simpleFoam MRF nash OpenFOAM Running, Solving & CFD 2 November 5, 2015 10:12
interFoam/kOmegaSST tank filling with printStackError/Mules simpomann OpenFOAM Running, Solving & CFD 3 February 17, 2014 17:06
[swak4Foam] Air Conditioned room groovyBC Sebaj OpenFOAM Community Contributions 7 October 31, 2012 14:16


All times are GMT -4. The time now is 04:31.