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

[swak4Foam] and foam-extend 3.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2014, 18:46
Default and foam-extend 3.1
  #1
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
During swak4foam installation, I receive a terminal erros:
(I use ubuntu 12.04 with foam-extend)
My step-by-step:
1º STEP
Install the necessary packages:
Code:
sudo apt-get install build-essential bison flex subversion git mercurial wget
2º STEP
Download from the repository (inside foam-extend directory)
HTML Code:
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam swak4Foam
(cd swak4Foam && hg update port_2.0.x)
3º STEP
Code:
cd swak4Foam
4º STEP
Code:
./Allwmake
AND GIVES THE FOLLOWING ERROR...:

Code:
 
a@a-Aspire-V3-571:~/swak4Foam$ ./Allwmake
Previously compiled for OpenFOAM 
No file 'swakConfiguration'. Python etc won't work. See README for details
Checking swak4Foam-version and generating file
abort: no repository found in '/home/a/swak4Foam' (.hg not found)!
Swak version is 0.3.1
./Allwmake: line 60: wmake: command not found

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 occured to 5 other people before and has been solved on the MessageBoard
Anyone know how to fix it?

THANKS FRIENDS FOR ALL ATTENTION!
vitorspadeto is offline   Reply With Quote

Old   July 16, 2014, 19:08
Red face
  #2
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
I have openfoam 2.3.0 installed too (in my ubuntu 12.04, on ubuntu 14.04 give the same error). I executed the same procedure, but the terminal gives me this error when I typed ./Allwmake:


Code:
a@a-Aspire-V3-571:~/swak4_diverses/swak4Foam$ ./Allwmake
This is a clean install
No file 'swakConfiguration'. Python etc won't work. See README for details
Checking swak4Foam-version and generating file
Swak version is 0.3.2
Contents of ./maintainanceScripts/../Libraries/swak4FoamParsers/include/swakVersion.H differ ... writing
./Allwmake: line 60: wmake: command not found

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 occured to 5 other people before and has been solved on the MessageBoard
a@a-Aspire-V3-571:~/swak4_diverses/swak4Foam$
Help me guys, I must install swak4foam! thanks for all!
vitorspadeto is offline   Reply With Quote

Old   July 16, 2014, 19:35
Default
  #3
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
I got sucess... To install swak4foam, It is necessary onw thing: remove "alias" from variables into bashrc

alias fe31='source $HOME/foam/foam-extend-3.1/etc/bashrc' gives the error above


removing alias:
source $HOME/foam/foam-extend-3.1/etc/bashrc


after remove it, ./Allwmake works!!!

after allwmake finished and checking the version of swak4foam:

Code:
a@a-Aspire-V3-571:~$ funkySetFields
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | foam-extend: Open Source CFD                    |
|  \\    /   O peration     | Version:     3.1                                |
|   \\  /    A nd           | Web:         http://www.extend-project.de       |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build    : 3.1-f77b4801a214
Exec     : funkySetFields
Date     : Jul 16 2014
Time     : 20:28:03
Host     : a-Aspire-V3-571
PID      : 29818
CtrlDict : /home/a/foam/foam-extend-3.1/etc/controlDict
Case     : /home/a
nProcs   : 1
SigFpe   : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
swakVersion: 0.3.1 (Release date: 2014-07-11)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


--> FOAM FATAL ERROR: 
funkySetFields: time/latestTime option is required


    From function main()
    in file funkySetFields.C at line 643.

FOAM exiting
vitorspadeto 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
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 02:21
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


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