1 Attachment(s)
The version was 0.2.3 (next to last according to Swak4Foam-Wiki) and suitable to OF up to 2.2 (2.1 is the one I use).
Now I've got v0.2.4 (release, available via svn, must be the latest one), but the errors are still there. There are also a couple of other error related to openmpi (see attachment for the full log) Code:
/home/shevchuk/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/openmpi-system/libPstream.so: undefined reference to `MPI_Waitall' Best regards, Ilya |
Quote:
What version of Linux are you using? |
Thanks Bernhard,
the problem was indeed somewhere else. I was looking for it for a while with our admin, who takes care of the cluster. Finally, his conclusion was that the openmpi installed on the cluster was compiled with intel compiler while OF uses gcc. However, compiling ThirdPartys and src's caused no errors, these errors occurred only while compiling some application and swak4foam. After recompiling the openmpi with gcc, everything was ok. Nevertheless, the warnings Quote:
Thank you for the hints and best regards, Ilya |
groovyBC problems
Hi guys,
it's my first time using groovyBC and I'm trying to set up a parabolic profile of inlet velocity. What I'm doing is editing the U file to have the following code for inlet Code:
inlet Code:
libs ("libOpenFOAM.so" Code:
Create time |
Hi Bernhard,
I use openfoam/2.3.0 on a virtual machine (MASSIVE). I try to implement a zero flux condition via swaf4foam. I have swak4foam/2.3.0. I guess it is well installed as the answer to the command module show swak4foam/2.3.0 ------------------------------------------------------------------- /usr/local/Modules/modulefiles/swak4foam/2.3.0: conflict swak4foam module load openfoam/2.3.0 module load bison module-whatis An OpenFOAM library that combines the functionality of groovyBC (boundary conditions) and funkySetFields (set fields) (v2.3.0) prepend-path LD_LIBRARY_PATH /usr/local/swak4foam/2.3.0/lib prepend-path PATH /usr/local/swak4foam/2.3.0/bin prepend-path MANPATH /usr/local/swak4foam/2.3.0/man setenv GCONV_PATH /usr/lib64/gconv/ setenv SWAK4FOAM_SRC /usr/local/swak4foam/2.3.0/Libraries ------------------------------------------------------------------- So the installation seems to be complete. When I try to set up the path of the plug-in libs ( "libgroovyBC.so" ); I have a FOAM:WARNING --> FOAM Warning : From function dlOpen(const fileName&, const bool) in file POSIX.C at line 1179 dlopen error : libgroovyBC.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function dlLibraryTable::open(const fileName&, const bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99 could not load "libgroovyBC.so" The foam warning doesn't stop the program as this isn't a fatal error. But I need to use this groovyBC for my boundary condition. My boundary condition is: upperWall { type groovyBC; value uniform (0 0 0); valueExpression "0.001*T-DT*fvc::snGrad(T)" } And as expected I now have a fatal error: --> FOAM FATAL IO ERROR: Unknown patchField type groovyBC for patch type patch Valid patchField types are :....... Do you have any idea how I can solve this problem? Why do I receive a foam warning for the .so file while swak4foam is apparently well installed. |
groovyBC or codedfixedValue
Hello Foamers,
I want to implement a boundary condition at electrode. N_P= K * Efield * N_P I am solving following equation with modified pisoFoam. (fvm::ddt(N_P)) + (fvm::div(phi+(K*Efield), N_P)) and for the electrode, I have to implent following BC, N_P = K * Efield * N_P. so my BC condition will change with every time step. In this equation N_P and Efield " need to be taken from electrode at previous time step and K is dimensionedScalar fix value 1. Should I have to used codedfixed BC or some other BC? I have also trying groovyBC but I am failed. is there anyone know how to implemrnt this BC? Thanks in advance. |
All times are GMT -4. The time now is 21:51. |