|
[Sponsors] |
July 1, 2006, 03:57 |
external file
|
#1 |
Guest
Posts: n/a
|
haw to use an external file?? I have ane verible (let say ksi) which I`d like to have as an external verible. I define ksi:
#include "udf.h"; DEFINE SOURCE(..............) { external real ksi; ksi = a+b+c return ksi; } in another udf I put in header: #include "udf.h"; #include "extfile.h"; DEFINE PROPERTY (.......) { real rho; rho = 1 + ksi; return rho; } Following error is return in Fluent window: cannot open include file : "extfile.h"; no such file or directory Why?? how to fix it?? |
|
November 14, 2009, 07:16 |
|
#2 |
Senior Member
Herman
Join Date: Nov 2009
Posts: 122
Rep Power: 16 |
Hi Greg,
I have the same problem that you had some years ago. Do you solve that problem? how? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CGNS Compiling | Diego | Main CFD Forum | 17 | December 21, 2014 01:40 |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 16:46 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 | BlGene | OpenFOAM Meshing & Mesh Conversion | 10 | August 6, 2009 04:26 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 15:16 |