CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Define new thermotype in OF2.2.1 (https://www.cfd-online.com/Forums/openfoam-solving/123881-define-new-thermotype-of2-2-1-a.html)

zqlhzx September 23, 2013 09:41

Define new thermotype in OF2.2.1
 
1 Attachment(s)
Hi foamer:
I want to define a new type like this:
Quote:

thermoType
{
type hePsiThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
energy absoluteEnthalpy;
equationOfState perfectGas;
specie specie;
}
I have built a new library defines new thermotype(The new library is came from a kinds foamer on cfdonline,and I modified it).But when I run my case ,it gives me error:
Quote:

FOAM Warning :
From function dlOpen(const fileName&, const bool)
in file POSIX.C at line 1179
dlopen error : /home/administrator/OpenFOAM/administrator-2.2.1/platforms/linuxGccDPOpt/lib/libmyThermos.so: undefined symbol: _ZN4Foam15chemistryReaderINS_19sutherlandTransport INS_7species6thermoINS_11janafThermoINS_10perfectG asINS_6specieEEEEENS_16absoluteEnthalpyEEEEEE30dic tionaryConstructorTablePtr_E
--> FOAM Warning :
From function dlLibraryTable::open(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libmyThermos.so"
Does anyone know what's problem? I think it is related to chemistryReader class,but I do not know how to solver it .
here is my attachment.Attachment 25555

zqlhzx September 25, 2013 01:04

Could some kinds foamers help me ?Please!


All times are GMT -4. The time now is 05:06.