Hello,
im relative new with palabos, but made some tutorials and get better. But now i have an problem and cannot get the solution…
I tryed to compile and simulate the aneurysm-code, with reading the geometry from an STL-file and the facts of simulation from an XML-file. I unpacked the STL-file, downloaded the CVMLCPP (for the sparse domain, like said in the user guide (btw: is this necassary?)) and build the code.
But i get everytime the same error in the terminal, when i start to run it:
"
Wrong parameters; the syntax is: E:…\palabos-v1.1r0\codeblocks\bin\Release\Palabos.exe parameter-input-file.xml
process returned - (0xFFFFFFFF) execution time : 0.039 s
"
I know, its from this lines in main:
int main(int argc, char* argv[])
{
plbInit(&argc, &argv);
global::directories().setOutputDir("./");
global::IOpolicy().activateParallelIO(false);
string paramXmlFileName;
try {
global::argv(1).read(paramXmlFileName);
}
catch (PlbIOException& exception) {
pcout << "Wrong parameters; the syntax is: "
<< (std::string)global::argv(0) << " parameter-input-file.xml"<<std::endl;
return -1;
}
[b]but i dont know, whats wrong. I tryed to rename the XML-file and replaced “paramXmlFileName” with these name, but nothing else hapend.
if i skip these “try” above, the terminal give me instead:[/b]
"
Error in input file : Palabos IO error: Problem processing input XML file
process returned -1 (0xFFFFFFFF) …
"
clear, its from:
try {
XMLreader document(paramXmlFileName);
readParameters(paramXmlFileName);
}
catch (PlbIOException& exception) {
pcout << "Error in input file " << paramXmlFileName
<< ": " << exception.what() << std::endl;
return -1;
}
but what does it means? Why they cant read the xml-file? does i need to rename something or download a other xml-reader? or shall i put the input file in an other direction?
I hope someone can help.
georg
ps: sry, for incorrect spellings!