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
|