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

installing funkySetFields utility for OpenFOAM 1.4.1

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 26, 2009, 10:48
Default installing funkySetFields utility for OpenFOAM 1.4.1
  #1
New Member
 
ozie
Join Date: Jun 2009
Posts: 4
Rep Power: 8
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, 05:02
Default Solution to install funkySetFiel
  #2
New Member
 
Brugiere Olivier
Join Date: Mar 2009
Posts: 27
Rep Power: 8
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
brugiere_olivier is offline   Reply With Quote

Old   June 29, 2009, 12:03
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
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, 12:07
Default
  #4
Senior Member
 
isabel
Join Date: Apr 2009
Location: Spain
Posts: 171
Rep Power: 8
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, 12:21
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
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, 08:40
Default executing in openfoam 1.7.x
  #6
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 6
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, 09:44
Default
  #7
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
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, 10:06
Default FSF application for free surface flow
  #8
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 6
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, 11:16
Default
  #9
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing funkySetFields prapanj OpenFOAM Installation 61 July 5, 2011 11:35


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