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

Compiling a new solver: what's this error?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2015, 05:36
Default Compiling a new solver: what's this error?
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
Dear All,

I am trying to figure out how to comppile a new solver..

..Actually, running the "wmake" command, I get error in the attached file.

Any help, please?

Thanks a lot,
Samuele
Attached Files
File Type: gz make.log.tar.gz (4.5 KB, 17 views)
samiam1000 is offline   Reply With Quote

Old   May 21, 2015, 16:20
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Samuele,

The first error is essentially this one:
Code:
createFields.H:13:5:   required from here
/home/szampini/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/GeometricBoundaryField.C:173:45: error: ‘set’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         set(patchi, btf[patchi].clone(field));
After looking at the remaining error messages, I've got a feeling that the problem is due to an incorrect file name that was included somewhere in your application. Something as simple as using this:
Code:
#include "char.h"
instead of this:
Code:
#include "Char.H"
is enough to break the compilation process.

Without access to the source code, it's too hard to help you diagnose the problem.
I suggest that you take a look at the solvers in which your current solver was based on and compare each file, to see what was modified and what might be wrong.

Best regards,
Bruno
samiam1000 and sharonyue like this.
__________________
wyldckat is offline   Reply With Quote

Old   May 22, 2015, 02:58
Default
  #3
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
Thanks a lot Bruno,

I'll dig into the code.

Samuele
samiam1000 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] an error in Calculator's equation immortality ParaView 12 June 29, 2021 00:10
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 05:34
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 20:30


All times are GMT -4. The time now is 09:29.