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

Search Results

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

Showing results 1 to 16 of 16
Search took 0.00 seconds.
Search: Posts Made By: bigphil
Forum: OpenFOAM Programming & Development August 3, 2011, 08:31
Replies: 31
Views: 8,209
Posted By bigphil
No Problem, Hopefully your solver works out...

No Problem,

Hopefully your solver works out for you!

Philip
Forum: OpenFOAM Programming & Development August 2, 2011, 09:59
Replies: 31
Views: 8,209
Posted By bigphil
Alex, You have to run your solver in your...

Alex,


You have to run your solver in your case directory (not the solver source code directory). The solver is looking for the controlDict file in the system directory of your case.

You...
Forum: OpenFOAM Programming & Development August 2, 2011, 07:53
Replies: 31
Views: 8,209
Posted By bigphil
Alex, From the output shown, your solver...

Alex,


From the output shown, your solver has compiled. The last line "-o /home/user/OpenFOAM/user-1.7.1/applications/bin/linux64GccDPOpt/alex" shows that your solver executable called alex has...
Forum: OpenFOAM Programming & Development August 2, 2011, 06:30
Replies: 31
Views: 8,209
Posted By bigphil
Alex, OK createRASTurbulence.H is not in...

Alex,


OK createRASTurbulence.H is not in the default twoPhaseEulerFoam, so presumably you are trying to use the createRASTurbulence.H from bubbleFoam..?

If that is the case then add the...
Forum: OpenFOAM Programming & Development August 2, 2011, 05:43
Replies: 31
Views: 8,209
Posted By bigphil
Alex, hmmnn could you paste the output of...

Alex,

hmmnn could you paste the output of "wclean; wmake" here so I can see?

If you want you can email me your solver and I can try compile it myself (philip DOT cardiff AT ucd DOT ie).
...
Forum: OpenFOAM Programming & Development August 1, 2011, 13:36
Replies: 31
Views: 8,209
Posted By bigphil
Alex, Try "wclean" and then "wmake", this...

Alex,

Try "wclean" and then "wmake", this will make wmake look for all the files for the solver again, it may help.

Philip
Forum: OpenFOAM Programming & Development July 29, 2011, 11:31
Replies: 31
Views: 8,209
Posted By bigphil
Alex, OK we're back to the original error...

Alex,

OK we're back to the original error that wmake cannot find some files. wmake looks in the directories specified in the solver Make/options file. What does your options file look like?
It...
Forum: OpenFOAM Programming & Development July 29, 2011, 11:08
Replies: 31
Views: 8,209
Posted By bigphil
Oh and also I just realises why "wmake libso...

Oh and also I just realises why "wmake libso phaseModels" didn't work, it is because the library directory is called phaseModel not phaseModels.

So "wmake libso phaseModel" will work in the solver...
Forum: OpenFOAM Programming & Development July 29, 2011, 10:59
Replies: 31
Views: 8,209
Posted By bigphil
Great, that means it compiled fine. Now...

Great, that means it compiled fine.

Now compile the other two libraries and then the solver.

Philip
Forum: OpenFOAM Programming & Development July 29, 2011, 10:52
Replies: 31
Views: 8,209
Posted By bigphil
Hmnnn yes strange, OK try: cd phaseModels ...

Hmnnn yes strange, OK try:

cd phaseModels
wmake libso

Philip
Forum: OpenFOAM Programming & Development July 29, 2011, 10:42
Replies: 31
Views: 8,209
Posted By bigphil
Alex, you should be in the directory above...

Alex,

you should be in the directory above the library when you execute wmake libso phaseModels (ie you should be in the twoPhaseEulerFoam directory where Allwmake is when you execute wmake libso...
Forum: OpenFOAM Programming & Development July 29, 2011, 10:08
Replies: 31
Views: 8,209
Posted By bigphil
Alex, OK it is a permissions problem, wmake...

Alex,

OK it is a permissions problem, wmake is trying to put the compiled libraries in a directory for which you do not have permission.
So to fix it, we just have to tell wmake to put the...
Forum: OpenFOAM Programming & Development July 29, 2011, 09:43
Replies: 31
Views: 8,209
Posted By bigphil
Alex, If you try: wmake libso phaseModel ...

Alex,

If you try: wmake libso phaseModel
and then paste the output here, and I will see if anything looks strange.

By the way, did twoPhaseEulerFoam compile correctly before you made...
Forum: OpenFOAM Programming & Development July 29, 2011, 09:04
Replies: 31
Views: 8,209
Posted By bigphil
Alex, OK try to compile each part separately...

Alex,

OK try to compile each part separately to see if we can isolate the problem, so if you look in the Allwmake script (using a text editor like emacs) you will see:

wmake libso phaseModel...
Forum: OpenFOAM Programming & Development July 29, 2011, 06:26
Replies: 31
Views: 8,209
Posted By bigphil
Oh OK, you need to use "./Allwmake" (ie not...

Oh OK, you need to use "./Allwmake" (ie not "Allwmake"). The dot forward slash uses the Allwmake in the current directory.

Philip
Forum: OpenFOAM Programming & Development July 29, 2011, 05:48
Replies: 31
Views: 8,209
Posted By bigphil
Hi, You are correct "wmake libso" is used...

Hi,


You are correct "wmake libso" is used to compile a dynamic library but wmake needs to know the location of all the header files. Also you need to be inside the library directory when you...
Showing results 1 to 16 of 16

 
Forum Jump

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