CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] swak4foam installation on OpenFOAM v2112

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2024, 07:06
Question swak4foam installation on OpenFOAM v2112
  #1
New Member
 
Li_Desheng
Join Date: Mar 2023
Posts: 4
Rep Power: 3
Li_Desheng is on a distinguished road
I need to use swak4foam in Open-foam for a project. But the compilation always gives error in the same spot. I couldn't find a solution for this problem. If anyone can help it would be extremely appreciated.



entryToExpression/entryToExpression.C -o Make/linux64GccDPInt32Opt/entryToExpression/entryToExpression.o
entryToExpression/entryToExpression.C: In static member function ‘static Foam::autoPtr<Foam::entryToExpression> Foam::entryToExpression::New(const Foam::word&)’:
entryToExpression/entryToExpression.C:55:5: error: ‘nothingConstructorTable’ is not a class, namespace, or enumeration
nothingConstructorTable::iterator cstrIter =
^~~~~~~~~~~~~~~~~~~~~~~
entryToExpression/entryToExpression.C:58:9: error: ‘cstrIter’ was not declared in this scope
if (cstrIter == nothingConstructorTablePtr_->end())
^~~~~~~~
entryToExpression/entryToExpression.C:58:9: note: suggested alternative: ‘strstr’
if (cstrIter == nothingConstructorTablePtr_->end())
^~~~~~~~
strstr
entryToExpression/entryToExpression.C:76:13: error: ‘cstrIter’ was not declared in this scope
cstrIter()()
^~~~~~~~
entryToExpression/entryToExpression.C:76:13: note: suggested alternative: ‘strstr’
cstrIter()()
^~~~~~~~
strstr
make: *** [/usr/lib/openfoam/openfoam2112/wmake/rules/General/transform:35: Make/linux64GccDPInt32Opt/entryToExpression/entryToExpression.o] Error 1
Parser library did not compile OK. No sense continuing as everything else depends on it

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occurred to 5 other people before and has been solved on the MessageBoard



Thank you!
Li_Desheng is offline   Reply With Quote

Old   April 4, 2024, 07:57
Default Installed successfully!
  #2
New Member
 
Li_Desheng
Join Date: Mar 2023
Posts: 4
Rep Power: 3
Li_Desheng is on a distinguished road
By reading this post, I learned how to install it in a higher version of openFoam.
Thank you so much to everyone who contributed to this post:

OpenFOAM 9 compatible with Swak4FOAM

The steps are as follows:

hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam
cd swak4Foam
hg update develop
./AllwmakeAll
Li_Desheng 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
[swak4Foam] Swak4FOAM installation for OpenFOAM v1806 exx110 OpenFOAM Community Contributions 1 July 5, 2021 20:07
[swak4Foam] swak4foam >>>> INSTALLATION PROBLEM steven123 OpenFOAM Community Contributions 35 January 11, 2021 16:53
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
[Discussion] Restructuring the Installation page at openfoamwiki.net wyldckat OpenFOAM Installation 16 November 2, 2013 11:43
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55


All times are GMT -4. The time now is 13:28.