Hi I am using the OpenFOAM
I am using the OpenFOAM standard solvers for some now and did also modify them slightly and recompile. In order to understand the capabilities of OpenFOAM a little better I am about to build my own solver including lagrangian particles. But when I include some code used in "dieselSpray" or Bernhard Gschaider's "icoLagrangianFoam" I get the error message:
Make/linuxGccDPOpt/lagrangianFoam.o: In function `Foam::IOPtrList<foam::particleinjector>::type() const':
lagrangianFoam.Chttp://www.cfd-online.com/OpenFOAM_D...lipart/sad.gif.text._ZNK4Foam9IOPtrListINS_16particleInjectorEE4 typeEv[Foam::IOPtrList<foam::p articleinjector>::type() const]+0x11): undefined reference to `Foam::IOPtrList<foam::particleinjector>::typeName '
when using a IOPtrList.
I did #include "IOPtrList.H" in the header file and my options file looks like
EXE_INC = \
EXE_LIBS = \
what is going wrong?
hi, i am not sure but as fa
i am not sure but as far as i remember the injector is part of the lagrangian/dieselspray and not of lagrangian/basic. that would explain the undef. ref. .
Hi Andreas, As far as I can t
As far as I can tell, there is a class in your code, called "particleinjector" for which I could not find any reference in OpenFOAM. Is this class developed by you?
If it is, you need to include the object particleinjector.o in your options file.
Thx As Dragos suspected "pa
As Dragos suspected "particleInjector" is a self defined class so no need to include "lagrangian/dieselspray". So I will try to include the objectfile.
|All times are GMT -4. The time now is 11:56.|