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

[swak4Foam] installing funkySetFields utility for OpenFOAM 1.4.1

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By brugiere_olivier

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2009, 11:48
Default installing funkySetFields utility for OpenFOAM 1.4.1
  #1
New Member
 
ozie
Join Date: Jun 2009
Posts: 4
Rep Power: 16
ozie is on a distinguished road
Hello everybody,

I`am new to OpenFOAM. I just tired to compile funkysetField utility. And i had the error message below;


funkySetFields.C:43:26: error: timeSelector.H: Aucun fichier ou répertoire de ce type
funkySetFields.C: In function ‘int main(int, char**)’:
funkySetFields.C:193: error: ‘Foam::timeSelector’ has not been declared
funkySetFields.C:220: error: ‘Foam::timeSelector’ has not been declared
make: *** [Make/linuxGccDPOpt/funkySetFields.o] Erreur 1

So I checked funkySetFields.C. And I noticed that timeSelector.H is needed to run this program. Indeed, this file doesn`t exist among the funkySetFields files therby causing errors...

Does anyone could tell me how to find timeSelector.H, or maybe am I doing something wrong when compiling funkySetField?

oguz,
ozie is offline   Reply With Quote

Old   June 29, 2009, 06:02
Default Solution to install funkySetFiel
  #2
Member
 
Brugiere Olivier
Join Date: Mar 2009
Posts: 34
Rep Power: 17
brugiere_olivier is on a distinguished road
Hi all

If you want install funkySetFiel, follow this step :
- go to http://openfoamwiki.net/index.php/Co...funkySetFields
- read the step seven and use the "svn checkout" command to have the funkySetFields
- check if you have bison with bison -V
- then go in the FunkySetFields/funkySetFields
- ./insertGenerated.sh
- wmake

And normaly funkySetFields was completly instal.

Olivier
salarbe likes this.
brugiere_olivier is offline   Reply With Quote

Old   June 29, 2009, 13:03
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by ozie View Post
Hello everybody,

I`am new to OpenFOAM. I just tired to compile funkysetField utility. And i had the error message below;


funkySetFields.C:43:26: error: timeSelector.H: Aucun fichier ou répertoire de ce type
funkySetFields.C: In function ‘int main(int, char**)’:
funkySetFields.C:193: error: ‘Foam::timeSelector’ has not been declared
funkySetFields.C:220: error: ‘Foam::timeSelector’ has not been declared
make: *** [Make/linuxGccDPOpt/funkySetFields.o] Erreur 1

So I checked funkySetFields.C. And I noticed that timeSelector.H is needed to run this program. Indeed, this file doesn`t exist among the funkySetFields files therby causing errors...

Does anyone could tell me how to find timeSelector.H, or maybe am I doing something wrong when compiling funkySetField?
Obviously you're trying to compile the 1.5-version. This won't work on 1.4.1. Have a look at http://openfoamwiki.net/index.php/Co...ields#Download to get a version of FSF that is right for your installation

Bernhard
gschaider is offline   Reply With Quote

Old   June 29, 2009, 13:07
Default
  #4
Senior Member
 
isabel
Join Date: Apr 2009
Location: Spain
Posts: 171
Rep Power: 16
isabel is on a distinguished road
When I try to execute FunkySetField I have this error:

bash: funkySetFields: command not found

Does anybody know why?
isabel is offline   Reply With Quote

Old   June 29, 2009, 13:21
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by isabel View Post
When I try to execute FunkySetField I have this error:

bash: funkySetFields: command not found

Does anybody know why?
No. There are 2 possibilities:
  1. It did not compile correctly in the first place
  2. It was not stored into a directory that is in the PATH-environment-variable (one cause might be: compilation under another username)
Bernhard
gschaider is offline   Reply With Quote

Old   September 8, 2011, 09:40
Default executing in openfoam 1.7.x
  #6
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 14
MOHAMMAD67 is on a distinguished road
Send a message via Skype™ to MOHAMMAD67
Hi bernard
I download it in a folder swake4foam in the home directory. what should I do to run funkysetField? ( I'm new to linux and openfoam)

Is funkysetField able to set free surface flow in pipe?
MOHAMMAD67 is offline   Reply With Quote

Old   September 8, 2011, 10:44
Default
  #7
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by MOHAMMAD67 View Post
Hi bernard
I download it in a folder swake4foam in the home directory. what should I do to run funkysetField? ( I'm new to linux and openfoam)

Is funkysetField able to set free surface flow in pipe?
swak4Foam won't work with OF 1.4.1, sorry.

If you're using a supported version and only posted in an inappropriate thread: the information you need about compiling is just at the top of the README

funkySetFields allows you to set arbitrary initial conditions for your problems (see examples on the funkySetFields-page on the OpenFOAM-Wiki)

Bernhard
gschaider is offline   Reply With Quote

Old   September 8, 2011, 11:06
Default FSF application for free surface flow
  #8
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 14
MOHAMMAD67 is on a distinguished road
Send a message via Skype™ to MOHAMMAD67
Thanks bernard
I use openfoam 1.7.x. I could successfully run funkesetfield for dambreak. But I don't know how to make it for free surface flow for a problem like pitzdaily(discussed in this thread).
MOHAMMAD67 is offline   Reply With Quote

Old   September 8, 2011, 12:16
Default
  #9
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by MOHAMMAD67 View Post
Thanks bernard
I use openfoam 1.7.x. I could successfully run funkesetfield for dambreak. But I don't know how to make it for free surface flow for a problem like pitzdaily(discussed in this thread).
I'm not quite sure what you mean with "free surface flow". You mean a VOF-calculation? In that case FSF can only help you by setting the initial conditions (for alpha for instance). The actual calculation has to be done with the appropriate solver (interFoam for instance)

Bernhard
gschaider is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
[swak4Foam] installing funkySetFields prapanj OpenFOAM Community Contributions 65 October 8, 2015 18:46
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
Something doens't work with wallHeatFlux utility or externalWallHeatFluxTemperat BC!! zfaraday OpenFOAM Post-Processing 0 February 5, 2015 17:47
[swak4Foam] installing funkySetFields igo OpenFOAM Community Contributions 1 November 20, 2012 21:16


All times are GMT -4. The time now is 19:44.