CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   installing funkySetFields utility for OpenFOAM 1.4.1 (http://www.cfd-online.com/Forums/openfoam/65809-installing-funkysetfields-utility-openfoam-1-4-1-a.html)

ozie June 26, 2009 10:48

installing funkySetFields utility for OpenFOAM 1.4.1
 
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,

brugiere_olivier June 29, 2009 05:02

Solution to install funkySetFiel
 
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

gschaider June 29, 2009 12:03

Quote:

Originally Posted by ozie (Post 220628)
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

isabel June 29, 2009 12:07

When I try to execute FunkySetField I have this error:

bash: funkySetFields: command not found

Does anybody know why?

gschaider June 29, 2009 12:21

Quote:

Originally Posted by isabel (Post 220842)
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

MOHAMMAD67 September 8, 2011 08:40

executing in openfoam 1.7.x
 
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?

gschaider September 8, 2011 09:44

Quote:

Originally Posted by MOHAMMAD67 (Post 323408)
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

MOHAMMAD67 September 8, 2011 10:06

FSF application for free surface flow
 
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).

gschaider September 8, 2011 11:16

Quote:

Originally Posted by MOHAMMAD67 (Post 323424)
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


All times are GMT -4. The time now is 15:04.